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/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.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.985/0.985, allocations: 111.2 MB / 119.1 MB, free: 15.59 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 2.058e-05/2.065e-05, allocations: 4 kB / 148.1 MB, free: 2.605 MB / 122.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1439/0.144, allocations: 25.16 MB / 173.3 MB, free: 2.797 MB / 138.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.06559/0.2096, allocations: 43.47 MB / 216.8 MB, free: 9.902 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001879/0.2098, allocations: 63.97 kB / 216.8 MB, free: 9.84 MB / 186.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08651/0.2964, allocations: 22.7 MB / 239.5 MB, free: 3.004 MB / 202.7 MB Notification: Performance of FrontEnd: time 2.174e-06/0.2964, allocations: 0 / 239.5 MB, free: 3.004 MB / 202.7 MB Notification: Performance of Transformations before backend: time 9.424e-05/0.2965, allocations: 35.94 kB / 239.6 MB, free: 2.969 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.003556/0.3001, allocations: 1.377 MB / 240.9 MB, free: 1.543 MB / 202.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.455e-05/0.3002, allocations: 12.03 kB / 240.9 MB, free: 1.531 MB / 202.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006173/0.3008, allocations: 150.2 kB / 241.1 MB, free: 1.383 MB / 202.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00213/0.3029, allocations: 0.7907 MB / 241.9 MB, free: 0.5508 MB / 202.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.369e-05/0.303, allocations: 40 kB / 241.9 MB, free: 0.5117 MB / 202.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003087/0.3034, allocations: 79.92 kB / 242 MB, free: 444 kB / 202.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003171/0.3066, allocations: 1.227 MB / 243.2 MB, free: 15.2 MB / 218.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003401/0.31, allocations: 1.42 MB / 244.6 MB, free: 13.71 MB / 218.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.784e-05/0.3101, allocations: 3.906 kB / 244.7 MB, free: 13.71 MB / 218.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001519/0.3102, allocations: 7.953 kB / 244.7 MB, free: 13.7 MB / 218.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.684e-05/0.3103, allocations: 54.45 kB / 244.7 MB, free: 13.64 MB / 218.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01082/0.3212, allocations: 4.579 MB / 249.3 MB, free: 8.977 MB / 218.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002684/0.3239, allocations: 1.493 MB / 250.8 MB, free: 7.387 MB / 218.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00154/0.3255, allocations: 0.7101 MB / 251.5 MB, free: 6.676 MB / 218.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.232e-05/0.3256, allocations: 8.781 kB / 251.5 MB, free: 6.668 MB / 218.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.56e-05/0.3256, allocations: 43.34 kB / 251.5 MB, free: 6.613 MB / 218.7 MB Notification: Performance of pre-optimization done (n=95): time 4.172e-06/0.3256, allocations: 4 kB / 251.6 MB, free: 6.609 MB / 218.7 MB Notification: Performance of matching and sorting (n=116): time 0.01204/0.3377, allocations: 4.272 MB / 255.8 MB, free: 2.266 MB / 218.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.513e-05/0.3378, allocations: 64.72 kB / 255.9 MB, free: 2.191 MB / 218.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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/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/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/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/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/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/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/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/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.001127/0.3389, allocations: 0.5293 MB / 256.4 MB, free: 1.656 MB / 218.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001568/0.3391, allocations: 29.7 kB / 256.4 MB, free: 1.621 MB / 218.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004514/0.3396, allocations: 0.5217 MB / 257 MB, free: 1.094 MB / 218.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004891/0.3401, allocations: 382.2 kB / 257.3 MB, free: 0.7148 MB / 218.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.757e-05/0.3401, allocations: 0 / 257.3 MB, free: 0.7148 MB / 218.7 MB Notification: Performance of setup shared object (initialization): time 0.0002215/0.3404, allocations: 358.8 kB / 257.7 MB, free: 364 kB / 218.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.124/0.4644, allocations: 0.5578 MB / 258.2 MB, free: 57.75 MB / 218.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00132/0.4657, allocations: 0.6761 MB / 258.9 MB, free: 57.67 MB / 218.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001331/0.4671, allocations: 0.6809 MB / 259.6 MB, free: 57.66 MB / 218.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.597e-06/0.4671, allocations: 0 / 259.6 MB, free: 57.66 MB / 218.7 MB Notification: Performance of matching and sorting (n=136) (initialization): time 0.004836/0.472, allocations: 2.022 MB / 261.6 MB, free: 57.54 MB / 218.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.722e-05/0.472, allocations: 5.844 kB / 261.6 MB, free: 57.54 MB / 218.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.464e-05/0.4721, allocations: 5.594 kB / 261.6 MB, free: 57.54 MB / 218.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002559/0.4746, allocations: 0.7302 MB / 262.4 MB, free: 57.5 MB / 218.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001075/0.4758, allocations: 195 kB / 262.6 MB, free: 57.5 MB / 218.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01257/0.4884, allocations: 9.717 MB / 272.3 MB, free: 52.2 MB / 218.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008879/0.4893, allocations: 53.33 kB / 272.3 MB, free: 52.2 MB / 218.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001623/0.4895, allocations: 37 kB / 272.4 MB, free: 52.2 MB / 218.7 MB Warning: Assuming fixed start value for the following 9 variables: cStart.v:VARIABLE(unit = "V" ) "Voltage drop between the two pins (= p.v - n.v)" type: Real cRun.v:VARIABLE(unit = "V" ) "Voltage drop between the two pins (= p.v - n.v)" type: Real quadraticLoadTorque.phi:VARIABLE(unit = "rad" ) "Angle of flange with respect to support (= flange.phi - support.phi)" type: Real aimc.idq_rr[2]:VARIABLE(unit = "A" stateSelect=StateSelect.prefer ) "rotor space phasor current / rotor fixed frame" type: Real [2] aimc.idq_rr[1]:VARIABLE(unit = "A" stateSelect=StateSelect.prefer ) "rotor space phasor current / rotor fixed frame" type: Real [2] aimc.idq_sr[2]:VARIABLE(unit = "A" stateSelect=StateSelect.prefer ) "stator space phasor current / rotor fixed frame" type: Real [2] aimc.idq_sr[1]:VARIABLE(unit = "A" stateSelect=StateSelect.prefer ) "stator space phasor current / rotor fixed frame" type: Real [2] aimc.i_0_s:VARIABLE(unit = "A" stateSelect=StateSelect.prefer ) "stator zero-sequence current" type: Real aimc.inertiaRotor.w:VARIABLE(unit = "rad/s" ) "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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (95): * Single equations (assignments): 90 * 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: 4 * 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: 4 {(4,87.5%) 23,(3,100.0%) 9,(2,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003445/0.4898, allocations: 137.6 kB / 272.5 MB, free: 52.09 MB / 218.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002147/0.4901, allocations: 83.06 kB / 272.6 MB, free: 52.07 MB / 218.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004344/0.4944, allocations: 2.044 MB / 274.6 MB, free: 51.31 MB / 218.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.688e-05/0.4945, allocations: 11.84 kB / 274.6 MB, free: 51.31 MB / 218.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.256e-05/0.4945, allocations: 10.97 kB / 274.6 MB, free: 51.31 MB / 218.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.629e-05/0.4945, allocations: 11.03 kB / 274.7 MB, free: 51.31 MB / 218.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007987/0.5025, allocations: 3.675 MB / 278.3 MB, free: 49.81 MB / 218.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.009e-05/0.5026, allocations: 0 / 278.3 MB, free: 49.81 MB / 218.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009558/0.5036, allocations: 157.5 kB / 278.5 MB, free: 49.81 MB / 218.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002527/0.5061, allocations: 0.7638 MB / 279.2 MB, free: 49.59 MB / 218.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00016/0.5063, allocations: 8.281 kB / 279.3 MB, free: 49.59 MB / 218.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01177/0.5181, allocations: 9.571 MB / 288.8 MB, free: 42.69 MB / 218.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.03e-06/0.5181, allocations: 6.844 kB / 288.8 MB, free: 42.69 MB / 218.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005689/0.5238, allocations: 2.97 MB / 291.8 MB, free: 41.38 MB / 218.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006739/0.5246, allocations: 294.6 kB / 292.1 MB, free: 41.18 MB / 218.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001896/0.5248, allocations: 18.59 kB / 292.1 MB, free: 41.17 MB / 218.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008208/0.5256, allocations: 57.14 kB / 292.2 MB, free: 41.17 MB / 218.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000296/0.5259, allocations: 93.59 kB / 292.3 MB, free: 41.15 MB / 218.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001549/0.5261, allocations: 33.89 kB / 292.3 MB, free: 41.14 MB / 218.7 MB Notification: Performance of sorting global known variables: time 0.0005472/0.5266, allocations: 403.3 kB / 292.7 MB, free: 40.95 MB / 218.7 MB Notification: Performance of sort global known variables: time 8.5e-07/0.5267, allocations: 0 / 292.7 MB, free: 40.95 MB / 218.7 MB Notification: Performance of remove unused functions: time 0.001425/0.5281, allocations: 315 kB / 293 MB, free: 40.72 MB / 218.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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (76): * Single equations (assignments): 71 * 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: 4 * 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: 4 {(4,87.5%) 23,(1,100.0%) 1,(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.00024/0.5284, allocations: 115.3 kB / 293.1 MB, free: 40.6 MB / 218.7 MB Notification: Performance of simCode: created initialization part: time 0.003749/0.5321, allocations: 2.218 MB / 295.3 MB, free: 38.55 MB / 218.7 MB Notification: Performance of simCode: created event and clocks part: time 5.791e-06/0.5322, allocations: 4 kB / 295.3 MB, free: 38.54 MB / 218.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002579/0.5347, allocations: 1.561 MB / 296.9 MB, free: 37.09 MB / 218.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001317/0.5361, allocations: 178.3 kB / 297.1 MB, free: 36.95 MB / 218.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004751/0.5409, allocations: 2.665 MB / 299.7 MB, free: 34.6 MB / 218.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001005/0.5419, allocations: 1.369 MB / 301.1 MB, free: 33.42 MB / 218.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003475/0.5423, allocations: 55.44 kB / 301.1 MB, free: 33.36 MB / 218.7 MB Notification: Performance of SimCode: time 1.881e-06/0.5423, allocations: 0 / 301.1 MB, free: 33.36 MB / 218.7 MB Notification: Performance of Templates: time 0.04692/0.5892, allocations: 41.95 MB / 343.1 MB, free: 8.781 MB / 234.7 MB