Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 1.0/package.mo) Using package Modelica with version 3.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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.008/1.008, allocations: 111.2 MB / 124.3 MB, free: 11.15 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 2.182e-05/2.198e-05, allocations: 4 kB / 154.3 MB, free: 13.15 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1434/0.1434, allocations: 25.15 MB / 179.4 MB, free: 0.7891 MB / 138.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.07434/0.2178, allocations: 49.69 MB / 229.1 MB, free: 15.38 MB / 202.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000221/0.2181, allocations: 63.97 kB / 229.2 MB, free: 15.31 MB / 202.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3255/0.5436, allocations: 56.18 MB / 285.4 MB, free: 22.09 MB / 202.7 MB Notification: Performance of FrontEnd: time 2.042e-06/0.5437, allocations: 0 / 285.4 MB, free: 22.09 MB / 202.7 MB Notification: Performance of Transformations before backend: time 0.0001228/0.5438, allocations: 55.92 kB / 285.4 MB, free: 22.04 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.004217/0.548, allocations: 2.059 MB / 287.5 MB, free: 19.93 MB / 202.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.952e-05/0.5481, allocations: 8.031 kB / 287.5 MB, free: 19.92 MB / 202.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005966/0.5487, allocations: 234.2 kB / 287.7 MB, free: 19.69 MB / 202.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005796/0.5545, allocations: 1.27 MB / 289 MB, free: 18.38 MB / 202.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002581/0.5548, allocations: 147.8 kB / 289.1 MB, free: 18.23 MB / 202.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008793/0.5557, allocations: 199.9 kB / 289.3 MB, free: 18.04 MB / 202.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01153/0.5673, allocations: 2.512 MB / 291.8 MB, free: 15.45 MB / 202.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001376/0.5675, allocations: 0 / 291.8 MB, free: 15.45 MB / 202.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006134/0.5681, allocations: 80 kB / 291.9 MB, free: 15.38 MB / 202.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002096/0.5684, allocations: 87.91 kB / 292 MB, free: 15.29 MB / 202.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01018/0.5786, allocations: 2.05 MB / 294 MB, free: 13.24 MB / 202.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03198/0.6106, allocations: 7.52 MB / 301.6 MB, free: 5.535 MB / 202.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005353/0.6161, allocations: 1.955 MB / 303.5 MB, free: 3.414 MB / 202.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003072/0.6192, allocations: 0.7766 MB / 304.3 MB, free: 2.637 MB / 202.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001637/0.6194, allocations: 16.95 kB / 304.3 MB, free: 2.617 MB / 202.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.176e-05/0.6195, allocations: 47.55 kB / 304.4 MB, free: 2.562 MB / 202.7 MB Notification: Performance of pre-optimization done (n=105): time 9.061e-06/0.6195, allocations: 0 / 304.4 MB, free: 2.562 MB / 202.7 MB Notification: Performance of matching and sorting (n=129): time 0.02632/0.6458, allocations: 6.373 MB / 310.7 MB, free: 12.14 MB / 218.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.068e-05/0.6459, allocations: 68.67 kB / 310.8 MB, free: 12.05 MB / 218.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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@2/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@2/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@2/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@2/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@2/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@2/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@2/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@2/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@2/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@2/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@2/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@2/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@2/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@2/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@2/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.002149/0.6481, allocations: 0.9911 MB / 311.8 MB, free: 11.05 MB / 218.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001626/0.6483, allocations: 49.7 kB / 311.8 MB, free: 10.99 MB / 218.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007248/0.649, allocations: 0.8248 MB / 312.7 MB, free: 10.16 MB / 218.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005175/0.6496, allocations: 445.5 kB / 313.1 MB, free: 9.715 MB / 218.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001192/0.6497, allocations: 24 kB / 313.1 MB, free: 9.691 MB / 218.7 MB Notification: Performance of setup shared object (initialization): time 0.0002307/0.6499, allocations: 366.8 kB / 313.5 MB, free: 9.324 MB / 218.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001593/0.6515, allocations: 0.721 MB / 314.2 MB, free: 8.605 MB / 218.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001815/0.6534, allocations: 0.9512 MB / 315.1 MB, free: 7.57 MB / 218.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001873/0.6553, allocations: 0.8766 MB / 316 MB, free: 6.695 MB / 218.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.39e-06/0.6553, allocations: 0 / 316 MB, free: 6.695 MB / 218.7 MB Notification: Performance of matching and sorting (n=162) (initialization): time 0.005954/0.6613, allocations: 2.399 MB / 318.4 MB, free: 4.281 MB / 218.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.122e-05/0.6613, allocations: 8 kB / 318.4 MB, free: 4.273 MB / 218.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.388e-05/0.6614, allocations: 8 kB / 318.4 MB, free: 4.266 MB / 218.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002285/0.6637, allocations: 0.6262 MB / 319.1 MB, free: 3.633 MB / 218.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001605/0.6653, allocations: 287.5 kB / 319.3 MB, free: 3.352 MB / 218.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01352/0.6789, allocations: 7.399 MB / 326.7 MB, free: 11.69 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00141/0.6803, allocations: 111.9 kB / 326.9 MB, free: 11.58 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001753/0.6805, allocations: 47.98 kB / 326.9 MB, free: 11.53 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.0004301/0.681, allocations: 186.2 kB / 327.1 MB, free: 11.35 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003664/0.6813, allocations: 126.4 kB / 327.2 MB, free: 11.22 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005646/0.687, allocations: 2.367 MB / 329.6 MB, free: 8.836 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.384e-05/0.6871, allocations: 15.98 kB / 329.6 MB, free: 8.82 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.351e-05/0.6871, allocations: 4 kB / 329.6 MB, free: 8.816 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.765e-05/0.6871, allocations: 7.922 kB / 329.6 MB, free: 8.809 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01153/0.6986, allocations: 4.799 MB / 334.4 MB, free: 3.922 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.64e-05/0.6987, allocations: 4 kB / 334.4 MB, free: 3.918 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001341/0.7001, allocations: 216 kB / 334.6 MB, free: 3.707 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002379/0.7025, allocations: 0.6225 MB / 335.2 MB, free: 3.078 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001707/0.7027, allocations: 31.98 kB / 335.3 MB, free: 3.047 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1451/0.8478, allocations: 7.205 MB / 342.5 MB, free: 53.14 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.594e-06/0.8478, allocations: 8.781 kB / 342.5 MB, free: 53.14 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01061/0.8584, allocations: 3.546 MB / 346 MB, free: 52.76 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002014/0.8605, allocations: 384.7 kB / 346.4 MB, free: 52.66 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006417/0.8612, allocations: 32.86 kB / 346.4 MB, free: 52.66 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002574/0.8638, allocations: 105.7 kB / 346.5 MB, free: 52.66 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000632/0.8645, allocations: 112.5 kB / 346.6 MB, free: 52.66 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002833/0.8648, allocations: 35.81 kB / 346.7 MB, free: 52.66 MB / 234.7 MB Notification: Performance of sorting global known variables: time 0.002854/0.8677, allocations: 0.7461 MB / 347.4 MB, free: 52.54 MB / 234.7 MB Notification: Performance of sort global known variables: time 1.67e-06/0.8677, allocations: 3.656 kB / 347.4 MB, free: 52.54 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.004327/0.8721, allocations: 443.2 kB / 347.9 MB, free: 52.54 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.0006718/0.8728, allocations: 157.5 kB / 348 MB, free: 52.45 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.009819/0.8826, allocations: 2.329 MB / 350.3 MB, free: 52.11 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 1.461e-05/0.8827, allocations: 0 / 350.3 MB, free: 52.11 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006425/0.8892, allocations: 1.499 MB / 351.8 MB, free: 51.79 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00378/0.893, allocations: 251.3 kB / 352.1 MB, free: 51.78 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01529/0.9084, allocations: 3.446 MB / 355.5 MB, free: 51.04 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003564/0.912, allocations: 1.789 MB / 357.3 MB, free: 50.3 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001211/0.9133, allocations: 89.59 kB / 357.4 MB, free: 50.3 MB / 234.7 MB Notification: Performance of SimCode: time 4.38e-06/0.9133, allocations: 2.125 kB / 357.4 MB, free: 50.3 MB / 234.7 MB Notification: Performance of Templates: time 0.05993/0.9733, allocations: 39.98 MB / 397.4 MB, free: 26.02 MB / 234.7 MB