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_Inverter.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_Inverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=3000,variableFilter="",fileNamePrefix="Modelica_3.1_cpp_Modelica.Electrical.Machines.Examples.AIMC_Inverter") Notification: Performance of loadModel(Modelica): time 1.213/1.213, allocations: 111.1 MB / 127.3 MB, free: 6.141 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003817/0.0003818, allocations: 8 kB / 158.9 MB, free: 15.22 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08149/0.0819, allocations: 25.16 MB / 184 MB, free: 6.016 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.284/0.366, allocations: 44.29 MB / 228.3 MB, free: 2.27 MB / 170.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002224/0.3663, allocations: 71.78 kB / 228.4 MB, free: 2.234 MB / 170.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1094/0.4757, allocations: 24.29 MB / 252.7 MB, free: 13.77 MB / 202.7 MB Notification: Performance of FrontEnd: time 2.946e-06/0.4758, allocations: 0 / 252.7 MB, free: 13.77 MB / 202.7 MB Notification: Performance of Transformations before backend: time 0.0001413/0.4759, allocations: 35.94 kB / 252.7 MB, free: 13.73 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: 337 * Number of variables: 337 Notification: Performance of Generate backend data structure: time 0.006111/0.482, allocations: 1.589 MB / 254.3 MB, free: 12.18 MB / 202.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.008e-05/0.4821, allocations: 12.03 kB / 254.3 MB, free: 12.17 MB / 202.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000767/0.4829, allocations: 150.2 kB / 254.5 MB, free: 12.02 MB / 202.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002589/0.4855, allocations: 0.8729 MB / 255.3 MB, free: 11.24 MB / 202.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001308/0.4857, allocations: 98.58 kB / 255.4 MB, free: 11.14 MB / 202.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004803/0.4862, allocations: 132 kB / 255.6 MB, free: 11.02 MB / 202.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00578/0.492, allocations: 1.802 MB / 257.4 MB, free: 9.145 MB / 202.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.468e-05/0.4921, allocations: 3.906 kB / 257.4 MB, free: 9.141 MB / 202.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002318/0.4924, allocations: 52 kB / 257.4 MB, free: 9.09 MB / 202.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001126/0.4925, allocations: 74.53 kB / 257.5 MB, free: 9.016 MB / 202.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00545/0.498, allocations: 1.506 MB / 259 MB, free: 7.504 MB / 202.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01821/0.5162, allocations: 4.776 MB / 263.8 MB, free: 2.645 MB / 202.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005126/0.5214, allocations: 1.528 MB / 265.3 MB, free: 0.9922 MB / 202.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000133/0.5216, allocations: 16.62 kB / 265.3 MB, free: 0.9766 MB / 202.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.393e-05/0.5217, allocations: 43.22 kB / 265.4 MB, free: 0.9258 MB / 202.7 MB Notification: Performance of pre-optimization done (n=77): time 4.86e-06/0.5217, allocations: 0 / 265.4 MB, free: 0.9258 MB / 202.7 MB Notification: Performance of matching and sorting (n=98): time 0.03592/0.5576, allocations: 6.508 MB / 271.9 MB, free: 10.27 MB / 218.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.615e-05/0.5578, allocations: 64.41 kB / 271.9 MB, free: 10.2 MB / 218.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Electrical/Machines.mo:7706:7-7708:33:writable] Warning: Parameter terminalBox.terminalConnection has no value, and is fixed during initialization (fixed=true), using available start value (start="Y") as default value. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Mechanics/Rotational.mo:4773:7-4774:27:writable] Warning: Parameter loadTorqueStep.offsetTorque has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) 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.001986/0.5598, allocations: 0.6452 MB / 272.6 MB, free: 9.543 MB / 218.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002777/0.5601, allocations: 41.7 kB / 272.6 MB, free: 9.496 MB / 218.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006604/0.5607, allocations: 0.5603 MB / 273.2 MB, free: 8.93 MB / 218.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006581/0.5614, allocations: 347 kB / 273.5 MB, free: 8.586 MB / 218.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001719/0.5616, allocations: 16 kB / 273.5 MB, free: 8.57 MB / 218.7 MB Notification: Performance of setup shared object (initialization): time 0.000331/0.562, allocations: 350.8 kB / 273.9 MB, free: 8.219 MB / 218.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002396/0.5644, allocations: 0.6032 MB / 274.5 MB, free: 7.617 MB / 218.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002481/0.5669, allocations: 0.7028 MB / 275.2 MB, free: 6.887 MB / 218.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002594/0.5695, allocations: 0.7154 MB / 275.9 MB, free: 6.176 MB / 218.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.221e-06/0.5695, allocations: 0 / 275.9 MB, free: 6.176 MB / 218.7 MB Notification: Performance of matching and sorting (n=113) (initialization): time 0.008841/0.5784, allocations: 2.086 MB / 278 MB, free: 4.07 MB / 218.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.77e-05/0.5785, allocations: 4 kB / 278 MB, free: 4.066 MB / 218.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.774e-05/0.5785, allocations: 8 kB / 278 MB, free: 4.059 MB / 218.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004348/0.5829, allocations: 0.6832 MB / 278.7 MB, free: 3.363 MB / 218.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001906/0.5848, allocations: 167.8 kB / 278.8 MB, free: 3.199 MB / 218.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01996/0.6048, allocations: 8.883 MB / 287.7 MB, free: 9.914 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001656/0.6066, allocations: 75.95 kB / 287.8 MB, free: 9.84 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001775/0.6068, allocations: 32 kB / 287.8 MB, free: 9.809 MB / 234.7 MB Warning: Assuming fixed start value for the following 6 variables: 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.inertiaRotor.phi:VARIABLE(unit = "rad" fixed = true ) "Absolute rotation angle of component" 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (79): * Single equations (assignments): 75 * 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 {(5,92.0%) 23,(2,100.0%) 4,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001949/0.6087, allocations: 0.5102 MB / 288.3 MB, free: 9.293 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003966/0.6092, allocations: 78.97 kB / 288.4 MB, free: 9.215 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009189/0.6184, allocations: 2.137 MB / 290.6 MB, free: 7.055 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.992e-05/0.6184, allocations: 8 kB / 290.6 MB, free: 7.047 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.81e-05/0.6185, allocations: 12 kB / 290.6 MB, free: 7.035 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.503e-05/0.6185, allocations: 3.984 kB / 290.6 MB, free: 7.031 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01184/0.6304, allocations: 3.916 MB / 294.5 MB, free: 3.035 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-05/0.6304, allocations: 0 / 294.5 MB, free: 3.035 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001283/0.6317, allocations: 139.8 kB / 294.6 MB, free: 2.898 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003476/0.6352, allocations: 0.7374 MB / 295.4 MB, free: 2.148 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002009/0.6355, allocations: 23.98 kB / 295.4 MB, free: 2.125 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1687/0.8042, allocations: 8.68 MB / 304.1 MB, free: 61.04 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.886e-06/0.8042, allocations: 3.344 kB / 304.1 MB, free: 61.04 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00852/0.8128, allocations: 3.017 MB / 307.1 MB, free: 60.83 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009279/0.8137, allocations: 290.7 kB / 307.4 MB, free: 60.74 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002634/0.814, allocations: 25.25 kB / 307.4 MB, free: 60.74 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001064/0.8151, allocations: 78.38 kB / 307.5 MB, free: 60.74 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000326/0.8154, allocations: 78.03 kB / 307.6 MB, free: 60.74 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001034/0.8156, allocations: 28.84 kB / 307.6 MB, free: 60.74 MB / 234.7 MB Notification: Performance of sorting global known variables: time 0.0009079/0.8165, allocations: 448.5 kB / 308 MB, free: 60.65 MB / 234.7 MB Notification: Performance of sort global known variables: time 7.92e-07/0.8165, allocations: 3.375 kB / 308 MB, free: 60.65 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.001942/0.8185, allocations: 334 kB / 308.3 MB, free: 60.65 MB / 234.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 7 (aimc.inertiaRotor.phi,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],vfController.x,loadInertia.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (68): * Single equations (assignments): 64 * 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 {(7,69.4%) 21,(1,100.0%) 1,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003342/0.8188, allocations: 133.3 kB / 308.5 MB, free: 60.56 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.006112/0.8249, allocations: 2.188 MB / 310.7 MB, free: 60.07 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 8.105e-06/0.825, allocations: 0 / 310.7 MB, free: 60.07 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00442/0.8294, allocations: 1.533 MB / 312.2 MB, free: 59.59 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002026/0.8315, allocations: 188.4 kB / 312.4 MB, free: 59.56 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008279/0.8398, allocations: 3.792 MB / 316.2 MB, free: 57.59 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00162/0.8415, allocations: 1.443 MB / 317.6 MB, free: 56.74 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004888/0.8421, allocations: 62.17 kB / 317.7 MB, free: 56.73 MB / 234.7 MB Notification: Performance of SimCode: time 1.242e-06/0.8421, allocations: 0 / 317.7 MB, free: 56.73 MB / 234.7 MB Notification: Performance of Templates: time 0.1095/0.9516, allocations: 38.78 MB / 356.5 MB, free: 30.84 MB / 234.7 MB