Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.1_cpp_Modelica.Electrical.Machines.Examples.SMEE_Generator.conf.json Using package ModelicaServices with version 1.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 1.0/package.mo) Using package Modelica with version 3.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.SMEE_Generator,fileNamePrefix="Modelica_3_1_cpp_Modelica_Electrical_Machines_Examples_SMEE_Generator",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.003/1.003, allocations: 111.2 MB / 124.2 MB, free: 11.21 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 3.013e-05/3.027e-05, allocations: 0 / 154.4 MB, free: 13.1 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.169/0.1691, allocations: 25.15 MB / 179.5 MB, free: 0.8359 MB / 138.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08537/0.2545, allocations: 49.69 MB / 229.2 MB, free: 15.41 MB / 202.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002607/0.2549, allocations: 67.97 kB / 229.3 MB, free: 15.35 MB / 202.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3736/0.6285, allocations: 56.18 MB / 285.5 MB, free: 22.16 MB / 202.7 MB Notification: Performance of FrontEnd: time 2.474e-06/0.6286, allocations: 0 / 285.5 MB, free: 22.16 MB / 202.7 MB Notification: Performance of Transformations before backend: time 0.0001771/0.6288, allocations: 51.92 kB / 285.5 MB, free: 22.11 MB / 202.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 501 * Number of variables: 501 Notification: Performance of Generate backend data structure: time 0.007009/0.6358, allocations: 2.062 MB / 287.6 MB, free: 20 MB / 202.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.166e-05/0.6359, allocations: 8.031 kB / 287.6 MB, free: 19.99 MB / 202.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009471/0.6368, allocations: 286.7 kB / 287.9 MB, free: 19.7 MB / 202.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007695/0.6376, allocations: 234.2 kB / 288.1 MB, free: 19.47 MB / 202.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003701/0.6413, allocations: 1.278 MB / 289.4 MB, free: 18.14 MB / 202.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001537/0.6415, allocations: 139.8 kB / 289.5 MB, free: 18.01 MB / 202.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006575/0.6422, allocations: 195.9 kB / 289.7 MB, free: 17.82 MB / 202.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00675/0.649, allocations: 2.512 MB / 292.2 MB, free: 15.23 MB / 202.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.69e-05/0.6491, allocations: 4 kB / 292.2 MB, free: 15.23 MB / 202.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003032/0.6494, allocations: 87.98 kB / 292.3 MB, free: 15.14 MB / 202.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001204/0.6496, allocations: 87.91 kB / 292.4 MB, free: 15.06 MB / 202.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006234/0.6558, allocations: 2.042 MB / 294.4 MB, free: 13.02 MB / 202.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02052/0.6764, allocations: 7.524 MB / 301.9 MB, free: 5.309 MB / 202.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003188/0.6797, allocations: 1.951 MB / 303.9 MB, free: 3.191 MB / 202.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001854/0.6816, allocations: 0.7843 MB / 304.7 MB, free: 2.406 MB / 202.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001399/0.6817, allocations: 16.98 kB / 304.7 MB, free: 2.387 MB / 202.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.358e-05/0.6818, allocations: 43.56 kB / 304.7 MB, free: 2.336 MB / 202.7 MB Notification: Performance of pre-optimization done (n=105): time 3.787e-06/0.6818, allocations: 3.938 kB / 304.7 MB, free: 2.332 MB / 202.7 MB Notification: Performance of matching and sorting (n=129): time 0.02597/0.7078, allocations: 6.365 MB / 311.1 MB, free: 11.91 MB / 218.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.367e-05/0.7079, allocations: 72.61 kB / 311.2 MB, free: 11.83 MB / 218.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Electrical/Machines.mo:7706:7-7708:33:writable] Warning: Parameter terminalBox.terminalConnection has no value, and is fixed during initialization (fixed=true), using available start value (start="Y") as default value. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Electrical/Machines.mo:2348:9-2350:50:writable] Warning: Parameter smee.sigmae has no value, and is fixed during initialization (fixed=true), using available start value (start=0.025) as default value. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Electrical/Machines.mo:2345:9-2347:50:writable] Warning: Parameter smee.Re has no value, and is fixed during initialization (fixed=true), using available start value (start=2.5) as default value. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Electrical/Machines.mo:2342:9-2344:50:writable] Warning: Parameter smee.IeOpenCircuit has no value, and is fixed during initialization (fixed=true), using available start value (start=10.0) as default value. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Electrical/Machines.mo:2339:9-2341:50:writable] Warning: Parameter smee.VsNominal has no value, and is fixed during initialization (fixed=true), using available start value (start=100.0) as default value. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Electrical/Machines.mo:2333:9-2335:75:writable] Warning: Parameter smee.Rrd has no value, and is fixed during initialization (fixed=true), using available start value (start=0.04) as default value. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Electrical/Machines.mo:2327:9-2329:75:writable] Warning: Parameter smee.Lrsigmad has no value, and is fixed during initialization (fixed=true), using available start value (start=0.05 / (6.283185307179586 * smee.fsNominal)) as default value. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Electrical/Machines.mo:2324:9-2326:51:writable] Warning: Parameter smee.useDamperCage has no value, and is fixed during initialization (fixed=true), using available start value (start=true) as default value. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Electrical/Machines.mo:2321:9-2323:75:writable] Warning: Parameter smee.Lmq has no value, and is fixed during initialization (fixed=true), using available start value (start=1.5 / (6.283185307179586 * smee.fsNominal)) as default value. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Electrical/Machines.mo:2318:9-2320:75:writable] Warning: Parameter smee.Lmd has no value, and is fixed during initialization (fixed=true), using available start value (start=1.5 / (6.283185307179586 * smee.fsNominal)) as default value. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Electrical/Machines.mo:7411:7-7413:73:writable] Warning: Parameter smee.Lssigma has no value, and is fixed during initialization (fixed=true), using available start value (start=0.1 / (6.283185307179586 * smee.fsNominal)) as default value. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Electrical/Machines.mo:7408:7-7410:73:writable] Warning: Parameter smee.Rs has no value, and is fixed during initialization (fixed=true), using available start value (start=0.03) as default value. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Electrical/Machines.mo:7406:7-7407:28:writable] Warning: Parameter smee.fsNominal has no value, and is fixed during initialization (fixed=true), using available start value (start=50.0) as default value. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Electrical/Machines.mo:7405:7-7405:75:writable] Warning: Parameter smee.p has no value, and is fixed during initialization (fixed=true), using available start value (start=2) as default value. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Electrical/Machines.mo:7272:7-7274:46:writable] Warning: Parameter smee.Js has no value, and is fixed during initialization (fixed=true), using available start value (start=smee.Jr) as default value. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Electrical/Machines.mo:7268:7-7268:72:writable] Warning: Parameter smee.Jr has no value, and is fixed during initialization (fixed=true), using available start value (start=0.29) as default value. Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002569/0.7105, allocations: 0.9891 MB / 312.2 MB, free: 10.82 MB / 218.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003357/0.7109, allocations: 49.69 kB / 312.2 MB, free: 10.77 MB / 218.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007333/0.7116, allocations: 0.8287 MB / 313 MB, free: 9.926 MB / 218.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007202/0.7123, allocations: 449.5 kB / 313.5 MB, free: 9.48 MB / 218.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001367/0.7125, allocations: 27.94 kB / 313.5 MB, free: 9.453 MB / 218.7 MB Notification: Performance of setup shared object (initialization): time 0.0001832/0.7127, allocations: 358.8 kB / 313.9 MB, free: 9.094 MB / 218.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002019/0.7147, allocations: 0.721 MB / 314.6 MB, free: 8.375 MB / 218.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002279/0.7171, allocations: 0.9512 MB / 315.5 MB, free: 7.34 MB / 218.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002346/0.7195, allocations: 0.8806 MB / 316.4 MB, free: 6.461 MB / 218.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.035e-05/0.7195, allocations: 0 / 316.4 MB, free: 6.461 MB / 218.7 MB Notification: Performance of matching and sorting (n=162) (initialization): time 0.007374/0.7269, allocations: 2.395 MB / 318.8 MB, free: 4.051 MB / 218.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.311e-05/0.727, allocations: 8 kB / 318.8 MB, free: 4.043 MB / 218.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.267e-05/0.727, allocations: 8 kB / 318.8 MB, free: 4.035 MB / 218.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002826/0.7299, allocations: 0.6262 MB / 319.5 MB, free: 3.402 MB / 218.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002369/0.7323, allocations: 283.6 kB / 319.7 MB, free: 3.125 MB / 218.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01593/0.7483, allocations: 7.388 MB / 327.1 MB, free: 11.47 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001862/0.7502, allocations: 111.9 kB / 327.2 MB, free: 11.36 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002208/0.7504, allocations: 47.98 kB / 327.3 MB, free: 11.32 MB / 234.7 MB Warning: Assuming fixed start value for the following 4 variables: smee.idq_rr[2]:VARIABLE(unit = "A" stateSelect=StateSelect.prefer ) "rotor space phasor current / rotor fixed frame" type: Real [2] smee.idq_rr[1]:VARIABLE(unit = "A" stateSelect=StateSelect.prefer ) "rotor space phasor current / rotor fixed frame" type: Real [2] smee.idq_sr[2]:VARIABLE(unit = "A" stateSelect=StateSelect.prefer ) "stator space phasor current / rotor fixed frame" type: Real [2] smee.idq_sr[1]:VARIABLE(unit = "A" stateSelect=StateSelect.prefer ) "stator space phasor current / rotor fixed frame" type: Real [2] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (127): * Single equations (assignments): 123 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(6,80.6%) 23,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000497/0.751, allocations: 193.3 kB / 327.5 MB, free: 11.12 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004402/0.7514, allocations: 126.4 kB / 327.6 MB, free: 11 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007124/0.7585, allocations: 2.367 MB / 330 MB, free: 8.613 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.454e-05/0.7586, allocations: 19.98 kB / 330 MB, free: 8.594 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.376e-05/0.7586, allocations: 4 kB / 330 MB, free: 8.59 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.363e-05/0.7587, allocations: 3.984 kB / 330 MB, free: 8.586 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01514/0.7738, allocations: 4.799 MB / 334.8 MB, free: 3.699 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.692e-05/0.7739, allocations: 8.031 kB / 334.8 MB, free: 3.691 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001865/0.7758, allocations: 207.8 kB / 335 MB, free: 3.488 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002976/0.7788, allocations: 0.63 MB / 335.6 MB, free: 2.852 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002955/0.7791, allocations: 39.92 kB / 335.7 MB, free: 2.812 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.176/0.9552, allocations: 7.198 MB / 342.9 MB, free: 53.03 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.33e-06/0.9552, allocations: 3.719 kB / 342.9 MB, free: 53.03 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008247/0.9635, allocations: 3.56 MB / 346.4 MB, free: 52.64 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001222/0.9648, allocations: 376.9 kB / 346.8 MB, free: 52.55 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003653/0.9651, allocations: 32.06 kB / 346.8 MB, free: 52.55 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001645/0.9668, allocations: 114 kB / 346.9 MB, free: 52.55 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004182/0.9673, allocations: 105 kB / 347 MB, free: 52.55 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001409/0.9674, allocations: 33.81 kB / 347.1 MB, free: 52.55 MB / 234.7 MB Notification: Performance of sorting global known variables: time 0.001576/0.969, allocations: 0.7524 MB / 347.8 MB, free: 52.43 MB / 234.7 MB Notification: Performance of sort global known variables: time 1.032e-06/0.9691, allocations: 0 / 347.8 MB, free: 52.43 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.002263/0.9713, allocations: 445.7 kB / 348.3 MB, free: 52.43 MB / 234.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 5 (smee.phiMechanical,smee.idq_sr[1],smee.idq_sr[2],smee.idq_rr[1],smee.idq_rr[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (97): * Single equations (assignments): 93 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(6,80.6%) 23,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.008988/0.9804, allocations: 4.75 MB / 353 MB, free: 50.88 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.00608/0.9865, allocations: 2.334 MB / 355.3 MB, free: 50.53 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 9.869e-06/0.9866, allocations: 0 / 355.3 MB, free: 50.53 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003979/0.9905, allocations: 1.496 MB / 356.8 MB, free: 50.2 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002541/0.9931, allocations: 245.9 kB / 357.1 MB, free: 50.19 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01077/1.004, allocations: 3.98 MB / 361.1 MB, free: 49.08 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001983/1.006, allocations: 1.79 MB / 362.8 MB, free: 48.18 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001656/1.008, allocations: 0.7035 MB / 363.5 MB, free: 47.61 MB / 234.7 MB Notification: Performance of SimCode: time 3.216e-06/1.008, allocations: 0 / 363.5 MB, free: 47.61 MB / 234.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.489/4.496, allocations: 50.04 MB / 413.6 MB, free: 10.33 MB / 234.7 MB