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.AIMC_Steinmetz.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.AIMC_Steinmetz,tolerance=1e-06,outputFormat="empty",numberOfIntervals=3000,variableFilter="",fileNamePrefix="Modelica_3.1_cpp_Modelica.Electrical.Machines.Examples.AIMC_Steinmetz") Notification: Performance of loadModel(Modelica): time 1.033/1.033, allocations: 111.1 MB / 127.3 MB, free: 6.145 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002605/0.000261, allocations: 4 kB / 158.9 MB, free: 15.23 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05208/0.05237, allocations: 25.17 MB / 184 MB, free: 6.02 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2235/0.2759, allocations: 44.21 MB / 228.2 MB, free: 2.371 MB / 170.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002448/0.2762, allocations: 71.58 kB / 228.3 MB, free: 2.332 MB / 170.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09555/0.3717, allocations: 22.89 MB / 251.2 MB, free: 15.05 MB / 202.7 MB Notification: Performance of FrontEnd: time 2.495e-06/0.3718, allocations: 4 kB / 251.2 MB, free: 15.04 MB / 202.7 MB Notification: Performance of Transformations before backend: time 0.0001081/0.3719, allocations: 28 kB / 251.2 MB, free: 15.02 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: 315 * Number of variables: 315 Notification: Performance of Generate backend data structure: time 0.005089/0.377, allocations: 1.487 MB / 252.7 MB, free: 13.56 MB / 202.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.859e-05/0.3771, allocations: 12.03 kB / 252.7 MB, free: 13.55 MB / 202.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006534/0.3778, allocations: 146.3 kB / 252.9 MB, free: 13.41 MB / 202.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002163/0.3799, allocations: 0.7935 MB / 253.7 MB, free: 12.75 MB / 202.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001019/0.3801, allocations: 88.23 kB / 253.8 MB, free: 12.7 MB / 202.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003448/0.3804, allocations: 125.4 kB / 253.9 MB, free: 12.62 MB / 202.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004596/0.385, allocations: 1.634 MB / 255.5 MB, free: 11.01 MB / 202.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.715e-05/0.3852, allocations: 3.984 kB / 255.5 MB, free: 11.01 MB / 202.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002041/0.3854, allocations: 52 kB / 255.6 MB, free: 10.96 MB / 202.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001019/0.3855, allocations: 58.41 kB / 255.6 MB, free: 10.9 MB / 202.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004163/0.3897, allocations: 1.337 MB / 257 MB, free: 9.555 MB / 202.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01392/0.4036, allocations: 4.818 MB / 261.8 MB, free: 4.633 MB / 202.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003745/0.4074, allocations: 1.554 MB / 263.3 MB, free: 2.973 MB / 202.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001268/0.4076, allocations: 13 kB / 263.4 MB, free: 2.961 MB / 202.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.348e-05/0.4076, allocations: 43.55 kB / 263.4 MB, free: 2.91 MB / 202.7 MB Notification: Performance of pre-optimization done (n=95): time 3.657e-06/0.4077, allocations: 0 / 263.4 MB, free: 2.91 MB / 202.7 MB Notification: Performance of matching and sorting (n=116): time 0.02849/0.4362, allocations: 6.9 MB / 270.3 MB, free: 11.83 MB / 218.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.531e-05/0.4363, allocations: 68.41 kB / 270.4 MB, free: 11.75 MB / 218.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Electrical/Machines.mo:1719:9-1721:75:writable] Warning: Parameter aimc.Rr 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:1716:9-1718:75:writable] Warning: Parameter aimc.Lrsigma has no value, and is fixed during initialization (fixed=true), using available start value (start=0.1017764061411688 / (6.283185307179586 * aimc.fsNominal)) as default value. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Electrical/Machines.mo:1713:9-1715:75:writable] Warning: Parameter aimc.Lm has no value, and is fixed during initialization (fixed=true), using available start value (start=2.898223593858831 / (6.283185307179586 * aimc.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 aimc.Lssigma has no value, and is fixed during initialization (fixed=true), using available start value (start=0.1017764061411688 / (6.283185307179586 * aimc.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 aimc.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 aimc.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 aimc.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 aimc.Js has no value, and is fixed during initialization (fixed=true), using available start value (start=aimc.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 aimc.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.001597/0.4379, allocations: 0.6747 MB / 271 MB, free: 11.07 MB / 218.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003032/0.4382, allocations: 49.7 kB / 271.1 MB, free: 11.02 MB / 218.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004952/0.4387, allocations: 0.5179 MB / 271.6 MB, free: 10.49 MB / 218.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006844/0.4394, allocations: 394.2 kB / 272 MB, free: 10.1 MB / 218.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001159/0.4396, allocations: 20 kB / 272 MB, free: 10.08 MB / 218.7 MB Notification: Performance of setup shared object (initialization): time 0.0002087/0.4398, allocations: 354.8 kB / 272.4 MB, free: 9.727 MB / 218.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00175/0.4415, allocations: 0.6037 MB / 273 MB, free: 9.121 MB / 218.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001938/0.4435, allocations: 0.7124 MB / 273.7 MB, free: 8.383 MB / 218.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00205/0.4456, allocations: 0.7215 MB / 274.4 MB, free: 7.656 MB / 218.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.162e-06/0.4457, allocations: 0 / 274.4 MB, free: 7.656 MB / 218.7 MB Notification: Performance of matching and sorting (n=136) (initialization): time 0.006996/0.4527, allocations: 2.223 MB / 276.6 MB, free: 5.402 MB / 218.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.098e-05/0.4527, allocations: 8 kB / 276.6 MB, free: 5.395 MB / 218.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.448e-05/0.4528, allocations: 0 / 276.6 MB, free: 5.395 MB / 218.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003698/0.4565, allocations: 0.8264 MB / 277.4 MB, free: 4.551 MB / 218.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001311/0.4578, allocations: 171.7 kB / 277.6 MB, free: 4.383 MB / 218.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02174/0.4796, allocations: 12.21 MB / 289.8 MB, free: 7.5 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001215/0.4809, allocations: 72.11 kB / 289.9 MB, free: 7.43 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001374/0.481, allocations: 36 kB / 289.9 MB, free: 7.395 MB / 234.7 MB Warning: Assuming fixed start value for the following 9 variables: cStart.v:VARIABLE(unit = "V" fixed = true ) "Voltage drop between the two pins (= p.v - n.v)" type: Real cRun.v:VARIABLE(unit = "V" fixed = true ) "Voltage drop between the two pins (= p.v - n.v)" type: Real quadraticLoadTorque.phi:VARIABLE(unit = "rad" fixed = true ) "Angle of flange with respect to support (= flange.phi - support.phi)" type: Real aimc.idq_rr[2]:VARIABLE(unit = "A" fixed = true stateSelect=StateSelect.prefer ) "rotor space phasor current / rotor fixed frame" type: Real [2] aimc.idq_rr[1]:VARIABLE(unit = "A" fixed = true stateSelect=StateSelect.prefer ) "rotor space phasor current / rotor fixed frame" type: Real [2] aimc.idq_sr[2]:VARIABLE(unit = "A" fixed = true stateSelect=StateSelect.prefer ) "stator space phasor current / rotor fixed frame" type: Real [2] aimc.idq_sr[1]:VARIABLE(unit = "A" fixed = true stateSelect=StateSelect.prefer ) "stator space phasor current / rotor fixed frame" type: Real [2] aimc.i_0_s:VARIABLE(unit = "A" fixed = true stateSelect=StateSelect.prefer ) "stator zero-sequence current" type: Real aimc.inertiaRotor.w:VARIABLE(unit = "rad/s" fixed = true ) "Absolute angular velocity of component (= der(phi))" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 2 (booleanStep.y,greaterThreshold.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (86): * Single equations (assignments): 80 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(4,87.5%) 23,(2,100.0%) 8,(3,100.0%) 9,(2,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001344/0.4824, allocations: 490.4 kB / 290.4 MB, free: 6.91 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003045/0.4827, allocations: 86.97 kB / 290.5 MB, free: 6.824 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006928/0.4896, allocations: 2.237 MB / 292.7 MB, free: 4.559 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.805e-05/0.4897, allocations: 8 kB / 292.7 MB, free: 4.551 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.231e-05/0.4897, allocations: 12 kB / 292.8 MB, free: 4.539 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.808e-05/0.4898, allocations: 7.969 kB / 292.8 MB, free: 4.531 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01199/0.5018, allocations: 4.014 MB / 296.8 MB, free: 440 kB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.652e-05/0.5018, allocations: 4 kB / 296.8 MB, free: 436 kB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001173/0.503, allocations: 131.8 kB / 296.9 MB, free: 304 kB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.1593/0.6623, allocations: 0.8495 MB / 297.8 MB, free: 62.88 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002372/0.6626, allocations: 29.86 kB / 297.8 MB, free: 62.88 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01831/0.6809, allocations: 12.06 MB / 309.8 MB, free: 56.52 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.673e-06/0.681, allocations: 10.58 kB / 309.9 MB, free: 56.51 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008413/0.6894, allocations: 3.124 MB / 313 MB, free: 56.25 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008907/0.6904, allocations: 304.9 kB / 313.3 MB, free: 56.16 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002794/0.6907, allocations: 25 kB / 313.3 MB, free: 56.16 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001069/0.6918, allocations: 76.16 kB / 313.4 MB, free: 56.16 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003972/0.6922, allocations: 101 kB / 313.5 MB, free: 56.15 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001107/0.6923, allocations: 31.39 kB / 313.5 MB, free: 56.15 MB / 234.7 MB Notification: Performance of sorting global known variables: time 0.0008792/0.6932, allocations: 476.3 kB / 314 MB, free: 56.06 MB / 234.7 MB Notification: Performance of sort global known variables: time 4.4e-07/0.6932, allocations: 0 / 314 MB, free: 56.06 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.001973/0.6952, allocations: 373.9 kB / 314.3 MB, free: 56.06 MB / 234.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 9 (aimc.inertiaRotor.w,aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],quadraticLoadTorque.phi,cRun.v,cStart.v) * Number of discrete variables: 2 (booleanStep.y,greaterThreshold.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (67): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(4,87.5%) 23,(1,100.0%) 1,(2,100.0%) 8,(3,100.0%) 9,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000343/0.6956, allocations: 139.2 kB / 314.5 MB, free: 55.97 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.006182/0.7018, allocations: 2.516 MB / 317 MB, free: 54.85 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 6.683e-06/0.7018, allocations: 2 kB / 317 MB, free: 54.85 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004266/0.7061, allocations: 1.815 MB / 318.8 MB, free: 53.77 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002157/0.7083, allocations: 208.8 kB / 319 MB, free: 53.71 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007516/0.7158, allocations: 3.854 MB / 322.9 MB, free: 51.66 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001125/0.717, allocations: 1.378 MB / 324.2 MB, free: 50.84 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004074/0.7174, allocations: 62.89 kB / 324.3 MB, free: 50.83 MB / 234.7 MB Notification: Performance of SimCode: time 1.322e-06/0.7175, allocations: 0 / 324.3 MB, free: 50.83 MB / 234.7 MB Notification: Performance of Templates: time 0.06368/0.7811, allocations: 47.63 MB / 371.9 MB, free: 14.19 MB / 234.7 MB