Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/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_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter") Notification: Performance of loadModel(Modelica): time 1.722/1.722, allocations: 171.2 MB / 186.7 MB, free: 1.133 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003463/0.0003466, allocations: 12 kB / 233.9 MB, free: 2.395 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08188/0.08225, allocations: 38.76 MB / 272.6 MB, free: 11.55 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter): time 0.01198/0.09429, allocations: 7.155 MB / 279.8 MB, free: 4.355 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.006847/0.1012, allocations: 2.753 MB / 282.5 MB, free: 1.598 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001228/0.1025, allocations: 35.75 kB / 282.6 MB, free: 1.562 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002138/0.1046, allocations: 0.5131 MB / 283.1 MB, free: 1.047 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002835/0.1075, allocations: 0.5919 MB / 283.7 MB, free: 464 kB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001091/0.1086, allocations: 215.7 kB / 283.9 MB, free: 248 kB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.003649/0.1123, allocations: 1.459 MB / 285.3 MB, free: 14.78 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002418/0.1148, allocations: 1.196 MB / 286.5 MB, free: 13.55 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001527/0.1163, allocations: 0.7045 MB / 287.2 MB, free: 12.84 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002075/0.1184, allocations: 0.9066 MB / 288.2 MB, free: 11.93 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005227/0.119, allocations: 120 kB / 288.3 MB, free: 11.81 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009919/0.12, allocations: 171.9 kB / 288.4 MB, free: 11.64 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009183/0.1209, allocations: 0.5531 MB / 289 MB, free: 11.09 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007008/0.1217, allocations: 428.6 kB / 289.4 MB, free: 10.66 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004172/0.1258, allocations: 2.778 MB / 292.2 MB, free: 7.883 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.1259, allocations: 0 / 292.2 MB, free: 7.883 MB / 250.7 MB Notification: Performance of FrontEnd: time 2.926e-06/0.1259, allocations: 0 / 292.2 MB, free: 7.883 MB / 250.7 MB Notification: Performance of Transformations before backend: time 8.909e-05/0.126, allocations: 0 / 292.2 MB, free: 7.883 MB / 250.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.00675/0.1328, allocations: 2.103 MB / 294.3 MB, free: 5.723 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.692e-05/0.1328, allocations: 12.03 kB / 294.3 MB, free: 5.711 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001253/0.1341, allocations: 245.3 kB / 294.5 MB, free: 5.469 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003348/0.1375, allocations: 1.161 MB / 295.7 MB, free: 4.262 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001766/0.1377, allocations: 131.6 kB / 295.8 MB, free: 4.133 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005851/0.1383, allocations: 183.9 kB / 296 MB, free: 3.953 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006886/0.1452, allocations: 2.343 MB / 298.4 MB, free: 1.574 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.805e-05/0.1453, allocations: 4 kB / 298.4 MB, free: 1.57 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002619/0.1456, allocations: 71.94 kB / 298.4 MB, free: 1.5 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001553/0.1458, allocations: 95.48 kB / 298.5 MB, free: 1.406 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2126/0.3584, allocations: 1.95 MB / 300.5 MB, free: 29.15 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01809/0.3765, allocations: 7.088 MB / 307.6 MB, free: 25.86 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002774/0.3793, allocations: 1.281 MB / 308.8 MB, free: 25.17 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003123/0.3797, allocations: 121.1 kB / 309 MB, free: 25.07 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.077e-05/0.3797, allocations: 42.48 kB / 309 MB, free: 25.03 MB / 250.7 MB Notification: Performance of pre-optimization done (n=87): time 3.857e-06/0.3797, allocations: 0 / 309 MB, free: 25.03 MB / 250.7 MB Notification: Performance of matching and sorting (n=107): time 0.02536/0.4051, allocations: 6.967 MB / 316 MB, free: 21.18 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.056e-05/0.4052, allocations: 72.17 kB / 316 MB, free: 21.11 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001979/0.4072, allocations: 1.122 MB / 317.2 MB, free: 20.49 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002294/0.4074, allocations: 49.64 kB / 317.2 MB, free: 20.44 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00059/0.408, allocations: 0.8591 MB / 318.1 MB, free: 19.68 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004015/0.4085, allocations: 374.3 kB / 318.4 MB, free: 19.36 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001089/0.4086, allocations: 19.94 kB / 318.5 MB, free: 19.35 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 9.721e-05/0.4087, allocations: 353.8 kB / 318.8 MB, free: 19.01 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001726/0.4104, allocations: 0.661 MB / 319.5 MB, free: 18.68 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001754/0.4122, allocations: 0.9628 MB / 320.4 MB, free: 17.97 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001863/0.4141, allocations: 0.8011 MB / 321.2 MB, free: 17.56 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.696e-06/0.4141, allocations: 3.875 kB / 321.2 MB, free: 17.56 MB / 250.7 MB Notification: Performance of matching and sorting (n=157) (initialization): time 0.006089/0.4202, allocations: 2.352 MB / 323.6 MB, free: 15.45 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.228e-05/0.4203, allocations: 8.625 kB / 323.6 MB, free: 15.44 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.021e-05/0.4203, allocations: 8 kB / 323.6 MB, free: 15.43 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002316/0.4227, allocations: 0.6044 MB / 324.2 MB, free: 14.82 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001857/0.4245, allocations: 271.6 kB / 324.5 MB, free: 14.55 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0103/0.4349, allocations: 6.408 MB / 330.9 MB, free: 7.887 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001656/0.4366, allocations: 87.97 kB / 331 MB, free: 7.801 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001609/0.4368, allocations: 55.98 kB / 331 MB, free: 7.746 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 40 * 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 (130): * Single equations (assignments): 126 * 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%) 20,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001295/0.4381, allocations: 0.5988 MB / 331.6 MB, free: 7.137 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003786/0.4385, allocations: 138.3 kB / 331.7 MB, free: 7 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005706/0.4442, allocations: 2.174 MB / 333.9 MB, free: 4.797 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.576e-05/0.4442, allocations: 3.984 kB / 333.9 MB, free: 4.793 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.6e-06/0.4443, allocations: 0 / 333.9 MB, free: 4.793 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001002/0.4453, allocations: 351.4 kB / 334.3 MB, free: 4.43 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000364/0.4457, allocations: 27.98 kB / 334.3 MB, free: 4.402 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001272/0.4469, allocations: 83.91 kB / 334.4 MB, free: 4.32 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002911/0.4472, allocations: 100.8 kB / 334.5 MB, free: 4.223 MB / 250.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.007659/0.4549, allocations: 2.326 MB / 336.8 MB, free: 1.902 MB / 250.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.005836/0.4608, allocations: 2.586 MB / 339.4 MB, free: 15.31 MB / 266.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001898/0.4627, allocations: 0.7338 MB / 340.1 MB, free: 14.58 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.001748/0.4645, allocations: 0.7716 MB / 340.9 MB, free: 13.8 MB / 266.7 MB Notification: Performance of Backend: time 7.11e-07/0.4646, allocations: 0 / 340.9 MB, free: 13.8 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.005164/0.4697, allocations: 1.724 MB / 342.6 MB, free: 12.01 MB / 266.7 MB Notification: Performance of SimCode: time 0.0108/0.4806, allocations: 4.986 MB / 347.6 MB, free: 6.973 MB / 266.7 MB Notification: Performance of Templates: time 0.06302/0.5436, allocations: 21.54 MB / 369.1 MB, free: 1.492 MB / 282.7 MB