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_DOL.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_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.245/1.245, allocations: 111.1 MB / 127.3 MB, free: 6.145 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002759/0.0002761, allocations: 4 kB / 158.9 MB, free: 15.23 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06763/0.06793, allocations: 25.17 MB / 184 MB, free: 6.016 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2806/0.3486, allocations: 45.63 MB / 229.7 MB, free: 0.9414 MB / 170.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002703/0.3489, allocations: 71.47 kB / 229.7 MB, free: 0.9062 MB / 170.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1181/0.4671, allocations: 28.39 MB / 258.1 MB, free: 8.496 MB / 202.7 MB Notification: Performance of FrontEnd: time 2.314e-06/0.4671, allocations: 0 / 258.1 MB, free: 8.496 MB / 202.7 MB Notification: Performance of Transformations before backend: time 0.0001677/0.4673, allocations: 51.92 kB / 258.2 MB, free: 8.445 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.007524/0.4748, allocations: 1.888 MB / 260.1 MB, free: 6.5 MB / 202.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.916e-05/0.4749, allocations: 12.03 kB / 260.1 MB, free: 6.488 MB / 202.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009845/0.4759, allocations: 185.8 kB / 260.3 MB, free: 6.305 MB / 202.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003888/0.4798, allocations: 1.121 MB / 261.4 MB, free: 5.141 MB / 202.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001926/0.4801, allocations: 111 kB / 261.5 MB, free: 5.031 MB / 202.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007331/0.4808, allocations: 155.9 kB / 261.6 MB, free: 4.879 MB / 202.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009169/0.49, allocations: 2.153 MB / 263.8 MB, free: 2.645 MB / 202.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001162/0.4902, allocations: 4 kB / 263.8 MB, free: 2.641 MB / 202.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005169/0.4907, allocations: 64 kB / 263.9 MB, free: 2.578 MB / 202.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001585/0.4909, allocations: 67.03 kB / 263.9 MB, free: 2.512 MB / 202.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008925/0.4998, allocations: 1.847 MB / 265.8 MB, free: 0.6602 MB / 202.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04318/0.5431, allocations: 5.979 MB / 271.8 MB, free: 10.56 MB / 218.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005471/0.5486, allocations: 2.023 MB / 273.8 MB, free: 8.352 MB / 218.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001464/0.5488, allocations: 12.98 kB / 273.8 MB, free: 8.34 MB / 218.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.711e-05/0.5489, allocations: 55.5 kB / 273.8 MB, free: 8.277 MB / 218.7 MB Notification: Performance of pre-optimization done (n=94): time 5.38e-06/0.5489, allocations: 0 / 273.8 MB, free: 8.277 MB / 218.7 MB Notification: Performance of matching and sorting (n=114): time 0.04008/0.589, allocations: 6.956 MB / 280.8 MB, free: 1.199 MB / 218.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.721e-05/0.5891, allocations: 64.41 kB / 280.9 MB, free: 1.125 MB / 218.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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/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/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/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/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/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/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.003872/0.593, allocations: 0.9637 MB / 281.8 MB, free: 156 kB / 218.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003946/0.5935, allocations: 41.7 kB / 281.9 MB, free: 108 kB / 218.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001042/0.5946, allocations: 0.658 MB / 282.5 MB, free: 15.44 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009598/0.5956, allocations: 386.3 kB / 282.9 MB, free: 15.05 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001864/0.5958, allocations: 20 kB / 282.9 MB, free: 15.04 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.0002996/0.5961, allocations: 362.8 kB / 283.3 MB, free: 14.67 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003091/0.5992, allocations: 0.6971 MB / 284 MB, free: 13.98 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003393/0.6027, allocations: 0.7975 MB / 284.8 MB, free: 13.16 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003138/0.6059, allocations: 0.8101 MB / 285.6 MB, free: 12.36 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.625e-06/0.6059, allocations: 0 / 285.6 MB, free: 12.36 MB / 234.7 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.007469/0.6134, allocations: 2.242 MB / 287.8 MB, free: 10.09 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.356e-05/0.6135, allocations: 8 kB / 287.8 MB, free: 10.09 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.467e-05/0.6135, allocations: 0 / 287.8 MB, free: 10.09 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003117/0.6167, allocations: 0.6611 MB / 288.5 MB, free: 9.414 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001783/0.6185, allocations: 215.6 kB / 288.7 MB, free: 9.203 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01701/0.6355, allocations: 8.362 MB / 297.1 MB, free: 448 kB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001445/0.637, allocations: 79.91 kB / 297.1 MB, free: 368 kB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001316/0.6372, allocations: 32 kB / 297.2 MB, free: 336 kB / 234.7 MB Warning: Assuming fixed start value for the following 7 variables: quadraticLoadTorque.phi:VARIABLE(unit = "rad" fixed = true ) "Angle of flange with respect to support (= flange.phi - support.phi)" type: Real loadInertia.w:VARIABLE(unit = "rad/s" fixed = true ) "Absolute angular velocity of component (= der(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 Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 3 (booleanStep[1].y,booleanStep[2].y,booleanStep[3].y) * Number of discrete states: 0 () * Number of clocked 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.1622/0.7994, allocations: 0.6273 MB / 297.8 MB, free: 59.26 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005686/0.8, allocations: 104.7 kB / 297.9 MB, free: 59.26 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009501/0.8095, allocations: 2.337 MB / 300.2 MB, free: 59.17 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.16e-05/0.8096, allocations: 10.91 kB / 300.2 MB, free: 59.17 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.549e-05/0.8096, allocations: 7.875 kB / 300.3 MB, free: 59.17 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.402e-05/0.8096, allocations: 7.484 kB / 300.3 MB, free: 59.17 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01631/0.8259, allocations: 4.373 MB / 304.6 MB, free: 58.77 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.5e-05/0.826, allocations: 2.094 kB / 304.6 MB, free: 58.77 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002017/0.828, allocations: 174.4 kB / 304.8 MB, free: 58.77 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004368/0.8324, allocations: 0.6867 MB / 305.5 MB, free: 58.74 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002402/0.8327, allocations: 28.78 kB / 305.5 MB, free: 58.74 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01996/0.8527, allocations: 8.226 MB / 313.7 MB, free: 54.91 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.782e-06/0.8527, allocations: 6.719 kB / 313.8 MB, free: 54.91 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01155/0.8643, allocations: 3.37 MB / 317.1 MB, free: 53.77 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001178/0.8655, allocations: 353.8 kB / 317.5 MB, free: 53.59 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004046/0.866, allocations: 30.36 kB / 317.5 MB, free: 53.57 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001362/0.8674, allocations: 80.8 kB / 317.6 MB, free: 53.56 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004505/0.8678, allocations: 98.56 kB / 317.7 MB, free: 53.55 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001208/0.868, allocations: 30.41 kB / 317.7 MB, free: 53.54 MB / 234.7 MB Notification: Performance of sorting global known variables: time 0.001444/0.8694, allocations: 0.6611 MB / 318.4 MB, free: 53.28 MB / 234.7 MB Notification: Performance of sort global known variables: time 8.01e-07/0.8695, allocations: 3.172 kB / 318.4 MB, free: 53.28 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.00207/0.8715, allocations: 382.4 kB / 318.7 MB, free: 53.24 MB / 234.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (85): * Single equations (assignments): 81 * 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.0004151/0.872, allocations: 138.5 kB / 318.9 MB, free: 53.14 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.006391/0.8784, allocations: 2.374 MB / 321.3 MB, free: 52.06 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 8.266e-06/0.8785, allocations: 3.594 kB / 321.3 MB, free: 52.06 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0044/0.8829, allocations: 1.58 MB / 322.8 MB, free: 51.25 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002662/0.8856, allocations: 267.1 kB / 323.1 MB, free: 51.18 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009562/0.8952, allocations: 4.484 MB / 327.6 MB, free: 48.84 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001788/0.897, allocations: 1.638 MB / 329.2 MB, free: 47.95 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006374/0.8977, allocations: 72.89 kB / 329.3 MB, free: 47.94 MB / 234.7 MB Notification: Performance of SimCode: time 2.625e-06/0.8977, allocations: 4 kB / 329.3 MB, free: 47.93 MB / 234.7 MB Notification: Performance of Templates: time 0.0899/0.9876, allocations: 49.05 MB / 378.3 MB, free: 7.707 MB / 234.7 MB