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/OMCompiler/build/lib/omlibrary/ModelicaServices 1.0/package.mo) Using package Modelica with version 3.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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.9606/0.9606, allocations: 111.2 MB / 119.1 MB, free: 11.16 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 1.506e-05/1.515e-05, allocations: 4 kB / 148.1 MB, free: 6.227 MB / 122.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.04418/0.04421, allocations: 25.17 MB / 173.3 MB, free: 13.01 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1905/0.2347, allocations: 49.02 MB / 222.3 MB, free: 3.473 MB / 170.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002094/0.235, allocations: 64.12 kB / 222.4 MB, free: 3.465 MB / 170.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2293/0.4643, allocations: 55.55 MB / 277.9 MB, free: 4.324 MB / 218.7 MB Notification: Performance of FrontEnd: time 2.056e-06/0.4644, allocations: 0 / 277.9 MB, free: 4.324 MB / 218.7 MB Notification: Performance of Transformations before backend: time 0.0001462/0.4645, allocations: 47.94 kB / 278 MB, free: 4.277 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.00549/0.47, allocations: 2.066 MB / 280 MB, free: 2.16 MB / 218.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.264e-05/0.4701, allocations: 8.031 kB / 280 MB, free: 2.152 MB / 218.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008546/0.471, allocations: 237.2 kB / 280.3 MB, free: 1.918 MB / 218.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0033/0.4743, allocations: 1.271 MB / 281.5 MB, free: 0.6055 MB / 218.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001058/0.4744, allocations: 68 kB / 281.6 MB, free: 0.5391 MB / 218.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003799/0.4748, allocations: 108 kB / 281.7 MB, free: 444 kB / 218.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004976/0.4798, allocations: 1.937 MB / 283.7 MB, free: 14.5 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005452/0.4853, allocations: 2.239 MB / 285.9 MB, free: 12.19 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.909e-05/0.4854, allocations: 7.906 kB / 285.9 MB, free: 12.18 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002233/0.4856, allocations: 0 / 285.9 MB, free: 12.18 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001313/0.4858, allocations: 91.84 kB / 286 MB, free: 12.09 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01677/0.5026, allocations: 7.16 MB / 293.1 MB, free: 4.758 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002933/0.5055, allocations: 1.916 MB / 295.1 MB, free: 2.66 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001492/0.5071, allocations: 0.7574 MB / 295.8 MB, free: 1.906 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.649e-05/0.5072, allocations: 13.3 kB / 295.8 MB, free: 1.895 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.509e-05/0.5072, allocations: 59.83 kB / 295.9 MB, free: 1.824 MB / 234.7 MB Notification: Performance of pre-optimization done (n=107): time 8.407e-06/0.5073, allocations: 0 / 295.9 MB, free: 1.824 MB / 234.7 MB Notification: Performance of matching and sorting (n=131): time 0.1369/0.6442, allocations: 4.962 MB / 300.9 MB, free: 47.55 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.37e-05/0.6443, allocations: 66.8 kB / 300.9 MB, free: 47.48 MB / 234.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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.001636/0.6459, allocations: 0.8876 MB / 301.8 MB, free: 47.33 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001178/0.646, allocations: 25.7 kB / 301.8 MB, free: 47.3 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004338/0.6465, allocations: 0.8397 MB / 302.7 MB, free: 46.93 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003665/0.6469, allocations: 431.3 kB / 303.1 MB, free: 46.7 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001053/0.647, allocations: 0 / 303.1 MB, free: 46.7 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.0001167/0.6471, allocations: 373.9 kB / 303.5 MB, free: 46.38 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00124/0.6484, allocations: 0.699 MB / 304.2 MB, free: 46.38 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001392/0.6498, allocations: 0.9264 MB / 305.1 MB, free: 46.16 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001551/0.6513, allocations: 0.8534 MB / 305.9 MB, free: 46.14 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.974e-06/0.6514, allocations: 2.625 kB / 305.9 MB, free: 46.14 MB / 234.7 MB Notification: Performance of matching and sorting (n=164) (initialization): time 0.004863/0.6562, allocations: 2.292 MB / 308.2 MB, free: 46.02 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.446e-05/0.6563, allocations: 7.906 kB / 308.2 MB, free: 46.02 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.975e-05/0.6563, allocations: 10.56 kB / 308.2 MB, free: 46.02 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002109/0.6585, allocations: 0.6147 MB / 308.9 MB, free: 46 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001525/0.66, allocations: 290.8 kB / 309.1 MB, free: 46 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0104/0.6704, allocations: 7.118 MB / 316.3 MB, free: 43.43 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001381/0.6718, allocations: 87.33 kB / 316.4 MB, free: 43.43 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001518/0.672, allocations: 49.47 kB / 316.4 MB, free: 43.43 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.0003632/0.6724, allocations: 141.8 kB / 316.5 MB, free: 43.32 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003228/0.6727, allocations: 129.2 kB / 316.7 MB, free: 43.26 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004944/0.6777, allocations: 2.258 MB / 318.9 MB, free: 43.15 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.678e-05/0.6777, allocations: 14.39 kB / 318.9 MB, free: 43.14 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.147e-05/0.6778, allocations: 6.719 kB / 318.9 MB, free: 43.14 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.213e-05/0.6778, allocations: 6.375 kB / 318.9 MB, free: 43.14 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009395/0.6872, allocations: 4.478 MB / 323.4 MB, free: 42.47 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.278e-05/0.6873, allocations: 3.938 kB / 323.4 MB, free: 42.47 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001271/0.6886, allocations: 222.9 kB / 323.6 MB, free: 42.46 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002264/0.6908, allocations: 0.6192 MB / 324.3 MB, free: 42.3 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001532/0.691, allocations: 14.97 kB / 324.3 MB, free: 42.3 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01007/0.7011, allocations: 6.957 MB / 331.2 MB, free: 37.98 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.274e-06/0.7011, allocations: 7.062 kB / 331.2 MB, free: 37.98 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006233/0.7074, allocations: 3.47 MB / 334.7 MB, free: 36.43 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009102/0.7083, allocations: 373.8 kB / 335.1 MB, free: 36.19 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000252/0.7086, allocations: 5.531 kB / 335.1 MB, free: 36.19 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001134/0.7098, allocations: 93.05 kB / 335.2 MB, free: 36.19 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003013/0.7101, allocations: 108.3 kB / 335.3 MB, free: 36.18 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001276/0.7102, allocations: 36.52 kB / 335.3 MB, free: 36.16 MB / 234.7 MB Notification: Performance of sorting global known variables: time 0.001122/0.7114, allocations: 0.6582 MB / 336 MB, free: 35.87 MB / 234.7 MB Notification: Performance of sort global known variables: time 8.6e-07/0.7114, allocations: 0 / 336 MB, free: 35.87 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.001931/0.7133, allocations: 394.3 kB / 336.4 MB, free: 35.87 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.0003501/0.7137, allocations: 134.4 kB / 336.5 MB, free: 35.78 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.004212/0.7179, allocations: 2.257 MB / 338.8 MB, free: 34.81 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 6.382e-06/0.718, allocations: 0 / 338.8 MB, free: 34.81 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002912/0.7209, allocations: 1.453 MB / 340.2 MB, free: 34.13 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001681/0.7226, allocations: 212.5 kB / 340.4 MB, free: 34.08 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006679/0.7293, allocations: 3.387 MB / 343.8 MB, free: 32.75 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001706/0.7311, allocations: 1.781 MB / 345.6 MB, free: 31.83 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00056/0.7316, allocations: 93.73 kB / 345.7 MB, free: 31.82 MB / 234.7 MB Notification: Performance of SimCode: time 2.224e-06/0.7317, allocations: 0 / 345.7 MB, free: 31.82 MB / 234.7 MB Notification: Performance of Templates: time 0.04914/0.7808, allocations: 39.5 MB / 385.2 MB, free: 3.23 MB / 234.7 MB