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_DOL.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_DOL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=3000,variableFilter="",fileNamePrefix="Modelica_3.1_cpp_Modelica.Electrical.Machines.Examples.AIMC_DOL") Notification: Performance of loadModel(Modelica): time 1.066/1.066, allocations: 111.2 MB / 124.2 MB, free: 11.21 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 2.911e-05/2.932e-05, allocations: 4 kB / 154.3 MB, free: 13.2 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1518/0.1519, allocations: 25.15 MB / 179.4 MB, free: 0.8008 MB / 138.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.06811/0.22, allocations: 45.55 MB / 225 MB, free: 3.543 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002033/0.2203, allocations: 67.97 kB / 225 MB, free: 3.477 MB / 186.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2266/0.4469, allocations: 28.46 MB / 253.5 MB, free: 45.31 MB / 202.7 MB Notification: Performance of FrontEnd: time 1.906e-06/0.447, allocations: 6.812 kB / 253.5 MB, free: 45.31 MB / 202.7 MB Notification: Performance of Transformations before backend: time 0.0001158/0.4471, allocations: 40.97 kB / 253.6 MB, free: 45.31 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: 390 * Number of variables: 390 Notification: Performance of Generate backend data structure: time 0.003737/0.4508, allocations: 1.74 MB / 255.3 MB, free: 44.52 MB / 202.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.891e-05/0.4509, allocations: 7.031 kB / 255.3 MB, free: 44.52 MB / 202.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005029/0.4514, allocations: 192.6 kB / 255.5 MB, free: 44.42 MB / 202.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002284/0.4537, allocations: 1.107 MB / 256.6 MB, free: 44.07 MB / 202.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001019/0.4538, allocations: 115.6 kB / 256.7 MB, free: 44.07 MB / 202.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003228/0.4542, allocations: 151.2 kB / 256.9 MB, free: 44.07 MB / 202.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003903/0.4581, allocations: 2.091 MB / 258.9 MB, free: 43.46 MB / 202.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.771e-05/0.4582, allocations: 15.66 kB / 259 MB, free: 43.45 MB / 202.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00021/0.4584, allocations: 62.53 kB / 259 MB, free: 43.41 MB / 202.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.458e-05/0.4585, allocations: 70.28 kB / 259.1 MB, free: 43.4 MB / 202.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003817/0.4623, allocations: 1.753 MB / 260.8 MB, free: 42.74 MB / 202.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01221/0.4746, allocations: 5.979 MB / 266.8 MB, free: 38.97 MB / 202.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002452/0.4771, allocations: 1.974 MB / 268.8 MB, free: 36.98 MB / 202.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001498/0.4786, allocations: 0.8412 MB / 269.6 MB, free: 36.25 MB / 202.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.607e-05/0.4787, allocations: 12.78 kB / 269.7 MB, free: 36.23 MB / 202.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.59e-05/0.4787, allocations: 47.03 kB / 269.7 MB, free: 36.18 MB / 202.7 MB Notification: Performance of pre-optimization done (n=94): time 4.719e-06/0.4787, allocations: 0 / 269.7 MB, free: 36.18 MB / 202.7 MB Notification: Performance of matching and sorting (n=114): time 0.01556/0.4943, allocations: 5.899 MB / 275.6 MB, free: 30.66 MB / 202.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.185e-05/0.4944, allocations: 64.41 kB / 275.7 MB, free: 30.59 MB / 202.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Electrical/MultiPhase.mo:1627:7-1628:56:writable] Warning: Parameter idealCloser.Goff[3] has no value, and is fixed during initialization (fixed=true), using available start value (start=1e-05) as default value. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Electrical/MultiPhase.mo:1627:7-1628:56:writable] Warning: Parameter idealCloser.Goff[2] has no value, and is fixed during initialization (fixed=true), using available start value (start=1e-05) as default value. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Electrical/MultiPhase.mo:1627:7-1628:56:writable] Warning: Parameter idealCloser.Goff[1] has no value, and is fixed during initialization (fixed=true), using available start value (start=1e-05) as default value. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Electrical/MultiPhase.mo:1625:7-1626:55:writable] Warning: Parameter idealCloser.Ron[3] has no value, and is fixed during initialization (fixed=true), using available start value (start=1e-05) as default value. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Electrical/MultiPhase.mo:1625:7-1626:55:writable] Warning: Parameter idealCloser.Ron[2] has no value, and is fixed during initialization (fixed=true), using available start value (start=1e-05) as default value. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Electrical/MultiPhase.mo:1625:7-1626:55:writable] Warning: Parameter idealCloser.Ron[1] has no value, and is fixed during initialization (fixed=true), using available start value (start=1e-05) as default value. [/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.001558/0.496, allocations: 0.876 MB / 276.5 MB, free: 29.71 MB / 202.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001487/0.4961, allocations: 41.7 kB / 276.6 MB, free: 29.66 MB / 202.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003278/0.4965, allocations: 0.6464 MB / 277.2 MB, free: 29 MB / 202.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003135/0.4968, allocations: 393.8 kB / 277.6 MB, free: 28.62 MB / 202.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.875e-05/0.4969, allocations: 20 kB / 277.6 MB, free: 28.61 MB / 202.7 MB Notification: Performance of setup shared object (initialization): time 8.92e-05/0.497, allocations: 350.8 kB / 278 MB, free: 28.25 MB / 202.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001125/0.4981, allocations: 0.666 MB / 278.6 MB, free: 27.59 MB / 202.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001191/0.4993, allocations: 0.7633 MB / 279.4 MB, free: 26.81 MB / 202.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001266/0.5006, allocations: 0.7652 MB / 280.2 MB, free: 26.04 MB / 202.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.354e-06/0.5006, allocations: 3.953 kB / 280.2 MB, free: 26.04 MB / 202.7 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.004195/0.5048, allocations: 2.164 MB / 282.3 MB, free: 23.86 MB / 202.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.496e-05/0.5049, allocations: 4 kB / 282.3 MB, free: 23.85 MB / 202.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.214e-05/0.5049, allocations: 4 kB / 282.3 MB, free: 23.85 MB / 202.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002087/0.507, allocations: 0.663 MB / 283 MB, free: 23.18 MB / 202.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001131/0.5082, allocations: 203.7 kB / 283.2 MB, free: 22.98 MB / 202.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01089/0.5191, allocations: 8.154 MB / 291.4 MB, free: 14.43 MB / 202.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001086/0.5202, allocations: 83.66 kB / 291.4 MB, free: 14.36 MB / 202.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001195/0.5203, allocations: 32 kB / 291.5 MB, free: 14.32 MB / 202.7 MB Warning: Assuming fixed start value for the following 7 variables: quadraticLoadTorque.phi:VARIABLE(unit = "rad" ) "Angle of flange with respect to support (= flange.phi - support.phi)" type: Real loadInertia.w:VARIABLE(unit = "rad/s" ) "Absolute angular velocity of component (= der(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 Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 3 (booleanStep[1].y,booleanStep[2].y,booleanStep[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (98): * Single equations (assignments): 94 * 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: 3 * 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: 3 {(4,87.5%) 23,(2,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003596/0.5207, allocations: 176.3 kB / 291.6 MB, free: 14.15 MB / 202.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002396/0.521, allocations: 110.7 kB / 291.7 MB, free: 14.04 MB / 202.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004822/0.5258, allocations: 2.248 MB / 294 MB, free: 11.77 MB / 202.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.351e-05/0.5258, allocations: 12 kB / 294 MB, free: 11.76 MB / 202.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.914e-06/0.5259, allocations: 4 kB / 294 MB, free: 11.75 MB / 202.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.572e-05/0.5259, allocations: 7.984 kB / 294 MB, free: 11.75 MB / 202.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009402/0.5353, allocations: 4.31 MB / 298.3 MB, free: 7.379 MB / 202.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.067e-06/0.5353, allocations: 0 / 298.3 MB, free: 7.379 MB / 202.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001154/0.5365, allocations: 179.9 kB / 298.5 MB, free: 7.203 MB / 202.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002609/0.5391, allocations: 0.6942 MB / 299.2 MB, free: 6.496 MB / 202.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001841/0.5394, allocations: 27.98 kB / 299.2 MB, free: 6.469 MB / 202.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01122/0.5506, allocations: 7.995 MB / 307.2 MB, free: 14.09 MB / 218.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.837e-06/0.5506, allocations: 0 / 307.2 MB, free: 14.09 MB / 218.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007216/0.5579, allocations: 3.305 MB / 310.5 MB, free: 10.71 MB / 218.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009734/0.5589, allocations: 347.7 kB / 310.9 MB, free: 10.36 MB / 218.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002458/0.5591, allocations: 24 kB / 310.9 MB, free: 10.33 MB / 218.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009123/0.5601, allocations: 83.91 kB / 311 MB, free: 10.25 MB / 218.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003697/0.5605, allocations: 100.7 kB / 311.1 MB, free: 10.15 MB / 218.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001227/0.5606, allocations: 31.98 kB / 311.1 MB, free: 10.12 MB / 218.7 MB Notification: Performance of sorting global known variables: time 0.001306/0.5619, allocations: 0.663 MB / 311.8 MB, free: 9.457 MB / 218.7 MB Notification: Performance of sort global known variables: time 7.97e-07/0.5619, allocations: 0 / 311.8 MB, free: 9.457 MB / 218.7 MB Notification: Performance of remove unused functions: time 0.001759/0.5637, allocations: 380 kB / 312.1 MB, free: 9.086 MB / 218.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 7 (aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],loadInertia.w,quadraticLoadTorque.phi) * Number of discrete variables: 3 (booleanStep[1].y,booleanStep[2].y,booleanStep[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (86): * Single equations (assignments): 82 * 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: 3 * 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: 3 {(4,87.5%) 23,(1,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003177/0.564, allocations: 146.1 kB / 312.3 MB, free: 8.941 MB / 218.7 MB Notification: Performance of simCode: created initialization part: time 0.004982/0.569, allocations: 2.282 MB / 314.6 MB, free: 6.598 MB / 218.7 MB Notification: Performance of simCode: created event and clocks part: time 5.804e-06/0.5691, allocations: 0 / 314.6 MB, free: 6.598 MB / 218.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003379/0.5725, allocations: 1.541 MB / 316.1 MB, free: 5 MB / 218.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001879/0.5744, allocations: 271.6 kB / 316.4 MB, free: 4.742 MB / 218.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007299/0.5817, allocations: 3.19 MB / 319.6 MB, free: 1.539 MB / 218.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001984/0.5837, allocations: 1.635 MB / 321.2 MB, free: 15.87 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005028/0.5843, allocations: 75.42 kB / 321.3 MB, free: 15.8 MB / 234.7 MB Notification: Performance of SimCode: time 2.11e-06/0.5843, allocations: 0 / 321.3 MB, free: 15.8 MB / 234.7 MB Notification: Performance of Templates: time 0.1906/0.7749, allocations: 49.01 MB / 370.3 MB, free: 49.56 MB / 234.7 MB