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 0.9129/0.9129, allocations: 111.1 MB / 126.7 MB, free: 6.121 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002657/0.0002658, allocations: 4 kB / 158.3 MB, free: 15.18 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.04419/0.04448, allocations: 25.18 MB / 183.5 MB, free: 5.969 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1846/0.2291, allocations: 49.77 MB / 233.3 MB, free: 12.79 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002176/0.2294, allocations: 66.16 kB / 233.3 MB, free: 12.76 MB / 186.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2138/0.4432, allocations: 56.02 MB / 289.4 MB, free: 8.52 MB / 234.7 MB Notification: Performance of FrontEnd: time 2.289e-06/0.4432, allocations: 0 / 289.4 MB, free: 8.52 MB / 234.7 MB Notification: Performance of Transformations before backend: time 0.0001569/0.4434, allocations: 47.94 kB / 289.4 MB, free: 8.473 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.006192/0.4496, allocations: 2.237 MB / 291.6 MB, free: 6.18 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.319e-05/0.4496, allocations: 11.97 kB / 291.7 MB, free: 6.168 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009158/0.4506, allocations: 237.2 kB / 291.9 MB, free: 5.934 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003412/0.454, allocations: 1.278 MB / 293.2 MB, free: 4.609 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001697/0.4542, allocations: 147.8 kB / 293.3 MB, free: 4.465 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004723/0.4547, allocations: 192 kB / 293.5 MB, free: 4.277 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006316/0.461, allocations: 2.586 MB / 296.1 MB, free: 1.621 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.248e-05/0.4611, allocations: 7.906 kB / 296.1 MB, free: 1.613 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000298/0.4614, allocations: 76 kB / 296.2 MB, free: 1.539 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001357/0.4616, allocations: 91.89 kB / 296.3 MB, free: 1.449 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1353/0.5969, allocations: 2.148 MB / 298.4 MB, free: 45.04 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01606/0.613, allocations: 7.516 MB / 305.9 MB, free: 43.86 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003012/0.616, allocations: 2.007 MB / 307.9 MB, free: 42.97 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.247e-05/0.6161, allocations: 18.08 kB / 307.9 MB, free: 42.97 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.363e-05/0.6162, allocations: 45.78 kB / 308 MB, free: 42.93 MB / 234.7 MB Notification: Performance of pre-optimization done (n=105): time 4.842e-06/0.6162, allocations: 0.7656 kB / 308 MB, free: 42.93 MB / 234.7 MB Notification: Performance of matching and sorting (n=128): time 0.02276/0.639, allocations: 8.021 MB / 316 MB, free: 41.98 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.196e-05/0.6391, allocations: 62.47 kB / 316.1 MB, free: 41.92 MB / 234.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.001783/0.6409, allocations: 1.005 MB / 317.1 MB, free: 41.77 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000196/0.6411, allocations: 47.17 kB / 317.1 MB, free: 41.74 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004417/0.6415, allocations: 0.8315 MB / 318 MB, free: 41.37 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003606/0.6419, allocations: 437.4 kB / 318.4 MB, free: 41.12 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001127/0.642, allocations: 21.62 kB / 318.4 MB, free: 41.12 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.0001051/0.6422, allocations: 370.8 kB / 318.8 MB, free: 40.81 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001713/0.6439, allocations: 0.7907 MB / 319.6 MB, free: 40.81 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001807/0.6457, allocations: 1.01 MB / 320.6 MB, free: 40.58 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001934/0.6477, allocations: 0.9462 MB / 321.5 MB, free: 40.56 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.356e-06/0.6477, allocations: 0 / 321.5 MB, free: 40.56 MB / 234.7 MB Notification: Performance of matching and sorting (n=161) (initialization): time 0.00571/0.6534, allocations: 2.522 MB / 324 MB, free: 39.98 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.526e-05/0.6535, allocations: 14.73 kB / 324 MB, free: 39.98 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.817e-05/0.6535, allocations: 10.7 kB / 324.1 MB, free: 39.98 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002095/0.6556, allocations: 0.6264 MB / 324.7 MB, free: 39.82 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001477/0.6571, allocations: 289 kB / 325 MB, free: 39.81 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01152/0.6686, allocations: 7.638 MB / 332.6 MB, free: 35.17 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001281/0.67, allocations: 107.3 kB / 332.7 MB, free: 35.15 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001401/0.6701, allocations: 53.02 kB / 332.8 MB, free: 35.14 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.001455/0.6716, allocations: 0.6845 MB / 333.4 MB, free: 34.78 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003238/0.6719, allocations: 127.4 kB / 333.6 MB, free: 34.71 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005448/0.6774, allocations: 2.496 MB / 336.1 MB, free: 33.79 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.624e-05/0.6774, allocations: 17.89 kB / 336.1 MB, free: 33.79 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.104e-05/0.6775, allocations: 4.875 kB / 336.1 MB, free: 33.79 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.666e-05/0.6775, allocations: 6.094 kB / 336.1 MB, free: 33.79 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01054/0.688, allocations: 4.9 MB / 341 MB, free: 31.87 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.406e-05/0.6881, allocations: 3.875 kB / 341 MB, free: 31.87 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001224/0.6893, allocations: 217.6 kB / 341.2 MB, free: 31.86 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002191/0.6915, allocations: 0.632 MB / 341.8 MB, free: 31.7 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000174/0.6917, allocations: 30.36 kB / 341.9 MB, free: 31.68 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01086/0.7026, allocations: 7.469 MB / 349.3 MB, free: 27.08 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.268e-06/0.7027, allocations: 0 / 349.3 MB, free: 27.08 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007487/0.7102, allocations: 3.691 MB / 353 MB, free: 25.53 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008923/0.7111, allocations: 377.2 kB / 353.4 MB, free: 25.29 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002417/0.7114, allocations: 29.28 kB / 353.4 MB, free: 25.27 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001035/0.7124, allocations: 111.6 kB / 353.5 MB, free: 25.25 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002945/0.7127, allocations: 99.36 kB / 353.6 MB, free: 25.23 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001236/0.7129, allocations: 39.98 kB / 353.7 MB, free: 25.23 MB / 234.7 MB Notification: Performance of sorting global known variables: time 0.001302/0.7142, allocations: 0.7556 MB / 354.4 MB, free: 24.92 MB / 234.7 MB Notification: Performance of sort global known variables: time 9.27e-07/0.7142, allocations: 0 / 354.4 MB, free: 24.92 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.001798/0.716, allocations: 446.7 kB / 354.9 MB, free: 24.6 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.0002993/0.7163, allocations: 153.3 kB / 355 MB, free: 24.44 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.004703/0.7211, allocations: 2.467 MB / 357.5 MB, free: 22.27 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 6.116e-06/0.7211, allocations: 1.438 kB / 357.5 MB, free: 22.27 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002998/0.7241, allocations: 1.555 MB / 359 MB, free: 20.89 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001555/0.7257, allocations: 259.5 kB / 359.3 MB, free: 20.7 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007564/0.7333, allocations: 4.959 MB / 364.3 MB, free: 16.21 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001551/0.7349, allocations: 1.788 MB / 366 MB, free: 14.74 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005585/0.7354, allocations: 87.19 kB / 366.1 MB, free: 14.66 MB / 234.7 MB Notification: Performance of SimCode: time 1.652e-06/0.7355, allocations: 0 / 366.1 MB, free: 14.66 MB / 234.7 MB Notification: Performance of Templates: time 0.2061/0.9416, allocations: 39.94 MB / 406.1 MB, free: 55.21 MB / 250.7 MB