Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=3000,variableFilter="time|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|loadInertia.phi|loadInertia.w|vfController.x",fileNamePrefix="Modelica_3.2.1_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter") Notification: Performance of loadModel(Modelica): time 1.558/1.558, allocations: 171.3 MB / 179.2 MB, free: 7.594 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 1.289e-05/1.295e-05, allocations: 0 / 222.5 MB, free: 8.707 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06733/0.06737, allocations: 38.77 MB / 261.3 MB, free: 1.855 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3545/0.4219, allocations: 92.08 MB / 353.4 MB, free: 12.49 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002694/0.4223, allocations: 83.08 kB / 353.4 MB, free: 12.45 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1577/0.5799, allocations: 39.79 MB / 393.2 MB, free: 7.625 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.469e-06/0.58, allocations: 4 kB / 393.2 MB, free: 7.621 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001673/0.5802, allocations: 55.92 kB / 393.3 MB, free: 7.566 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 466 * Number of variables: 466 Notification: Performance of Generate backend data structure: time 0.005438/0.5856, allocations: 1.925 MB / 395.2 MB, free: 5.59 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.704e-05/0.5857, allocations: 8.031 kB / 395.2 MB, free: 5.582 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001268/0.587, allocations: 265.1 kB / 395.5 MB, free: 5.32 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003591/0.5906, allocations: 1.277 MB / 396.8 MB, free: 4 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001135/0.5907, allocations: 68 kB / 396.8 MB, free: 3.934 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005061/0.5913, allocations: 107.9 kB / 396.9 MB, free: 3.828 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004849/0.5961, allocations: 1.682 MB / 398.6 MB, free: 2.145 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005419/0.6016, allocations: 2.018 MB / 400.6 MB, free: 48 kB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.897e-05/0.6017, allocations: 7.906 kB / 400.6 MB, free: 40 kB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000219/0.6019, allocations: 4 kB / 400.6 MB, free: 36 kB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001477/0.6021, allocations: 83.5 kB / 400.7 MB, free: 15.95 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01578/0.6179, allocations: 6.778 MB / 407.5 MB, free: 8.996 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002491/0.6204, allocations: 1.227 MB / 408.7 MB, free: 7.703 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001521/0.622, allocations: 0.6779 MB / 409.4 MB, free: 7.027 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003409/0.6224, allocations: 129.8 kB / 409.5 MB, free: 6.883 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.904e-05/0.6224, allocations: 51.28 kB / 409.6 MB, free: 6.824 MB / 346.7 MB Notification: Performance of pre-optimization done (n=90): time 4.584e-06/0.6225, allocations: 4 kB / 409.6 MB, free: 6.82 MB / 346.7 MB Notification: Performance of matching and sorting (n=113): time 0.01279/0.6353, allocations: 4.569 MB / 414.1 MB, free: 2.18 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.262e-05/0.6354, allocations: 64.72 kB / 414.2 MB, free: 2.105 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001716/0.6371, allocations: 0.8156 MB / 415 MB, free: 1.273 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001548/0.6373, allocations: 29.64 kB / 415.1 MB, free: 1.238 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007436/0.638, allocations: 0.8591 MB / 415.9 MB, free: 376 kB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.1837/0.8217, allocations: 374.4 kB / 416.3 MB, free: 90.93 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002307/0.822, allocations: 0 / 416.3 MB, free: 90.93 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001533/0.8222, allocations: 362.1 kB / 416.6 MB, free: 90.62 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00133/0.8235, allocations: 0.6108 MB / 417.2 MB, free: 90.62 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001442/0.825, allocations: 0.9027 MB / 418.1 MB, free: 90.29 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001548/0.8265, allocations: 0.7613 MB / 418.9 MB, free: 90.29 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.11e-05/0.8266, allocations: 3.609 kB / 418.9 MB, free: 90.29 MB / 346.7 MB Notification: Performance of matching and sorting (n=163) (initialization): time 0.004795/0.8314, allocations: 2.118 MB / 421 MB, free: 90.19 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.12e-05/0.8314, allocations: 9.406 kB / 421 MB, free: 90.19 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.572e-05/0.8315, allocations: 9.828 kB / 421.1 MB, free: 90.19 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002167/0.8336, allocations: 0.625 MB / 421.7 MB, free: 90.15 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001435/0.8351, allocations: 280.3 kB / 421.9 MB, free: 90.15 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009056/0.8442, allocations: 6.036 MB / 428 MB, free: 87.76 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001376/0.8456, allocations: 64.8 kB / 428 MB, free: 87.76 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002023/0.8458, allocations: 50.55 kB / 428.1 MB, free: 87.76 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (133): * Single equations (assignments): 129 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(5,76.0%) 23,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003079/0.8462, allocations: 139.2 kB / 428.2 MB, free: 87.66 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003315/0.8465, allocations: 123.2 kB / 428.4 MB, free: 87.66 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005092/0.8516, allocations: 2.077 MB / 430.4 MB, free: 87.52 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.18e-05/0.8517, allocations: 13.8 kB / 430.4 MB, free: 87.52 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.471e-05/0.8517, allocations: 5 kB / 430.4 MB, free: 87.52 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.272e-05/0.8517, allocations: 4.969 kB / 430.5 MB, free: 87.52 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009152/0.8609, allocations: 3.998 MB / 434.5 MB, free: 87.06 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.418e-05/0.861, allocations: 3.062 kB / 434.5 MB, free: 87.06 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001015/0.862, allocations: 180.1 kB / 434.6 MB, free: 87.06 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002483/0.8645, allocations: 0.7224 MB / 435.4 MB, free: 87.03 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001714/0.8647, allocations: 15.33 kB / 435.4 MB, free: 87.02 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01025/0.875, allocations: 7.728 MB / 443.1 MB, free: 82.64 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.709e-06/0.875, allocations: 5.344 kB / 443.1 MB, free: 82.64 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005918/0.881, allocations: 3.15 MB / 446.3 MB, free: 81.17 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008853/0.8819, allocations: 343.8 kB / 446.6 MB, free: 80.94 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002682/0.8822, allocations: 15.12 kB / 446.6 MB, free: 80.94 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001077/0.8833, allocations: 62.05 kB / 446.7 MB, free: 80.94 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002807/0.8836, allocations: 103 kB / 446.8 MB, free: 80.92 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001147/0.8837, allocations: 40.23 kB / 446.8 MB, free: 80.91 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001099/0.8848, allocations: 0.615 MB / 447.4 MB, free: 80.62 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.124e-06/0.8848, allocations: 0 / 447.4 MB, free: 80.62 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001845/0.8867, allocations: 403.2 kB / 447.8 MB, free: 80.61 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (84): * Single equations (assignments): 80 * 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,59.2%) 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.0005458/0.8873, allocations: 278.3 kB / 448.1 MB, free: 80.52 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.003808/0.8911, allocations: 2.129 MB / 450.2 MB, free: 79.53 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 5.767e-06/0.8911, allocations: 0 / 450.2 MB, free: 79.53 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002865/0.894, allocations: 1.48 MB / 451.7 MB, free: 78.75 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00176/0.8958, allocations: 266.1 kB / 452 MB, free: 78.69 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006264/0.9021, allocations: 3.205 MB / 455.2 MB, free: 77.25 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001444/0.9036, allocations: 1.662 MB / 456.8 MB, free: 76.37 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000471/0.9041, allocations: 92.53 kB / 456.9 MB, free: 76.36 MB / 346.7 MB Notification: Performance of SimCode: time 1.826e-06/0.9041, allocations: 0 / 456.9 MB, free: 76.36 MB / 346.7 MB Notification: Performance of Templates: time 0.06164/0.9657, allocations: 55.44 MB / 0.5003 GB, free: 36.04 MB / 346.7 MB