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.Transformers.AIMC_Transformer.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.Transformers.AIMC_Transformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|aimc.i_0_s|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|loadInertia.phi|loadInertia.w|transformer.l2sigma.inductor.2..i|transformer.l2sigma.inductor.3..i",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer") Notification: Performance of loadModel(Modelica): time 1.669/1.669, allocations: 171.1 MB / 186.7 MB, free: 1.141 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003616/0.0003619, allocations: 8 kB / 233.9 MB, free: 2.383 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09195/0.09234, allocations: 38.76 MB / 272.6 MB, free: 11.54 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer): time 0.02314/0.1155, allocations: 10.53 MB / 283.2 MB, free: 0.9648 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.01066/0.1262, allocations: 4.113 MB / 287.3 MB, free: 12.84 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002207/0.1285, allocations: 59.69 kB / 287.3 MB, free: 12.79 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003654/0.1322, allocations: 0.7968 MB / 288.1 MB, free: 11.98 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004671/0.1369, allocations: 0.997 MB / 289.1 MB, free: 10.98 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00181/0.1387, allocations: 315.6 kB / 289.4 MB, free: 10.68 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.006957/0.1457, allocations: 2.994 MB / 292.4 MB, free: 7.676 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005231/0.151, allocations: 2.522 MB / 295 MB, free: 5.105 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00315/0.1542, allocations: 1.444 MB / 296.4 MB, free: 3.656 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004165/0.1584, allocations: 1.805 MB / 298.2 MB, free: 1.844 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001088/0.1596, allocations: 240 kB / 298.4 MB, free: 1.609 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001913/0.1615, allocations: 311.9 kB / 298.7 MB, free: 1.305 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00194/0.1635, allocations: 1.075 MB / 299.8 MB, free: 232 kB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.2169/0.3803, allocations: 0.8369 MB / 300.7 MB, free: 13.2 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00882/0.3892, allocations: 5.927 MB / 306.6 MB, free: 12.45 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.588e-06/0.3893, allocations: 0 / 306.6 MB, free: 12.45 MB / 250.7 MB Notification: Performance of FrontEnd: time 2.625e-06/0.3893, allocations: 0.5 kB / 306.6 MB, free: 12.45 MB / 250.7 MB Notification: Performance of Transformations before backend: time 0.0002299/0.3895, allocations: 1.438 kB / 306.6 MB, free: 12.45 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: 929 * Number of variables: 929 Notification: Performance of Generate backend data structure: time 0.01374/0.4033, allocations: 3.957 MB / 310.5 MB, free: 10.2 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.856e-05/0.4034, allocations: 8.156 kB / 310.5 MB, free: 10.2 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002859/0.4062, allocations: 0.4958 MB / 311 MB, free: 9.953 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007034/0.4133, allocations: 2.289 MB / 313.3 MB, free: 9.141 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002764/0.4136, allocations: 264.7 kB / 313.6 MB, free: 9.133 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001169/0.4148, allocations: 351.7 kB / 313.9 MB, free: 9.129 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01388/0.4287, allocations: 4.959 MB / 318.9 MB, free: 7.902 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001212/0.4289, allocations: 2.719 kB / 318.9 MB, free: 7.902 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005244/0.4294, allocations: 142.1 kB / 319 MB, free: 7.902 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002341/0.4296, allocations: 177.1 kB / 319.2 MB, free: 7.883 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01201/0.4417, allocations: 4.274 MB / 323.5 MB, free: 7.164 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03666/0.4784, allocations: 14.88 MB / 338.4 MB, free: 10.63 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007541/0.486, allocations: 4.198 MB / 342.6 MB, free: 6.137 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004464/0.4864, allocations: 129.8 kB / 342.7 MB, free: 5.996 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.575e-05/0.4865, allocations: 56.56 kB / 342.7 MB, free: 5.934 MB / 266.7 MB Notification: Performance of pre-optimization done (n=198): time 5.34e-06/0.4865, allocations: 0 / 342.7 MB, free: 5.934 MB / 266.7 MB Notification: Performance of matching and sorting (n=218): time 0.03494/0.5215, allocations: 10.31 MB / 353 MB, free: 11.53 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.248e-05/0.5216, allocations: 73.41 kB / 353.1 MB, free: 11.45 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005512/0.5271, allocations: 2.427 MB / 355.5 MB, free: 9 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004631/0.5276, allocations: 61.7 kB / 355.6 MB, free: 8.934 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001775/0.5294, allocations: 1.611 MB / 357.2 MB, free: 7.309 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00108/0.5305, allocations: 0.7206 MB / 357.9 MB, free: 6.594 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002406/0.5307, allocations: 51.94 kB / 358 MB, free: 6.543 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0002632/0.531, allocations: 406.5 kB / 358.4 MB, free: 6.141 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00362/0.5347, allocations: 1.319 MB / 359.7 MB, free: 4.82 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003994/0.5387, allocations: 1.789 MB / 361.5 MB, free: 2.84 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004067/0.5428, allocations: 1.578 MB / 363.1 MB, free: 1.281 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.309e-05/0.5428, allocations: 4 kB / 363.1 MB, free: 1.277 MB / 282.7 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.01222/0.555, allocations: 4.109 MB / 367.2 MB, free: 13.24 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.881e-05/0.5551, allocations: 12.62 kB / 367.2 MB, free: 13.23 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.292e-05/0.5551, allocations: 12 kB / 367.2 MB, free: 13.21 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005207/0.5604, allocations: 0.8837 MB / 368.1 MB, free: 12.32 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004168/0.5645, allocations: 0.5278 MB / 368.6 MB, free: 11.82 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01679/0.5814, allocations: 8.943 MB / 377.6 MB, free: 2.512 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003329/0.5847, allocations: 123.8 kB / 377.7 MB, free: 2.391 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002821/0.585, allocations: 88 kB / 377.8 MB, free: 2.305 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 59 * Number of states: 0 () * Number of discrete variables: 6 (booleanStep1[1].y,booleanStep1[2].y,booleanStep1[3].y,booleanStep2[1].y,booleanStep2[2].y,booleanStep2[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (252): * Single equations (assignments): 247 * 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: 3 * 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: 3 {(3,100.0%) 25,(2,100.0%) 12,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003399/0.5884, allocations: 1.215 MB / 379 MB, free: 1.109 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008627/0.5893, allocations: 280.7 kB / 379.3 MB, free: 0.832 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01067/0.6, allocations: 3.754 MB / 383 MB, free: 13.07 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.778e-05/0.6001, allocations: 11.95 kB / 383 MB, free: 13.06 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.375e-06/0.6001, allocations: 0 / 383 MB, free: 13.06 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002494/0.6026, allocations: 0.6421 MB / 383.7 MB, free: 12.39 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008163/0.6035, allocations: 47.98 kB / 383.7 MB, free: 12.35 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002692/0.6062, allocations: 135.9 kB / 383.8 MB, free: 12.21 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007875/0.607, allocations: 177.7 kB / 384 MB, free: 12.04 MB / 314.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01836/0.6254, allocations: 4.016 MB / 388 MB, free: 8.055 MB / 314.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.01902/0.6444, allocations: 5.119 MB / 393.2 MB, free: 2.906 MB / 314.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.005157/0.6497, allocations: 1.495 MB / 394.6 MB, free: 1.414 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.005786/0.6555, allocations: 1.66 MB / 396.3 MB, free: 15.74 MB / 330.7 MB Notification: Performance of Backend: time 1.282e-06/0.6555, allocations: 0 / 396.3 MB, free: 15.74 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.01232/0.6679, allocations: 2.843 MB / 399.2 MB, free: 12.87 MB / 330.7 MB Notification: Performance of SimCode: time 0.03024/0.6982, allocations: 9.15 MB / 408.3 MB, free: 3.676 MB / 330.7 MB Notification: Performance of Templates: time 0.3548/1.053, allocations: 44.53 MB / 452.8 MB, free: 126.8 MB / 362.7 MB