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: translateModel(Modelica.Electrical.Machines.Examples.SMEE_Generator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=12000,variableFilter="",fileNamePrefix="Modelica_3.1_cpp_Modelica.Electrical.Machines.Examples.SMEE_Generator") Notification: Performance of loadModel(Modelica): time 1.308/1.308, allocations: 111.1 MB / 127.3 MB, free: 6.148 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000286/0.0002861, allocations: 4 kB / 158.9 MB, free: 15.23 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05663/0.05694, allocations: 25.16 MB / 184 MB, free: 6.023 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2349/0.2919, allocations: 49.76 MB / 233.8 MB, free: 12.84 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002662/0.2922, allocations: 72.09 kB / 233.9 MB, free: 12.8 MB / 186.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2461/0.5384, allocations: 56.02 MB / 289.9 MB, free: 8.574 MB / 234.7 MB Notification: Performance of FrontEnd: time 2.655e-06/0.5384, allocations: 0 / 289.9 MB, free: 8.574 MB / 234.7 MB Notification: Performance of Transformations before backend: time 0.0002059/0.5387, allocations: 55.94 kB / 289.9 MB, free: 8.52 MB / 234.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.008799/0.5475, allocations: 2.233 MB / 292.2 MB, free: 6.23 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.148e-05/0.5475, allocations: 12.03 kB / 292.2 MB, free: 6.219 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001233/0.5488, allocations: 241.1 kB / 292.4 MB, free: 5.98 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004209/0.553, allocations: 1.271 MB / 293.7 MB, free: 4.668 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002113/0.5533, allocations: 147.8 kB / 293.8 MB, free: 4.523 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008103/0.5541, allocations: 196 kB / 294 MB, free: 4.332 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008518/0.5626, allocations: 2.594 MB / 296.6 MB, free: 1.668 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.609e-05/0.5628, allocations: 3.906 kB / 296.6 MB, free: 1.664 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003623/0.5632, allocations: 87.98 kB / 296.7 MB, free: 1.578 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001566/0.5633, allocations: 95.83 kB / 296.8 MB, free: 1.484 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1638/0.7272, allocations: 2.145 MB / 299 MB, free: 45.38 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02188/0.7491, allocations: 7.514 MB / 306.5 MB, free: 44.21 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003804/0.753, allocations: 2.003 MB / 308.5 MB, free: 43.32 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001589/0.7532, allocations: 16.03 kB / 308.5 MB, free: 43.32 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.427e-05/0.7532, allocations: 49.41 kB / 308.5 MB, free: 43.28 MB / 234.7 MB Notification: Performance of pre-optimization done (n=105): time 4.498e-06/0.7532, allocations: 4.547 kB / 308.5 MB, free: 43.28 MB / 234.7 MB Notification: Performance of matching and sorting (n=128): time 0.03321/0.7865, allocations: 8.012 MB / 316.6 MB, free: 42.33 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.208e-05/0.7866, allocations: 65.84 kB / 316.6 MB, free: 42.27 MB / 234.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.002237/0.7888, allocations: 1.121 MB / 317.7 MB, free: 42.11 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003076/0.7891, allocations: 49.55 kB / 317.8 MB, free: 42.08 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005345/0.7897, allocations: 0.8309 MB / 318.6 MB, free: 41.71 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005166/0.7902, allocations: 441.8 kB / 319 MB, free: 41.46 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001279/0.7904, allocations: 24.56 kB / 319.1 MB, free: 41.46 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.0001123/0.7905, allocations: 359.7 kB / 319.4 MB, free: 41.15 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00207/0.7926, allocations: 0.7861 MB / 320.2 MB, free: 41.14 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002241/0.7948, allocations: 1.025 MB / 321.2 MB, free: 40.92 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00246/0.7973, allocations: 0.9377 MB / 322.2 MB, free: 40.9 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.057e-06/0.7974, allocations: 0 / 322.2 MB, free: 40.9 MB / 234.7 MB Notification: Performance of matching and sorting (n=161) (initialization): time 0.007129/0.8045, allocations: 2.527 MB / 324.7 MB, free: 40.33 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.23e-05/0.8046, allocations: 11.61 kB / 324.7 MB, free: 40.33 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.849e-05/0.8046, allocations: 6.922 kB / 324.7 MB, free: 40.33 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002587/0.8072, allocations: 0.629 MB / 325.3 MB, free: 40.16 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002154/0.8094, allocations: 286 kB / 325.6 MB, free: 40.16 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0135/0.823, allocations: 7.642 MB / 333.3 MB, free: 35.52 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001816/0.8248, allocations: 108.9 kB / 333.4 MB, free: 35.5 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001839/0.825, allocations: 51.48 kB / 333.4 MB, free: 35.48 MB / 234.7 MB Warning: Assuming fixed start value for the following 4 variables: smee.idq_rr[2]:VARIABLE(unit = "A" fixed = true stateSelect=StateSelect.prefer ) "rotor space phasor current / rotor fixed frame" type: Real [2] smee.idq_rr[1]:VARIABLE(unit = "A" fixed = true stateSelect=StateSelect.prefer ) "rotor space phasor current / rotor fixed frame" type: Real [2] smee.idq_sr[2]:VARIABLE(unit = "A" fixed = true stateSelect=StateSelect.prefer ) "stator space phasor current / rotor fixed frame" type: Real [2] smee.idq_sr[1]:VARIABLE(unit = "A" fixed = true 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (126): * Single equations (assignments): 122 * 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,86.1%) 23,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001763/0.8268, allocations: 0.6829 MB / 334.1 MB, free: 35.13 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004322/0.8272, allocations: 128.9 kB / 334.2 MB, free: 35.06 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006956/0.8342, allocations: 2.497 MB / 336.7 MB, free: 34.14 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-05/0.8343, allocations: 14.62 kB / 336.7 MB, free: 34.14 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.022e-05/0.8343, allocations: 3.688 kB / 336.7 MB, free: 34.14 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-05/0.8343, allocations: 7.359 kB / 336.8 MB, free: 34.14 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01329/0.8476, allocations: 4.899 MB / 341.7 MB, free: 32.21 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.995e-05/0.8477, allocations: 3.938 kB / 341.7 MB, free: 32.21 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001731/0.8495, allocations: 215.2 kB / 341.9 MB, free: 32.21 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002694/0.8522, allocations: 0.643 MB / 342.5 MB, free: 32.04 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002425/0.8524, allocations: 32.12 kB / 342.5 MB, free: 32.03 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01309/0.8655, allocations: 7.468 MB / 350 MB, free: 27.43 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.659e-06/0.8656, allocations: 9.438 kB / 350 MB, free: 27.43 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009584/0.8752, allocations: 3.6 MB / 353.6 MB, free: 25.99 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001248/0.8765, allocations: 382.4 kB / 354 MB, free: 25.75 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004557/0.877, allocations: 31.14 kB / 354 MB, free: 25.73 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001676/0.8787, allocations: 108.7 kB / 354.1 MB, free: 25.71 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000424/0.8791, allocations: 101.9 kB / 354.2 MB, free: 25.69 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001371/0.8793, allocations: 37.41 kB / 354.3 MB, free: 25.68 MB / 234.7 MB Notification: Performance of sorting global known variables: time 0.001637/0.8809, allocations: 0.7539 MB / 355 MB, free: 25.38 MB / 234.7 MB Notification: Performance of sort global known variables: time 5.92e-07/0.881, allocations: 0 / 355 MB, free: 25.38 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.002407/0.8834, allocations: 441.1 kB / 355.5 MB, free: 25.07 MB / 234.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (95): * Single equations (assignments): 91 * 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,86.1%) 23,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005085/0.884, allocations: 159.6 kB / 355.6 MB, free: 24.93 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.006698/0.8907, allocations: 2.471 MB / 358.1 MB, free: 22.75 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 8.956e-06/0.8907, allocations: 0 / 358.1 MB, free: 22.75 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004262/0.895, allocations: 1.557 MB / 359.6 MB, free: 21.37 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002488/0.8975, allocations: 255.1 kB / 359.9 MB, free: 21.17 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01004/0.9076, allocations: 4.957 MB / 364.8 MB, free: 16.68 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001928/0.9096, allocations: 1.783 MB / 366.6 MB, free: 15.21 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007243/0.9104, allocations: 90.75 kB / 366.7 MB, free: 15.13 MB / 234.7 MB Notification: Performance of SimCode: time 2.174e-06/0.9104, allocations: 0 / 366.7 MB, free: 15.13 MB / 234.7 MB Notification: Performance of Templates: time 0.2405/1.151, allocations: 39.95 MB / 406.7 MB, free: 54.52 MB / 250.7 MB