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/OMCompiler/build/lib/omlibrary/ModelicaServices 1.0/package.mo) Using package Modelica with version 3.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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.048/1.048, allocations: 111.2 MB / 119.1 MB, free: 11.18 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 2.407e-05/2.415e-05, allocations: 4 kB / 148.2 MB, free: 6.129 MB / 122.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05516/0.05523, allocations: 25.17 MB / 173.4 MB, free: 12.92 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.231/0.2863, allocations: 49.02 MB / 222.4 MB, free: 2.398 MB / 170.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002565/0.2867, allocations: 63.88 kB / 222.5 MB, free: 2.391 MB / 170.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2391/0.5257, allocations: 55.55 MB / 278 MB, free: 3.059 MB / 218.7 MB Notification: Performance of FrontEnd: time 2.665e-06/0.5258, allocations: 0 / 278 MB, free: 3.059 MB / 218.7 MB Notification: Performance of Transformations before backend: time 0.0003/0.5261, allocations: 47.94 kB / 278.1 MB, free: 3.012 MB / 218.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.009869/0.536, allocations: 2.07 MB / 280.1 MB, free: 0.8906 MB / 218.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.631e-05/0.5361, allocations: 8.031 kB / 280.1 MB, free: 0.8828 MB / 218.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001316/0.5374, allocations: 241.2 kB / 280.4 MB, free: 0.6445 MB / 218.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00425/0.5417, allocations: 1.271 MB / 281.6 MB, free: 15.33 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001946/0.542, allocations: 68 kB / 281.7 MB, free: 15.27 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007302/0.5427, allocations: 112 kB / 281.8 MB, free: 15.16 MB / 234.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.007138/0.5499, allocations: 1.933 MB / 283.8 MB, free: 13.22 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007132/0.5571, allocations: 2.247 MB / 286 MB, free: 10.91 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.692e-05/0.5572, allocations: 3.906 kB / 286 MB, free: 10.9 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002608/0.5575, allocations: 4 kB / 286 MB, free: 10.9 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001549/0.5577, allocations: 83.91 kB / 286.1 MB, free: 10.82 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02202/0.5797, allocations: 7.164 MB / 293.3 MB, free: 3.48 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003258/0.583, allocations: 1.912 MB / 295.2 MB, free: 1.387 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001713/0.5848, allocations: 0.7613 MB / 295.9 MB, free: 0.6289 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001277/0.5849, allocations: 13.31 kB / 295.9 MB, free: 0.6172 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.183e-05/0.585, allocations: 55.75 kB / 296 MB, free: 0.5508 MB / 234.7 MB Notification: Performance of pre-optimization done (n=107): time 4.418e-06/0.585, allocations: 0 / 296 MB, free: 0.5508 MB / 234.7 MB Notification: Performance of matching and sorting (n=131): time 0.1861/0.7711, allocations: 4.96 MB / 301 MB, free: 47.27 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.271e-05/0.7712, allocations: 68.38 kB / 301 MB, free: 47.2 MB / 234.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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.002133/0.7733, allocations: 0.8894 MB / 301.9 MB, free: 47.05 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003254/0.7737, allocations: 25.7 kB / 301.9 MB, free: 47.02 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006407/0.7743, allocations: 0.8472 MB / 302.8 MB, free: 46.64 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005207/0.7748, allocations: 428 kB / 303.2 MB, free: 46.41 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001141/0.775, allocations: 1.375 kB / 303.2 MB, free: 46.41 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.0001229/0.7751, allocations: 361.3 kB / 303.6 MB, free: 46.1 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00164/0.7768, allocations: 0.701 MB / 304.3 MB, free: 46.1 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001798/0.7786, allocations: 0.9249 MB / 305.2 MB, free: 45.88 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002035/0.7806, allocations: 0.8588 MB / 306 MB, free: 45.86 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.174e-05/0.7807, allocations: 3.531 kB / 306 MB, free: 45.86 MB / 234.7 MB Notification: Performance of matching and sorting (n=164) (initialization): time 0.006015/0.7867, allocations: 2.291 MB / 308.3 MB, free: 45.74 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.695e-05/0.7868, allocations: 7.719 kB / 308.3 MB, free: 45.74 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.734e-05/0.7868, allocations: 7.875 kB / 308.4 MB, free: 45.74 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002539/0.7894, allocations: 0.6196 MB / 309 MB, free: 45.72 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002224/0.7916, allocations: 287.6 kB / 309.3 MB, free: 45.72 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01283/0.8045, allocations: 7.115 MB / 316.4 MB, free: 43.16 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001983/0.8066, allocations: 91.75 kB / 316.5 MB, free: 43.15 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001518/0.8067, allocations: 44.45 kB / 316.5 MB, free: 43.15 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 (129): * Single equations (assignments): 125 * 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.0004574/0.8072, allocations: 139.2 kB / 316.6 MB, free: 43.05 MB / 234.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.005629/0.8128, allocations: 2.112 MB / 318.7 MB, free: 42.89 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004819/0.8134, allocations: 122.8 kB / 318.9 MB, free: 42.83 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005561/0.8189, allocations: 2.258 MB / 321.1 MB, free: 42.71 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.754e-05/0.819, allocations: 15.41 kB / 321.1 MB, free: 42.71 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.739e-06/0.819, allocations: 3.969 kB / 321.1 MB, free: 42.71 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.459e-05/0.8191, allocations: 6.328 kB / 321.1 MB, free: 42.71 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01112/0.8302, allocations: 4.482 MB / 325.6 MB, free: 41.48 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.548e-05/0.8303, allocations: 3.875 kB / 325.6 MB, free: 41.48 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001725/0.832, allocations: 216.9 kB / 325.8 MB, free: 41.47 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002577/0.8346, allocations: 0.6222 MB / 326.5 MB, free: 41.31 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001475/0.8348, allocations: 19.09 kB / 326.5 MB, free: 41.31 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01142/0.8462, allocations: 6.965 MB / 333.5 MB, free: 36.98 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.013e-06/0.8462, allocations: 0 / 333.5 MB, free: 36.98 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00732/0.8536, allocations: 3.471 MB / 336.9 MB, free: 35.44 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001061/0.8547, allocations: 373.9 kB / 337.3 MB, free: 35.2 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002575/0.855, allocations: 7.094 kB / 337.3 MB, free: 35.2 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001419/0.8564, allocations: 97.16 kB / 337.4 MB, free: 35.2 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003932/0.8568, allocations: 105 kB / 337.5 MB, free: 35.18 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001239/0.8569, allocations: 37.06 kB / 337.5 MB, free: 35.18 MB / 234.7 MB Notification: Performance of sorting global known variables: time 0.001154/0.8581, allocations: 0.6532 MB / 338.2 MB, free: 34.88 MB / 234.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.8581, allocations: 0 / 338.2 MB, free: 34.88 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.002001/0.8601, allocations: 395.8 kB / 338.6 MB, free: 34.88 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 (98): * Single equations (assignments): 94 * 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.007712/0.8679, allocations: 4.656 MB / 343.2 MB, free: 32.2 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.004993/0.8729, allocations: 2.258 MB / 345.5 MB, free: 31.23 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 7.264e-06/0.8729, allocations: 0 / 345.5 MB, free: 31.23 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003379/0.8763, allocations: 1.454 MB / 346.9 MB, free: 30.55 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002072/0.8784, allocations: 216.8 kB / 347.1 MB, free: 30.5 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009405/0.8878, allocations: 3.875 MB / 351 MB, free: 29.01 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001653/0.8896, allocations: 1.784 MB / 352.8 MB, free: 27.81 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001468/0.8911, allocations: 0.6984 MB / 353.5 MB, free: 27.17 MB / 234.7 MB Notification: Performance of SimCode: time 9.61e-07/0.8911, allocations: 0 / 353.5 MB, free: 27.17 MB / 234.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.832/4.723, allocations: 49.49 MB / 403 MB, free: 43.62 MB / 234.7 MB