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.AIMC_Steinmetz.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.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 0.9398/0.9398, allocations: 111.1 MB / 126.7 MB, free: 6.141 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002621/0.0002624, allocations: 7.938 kB / 158.3 MB, free: 15.16 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.04617/0.04646, allocations: 25.16 MB / 183.5 MB, free: 5.969 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1824/0.2289, allocations: 44.23 MB / 227.7 MB, free: 2.27 MB / 170.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001685/0.2291, allocations: 65.53 kB / 227.8 MB, free: 2.234 MB / 170.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0879/0.317, allocations: 22.88 MB / 250.7 MB, free: 14.96 MB / 202.7 MB Notification: Performance of FrontEnd: time 2.587e-06/0.317, allocations: 0 / 250.7 MB, free: 14.96 MB / 202.7 MB Notification: Performance of Transformations before backend: time 0.0001078/0.3172, allocations: 36 kB / 250.7 MB, free: 14.93 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.004114/0.3213, allocations: 1.497 MB / 252.2 MB, free: 13.46 MB / 202.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.327e-05/0.3214, allocations: 8.031 kB / 252.2 MB, free: 13.46 MB / 202.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005913/0.322, allocations: 146.3 kB / 252.4 MB, free: 13.31 MB / 202.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002583/0.3246, allocations: 0.7975 MB / 253.2 MB, free: 12.65 MB / 202.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001369/0.3247, allocations: 84.73 kB / 253.2 MB, free: 12.6 MB / 202.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004581/0.3252, allocations: 127.6 kB / 253.4 MB, free: 12.52 MB / 202.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005341/0.3306, allocations: 1.622 MB / 255 MB, free: 10.93 MB / 202.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.274e-05/0.3307, allocations: 0 / 255 MB, free: 10.93 MB / 202.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002482/0.331, allocations: 52 kB / 255 MB, free: 10.88 MB / 202.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000112/0.3311, allocations: 58.41 kB / 255.1 MB, free: 10.82 MB / 202.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004099/0.3352, allocations: 1.337 MB / 256.4 MB, free: 9.477 MB / 202.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01191/0.3472, allocations: 4.818 MB / 261.2 MB, free: 4.551 MB / 202.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003146/0.3503, allocations: 1.557 MB / 262.8 MB, free: 2.887 MB / 202.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.443e-05/0.3505, allocations: 16.98 kB / 262.8 MB, free: 2.871 MB / 202.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.271e-05/0.3505, allocations: 43.56 kB / 262.9 MB, free: 2.82 MB / 202.7 MB Notification: Performance of pre-optimization done (n=95): time 4.141e-06/0.3505, allocations: 0 / 262.9 MB, free: 2.82 MB / 202.7 MB Notification: Performance of matching and sorting (n=116): time 0.02171/0.3723, allocations: 6.9 MB / 269.8 MB, free: 11.74 MB / 218.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.837e-05/0.3724, allocations: 64.41 kB / 269.8 MB, free: 11.66 MB / 218.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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@2/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@2/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@2/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@2/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@2/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@2/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@2/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@2/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.001302/0.3737, allocations: 0.6085 MB / 270.4 MB, free: 11.05 MB / 218.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002287/0.3739, allocations: 45.7 kB / 270.5 MB, free: 11 MB / 218.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000463/0.3744, allocations: 0.5179 MB / 271 MB, free: 10.47 MB / 218.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005275/0.3749, allocations: 398.2 kB / 271.4 MB, free: 10.08 MB / 218.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.346e-05/0.3751, allocations: 20 kB / 271.4 MB, free: 10.06 MB / 218.7 MB Notification: Performance of setup shared object (initialization): time 0.0002279/0.3753, allocations: 354.8 kB / 271.7 MB, free: 9.703 MB / 218.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00141/0.3767, allocations: 0.6038 MB / 272.4 MB, free: 9.102 MB / 218.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001578/0.3783, allocations: 0.7085 MB / 273.1 MB, free: 8.363 MB / 218.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00164/0.38, allocations: 0.7215 MB / 273.8 MB, free: 7.645 MB / 218.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.544e-06/0.38, allocations: 0 / 273.8 MB, free: 7.645 MB / 218.7 MB Notification: Performance of matching and sorting (n=136) (initialization): time 0.005673/0.3857, allocations: 2.223 MB / 276 MB, free: 5.395 MB / 218.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.64e-05/0.3858, allocations: 4 kB / 276 MB, free: 5.391 MB / 218.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.472e-05/0.3858, allocations: 4 kB / 276 MB, free: 5.387 MB / 218.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003016/0.3888, allocations: 0.8264 MB / 276.8 MB, free: 4.543 MB / 218.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009325/0.3898, allocations: 167.8 kB / 277 MB, free: 4.379 MB / 218.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02102/0.4108, allocations: 12.21 MB / 289.2 MB, free: 7.5 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001627/0.4125, allocations: 71.88 kB / 289.3 MB, free: 7.43 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002019/0.4128, allocations: 36 kB / 289.3 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.001722/0.4145, allocations: 490.8 kB / 289.8 MB, free: 6.914 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004279/0.4149, allocations: 86.97 kB / 289.9 MB, free: 6.828 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009662/0.4246, allocations: 2.237 MB / 292.1 MB, free: 4.555 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.122e-05/0.4247, allocations: 12 kB / 292.1 MB, free: 4.543 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.11e-05/0.4247, allocations: 8 kB / 292.1 MB, free: 4.535 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.982e-05/0.4248, allocations: 7.984 kB / 292.1 MB, free: 4.527 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01643/0.4413, allocations: 4.022 MB / 296.2 MB, free: 428 kB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.541e-05/0.4413, allocations: 7.984 kB / 296.2 MB, free: 420 kB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008016/0.4421, allocations: 123.9 kB / 296.3 MB, free: 296 kB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.1284/0.5705, allocations: 0.8442 MB / 297.1 MB, free: 63.08 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002003/0.5707, allocations: 31.23 kB / 297.2 MB, free: 63.08 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01611/0.5869, allocations: 12.06 MB / 309.2 MB, free: 56.73 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.513e-06/0.5869, allocations: 6.578 kB / 309.2 MB, free: 56.73 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006852/0.5938, allocations: 3.177 MB / 312.4 MB, free: 56.4 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007679/0.5946, allocations: 310.2 kB / 312.7 MB, free: 56.31 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002066/0.5948, allocations: 23.28 kB / 312.7 MB, free: 56.31 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008412/0.5957, allocations: 70.31 kB / 312.8 MB, free: 56.31 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003357/0.596, allocations: 101.6 kB / 312.9 MB, free: 56.3 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001062/0.5961, allocations: 32.56 kB / 312.9 MB, free: 56.3 MB / 234.7 MB Notification: Performance of sorting global known variables: time 0.0007536/0.5969, allocations: 472.8 kB / 313.4 MB, free: 56.2 MB / 234.7 MB Notification: Performance of sort global known variables: time 7.09e-07/0.5969, allocations: 0 / 313.4 MB, free: 56.2 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.001746/0.5987, allocations: 374 kB / 313.8 MB, free: 56.2 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.0002638/0.599, allocations: 142.9 kB / 313.9 MB, free: 56.12 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.004901/0.6039, allocations: 2.51 MB / 316.4 MB, free: 54.93 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 5.899e-06/0.6039, allocations: 7.438 kB / 316.4 MB, free: 54.93 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003518/0.6075, allocations: 1.807 MB / 318.2 MB, free: 53.85 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001683/0.6092, allocations: 226 kB / 318.4 MB, free: 53.8 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006319/0.6155, allocations: 3.846 MB / 322.3 MB, free: 51.74 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001045/0.6166, allocations: 1.378 MB / 323.7 MB, free: 50.91 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003207/0.617, allocations: 61.5 kB / 323.7 MB, free: 50.9 MB / 234.7 MB Notification: Performance of SimCode: time 1.698e-06/0.617, allocations: 0 / 323.7 MB, free: 50.9 MB / 234.7 MB Notification: Performance of Templates: time 0.05/0.667, allocations: 47.63 MB / 371.4 MB, free: 14.37 MB / 234.7 MB