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/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_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.175/1.175, allocations: 111.2 MB / 119.1 MB, free: 11.16 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 1.643e-05/1.653e-05, allocations: 0 / 148.1 MB, free: 6.227 MB / 122.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.04525/0.04529, allocations: 25.18 MB / 173.3 MB, free: 13 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.186/0.2313, allocations: 44.88 MB / 218.2 MB, free: 5.344 MB / 170.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001977/0.2316, allocations: 72.45 kB / 218.2 MB, free: 5.332 MB / 170.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1371/0.3687, allocations: 28.14 MB / 246.4 MB, free: 3.75 MB / 186.7 MB Notification: Performance of FrontEnd: time 2.321e-06/0.3688, allocations: 0 / 246.4 MB, free: 3.75 MB / 186.7 MB Notification: Performance of Transformations before backend: time 0.0001614/0.3689, allocations: 47.94 kB / 246.4 MB, free: 3.703 MB / 186.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.005186/0.3741, allocations: 1.733 MB / 248.2 MB, free: 2.023 MB / 186.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.668e-05/0.3742, allocations: 12.03 kB / 248.2 MB, free: 2.012 MB / 186.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008067/0.375, allocations: 185.8 kB / 248.4 MB, free: 1.828 MB / 186.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003261/0.3783, allocations: 1.113 MB / 249.5 MB, free: 0.8203 MB / 186.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001215/0.3785, allocations: 52 kB / 249.5 MB, free: 0.7695 MB / 186.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005662/0.379, allocations: 91.86 kB / 249.6 MB, free: 0.6797 MB / 186.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00463/0.3837, allocations: 1.681 MB / 251.3 MB, free: 15 MB / 202.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005149/0.3889, allocations: 1.874 MB / 253.2 MB, free: 13.04 MB / 202.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.687e-05/0.389, allocations: 4 kB / 253.2 MB, free: 13.04 MB / 202.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001968/0.3892, allocations: 0 / 253.2 MB, free: 13.04 MB / 202.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000104/0.3893, allocations: 67.03 kB / 253.2 MB, free: 12.97 MB / 202.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01393/0.4033, allocations: 5.707 MB / 259 MB, free: 7.156 MB / 202.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003345/0.4066, allocations: 1.933 MB / 260.9 MB, free: 5.051 MB / 202.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001609/0.4083, allocations: 0.7326 MB / 261.6 MB, free: 4.316 MB / 202.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.924e-05/0.4084, allocations: 12.78 kB / 261.6 MB, free: 4.301 MB / 202.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.745e-05/0.4085, allocations: 43.34 kB / 261.7 MB, free: 4.25 MB / 202.7 MB Notification: Performance of pre-optimization done (n=94): time 6.419e-06/0.4085, allocations: 7.984 kB / 261.7 MB, free: 4.242 MB / 202.7 MB Notification: Performance of matching and sorting (n=114): time 0.01291/0.4214, allocations: 4.601 MB / 266.3 MB, free: 15.57 MB / 218.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.928e-05/0.4215, allocations: 64.72 kB / 266.3 MB, free: 15.5 MB / 218.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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/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/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/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/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/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/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.001741/0.4233, allocations: 0.7953 MB / 267.1 MB, free: 14.7 MB / 218.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002149/0.4235, allocations: 25.7 kB / 267.2 MB, free: 14.66 MB / 218.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005929/0.4241, allocations: 0.6463 MB / 267.8 MB, free: 14.01 MB / 218.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004791/0.4246, allocations: 378.3 kB / 268.2 MB, free: 13.63 MB / 218.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.27e-05/0.4247, allocations: 0 / 268.2 MB, free: 13.63 MB / 218.7 MB Notification: Performance of setup shared object (initialization): time 0.0002183/0.4249, allocations: 350.8 kB / 268.5 MB, free: 13.28 MB / 218.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00132/0.4263, allocations: 0.6429 MB / 269.2 MB, free: 12.64 MB / 218.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001424/0.4277, allocations: 0.738 MB / 269.9 MB, free: 11.88 MB / 218.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001599/0.4293, allocations: 0.753 MB / 270.7 MB, free: 11.13 MB / 218.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.58e-06/0.4294, allocations: 0 / 270.7 MB, free: 11.13 MB / 218.7 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.004989/0.4344, allocations: 2.081 MB / 272.7 MB, free: 9.031 MB / 218.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.589e-05/0.4345, allocations: 8 kB / 272.7 MB, free: 9.023 MB / 218.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.252e-05/0.4345, allocations: 7.938 kB / 272.8 MB, free: 9.016 MB / 218.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002588/0.4371, allocations: 0.6608 MB / 273.4 MB, free: 8.344 MB / 218.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001261/0.4384, allocations: 199.7 kB / 273.6 MB, free: 8.148 MB / 218.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01301/0.4514, allocations: 7.835 MB / 281.4 MB, free: 15.96 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001051/0.4525, allocations: 59.95 kB / 281.5 MB, free: 15.9 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001607/0.4527, allocations: 31.98 kB / 281.5 MB, free: 15.87 MB / 234.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: 5 * 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.000411/0.4531, allocations: 130.8 kB / 281.7 MB, free: 15.74 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003367/0.4535, allocations: 106.7 kB / 281.8 MB, free: 15.64 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005221/0.4587, allocations: 2.158 MB / 283.9 MB, free: 13.45 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.199e-05/0.4588, allocations: 12 kB / 283.9 MB, free: 13.44 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.472e-05/0.4588, allocations: 7.953 kB / 283.9 MB, free: 13.43 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.443e-05/0.4588, allocations: 7.969 kB / 284 MB, free: 13.43 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01034/0.4692, allocations: 4 MB / 288 MB, free: 9.359 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.149e-05/0.4692, allocations: 3.938 kB / 288 MB, free: 9.355 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001423/0.4707, allocations: 175.8 kB / 288.1 MB, free: 9.184 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002679/0.4734, allocations: 0.6828 MB / 288.8 MB, free: 8.488 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000213/0.4736, allocations: 11.98 kB / 288.8 MB, free: 8.477 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01266/0.4863, allocations: 7.692 MB / 296.5 MB, free: 448 kB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.242e-06/0.4864, allocations: 8 kB / 296.5 MB, free: 440 kB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1334/0.6198, allocations: 3.173 MB / 299.7 MB, free: 61.67 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009622/0.6208, allocations: 348.9 kB / 300 MB, free: 61.57 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003043/0.6211, allocations: 11.88 kB / 300 MB, free: 61.57 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001063/0.6222, allocations: 62.34 kB / 300.1 MB, free: 61.57 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000349/0.6226, allocations: 97.75 kB / 300.2 MB, free: 61.57 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001188/0.6227, allocations: 34.14 kB / 300.2 MB, free: 61.57 MB / 234.7 MB Notification: Performance of sorting global known variables: time 0.001108/0.6239, allocations: 0.5816 MB / 300.8 MB, free: 61.48 MB / 234.7 MB Notification: Performance of sort global known variables: time 1.37e-06/0.6239, allocations: 0 / 300.8 MB, free: 61.48 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.002048/0.6259, allocations: 339.9 kB / 301.1 MB, free: 61.48 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 () * 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.0003882/0.6264, allocations: 123.3 kB / 301.3 MB, free: 61.39 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.004438/0.6308, allocations: 2.214 MB / 303.5 MB, free: 60.94 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 6.871e-06/0.6309, allocations: 2.375 kB / 303.5 MB, free: 60.94 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003073/0.634, allocations: 1.488 MB / 305 MB, free: 60.51 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001777/0.6358, allocations: 221.4 kB / 305.2 MB, free: 60.51 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006457/0.6423, allocations: 3.111 MB / 308.3 MB, free: 59.85 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00144/0.6438, allocations: 1.639 MB / 309.9 MB, free: 59.12 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005011/0.6443, allocations: 72.17 kB / 310 MB, free: 59.11 MB / 234.7 MB Notification: Performance of SimCode: time 1.708e-06/0.6443, allocations: 0 / 310 MB, free: 59.11 MB / 234.7 MB Notification: Performance of Templates: time 0.05746/0.7018, allocations: 48.56 MB / 358.6 MB, free: 28.89 MB / 234.7 MB