Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,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.2_Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer") Notification: Performance of loadModel(Modelica): time 1.944/1.944, allocations: 194.9 MB / 211.7 MB, free: 3.008 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003487/0.0003489, allocations: 11.94 kB / 264.6 MB, free: 12.93 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09244/0.09281, allocations: 44.51 MB / 309.1 MB, free: 360 kB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer): time 0.01765/0.1105, allocations: 10.56 MB / 319.6 MB, free: 5.746 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01029/0.1209, allocations: 4.133 MB / 323.8 MB, free: 1.605 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001701/0.1226, allocations: 67.62 kB / 323.8 MB, free: 1.539 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00292/0.1256, allocations: 0.8085 MB / 324.6 MB, free: 0.7266 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004054/0.1296, allocations: 0.9931 MB / 325.6 MB, free: 15.73 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001389/0.131, allocations: 315.6 kB / 325.9 MB, free: 15.42 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.006287/0.1374, allocations: 2.99 MB / 328.9 MB, free: 12.42 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004804/0.1422, allocations: 2.514 MB / 331.4 MB, free: 9.863 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003194/0.1455, allocations: 1.448 MB / 332.9 MB, free: 8.41 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004502/0.15, allocations: 1.821 MB / 334.7 MB, free: 6.582 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001893/0.152, allocations: 240 kB / 335 MB, free: 6.348 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003048/0.1551, allocations: 303.9 kB / 335.2 MB, free: 6.051 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003352/0.1585, allocations: 1.083 MB / 336.3 MB, free: 4.965 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00286/0.1614, allocations: 0.8433 MB / 337.2 MB, free: 4.113 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01365/0.1752, allocations: 5.952 MB / 343.1 MB, free: 14.14 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/0.1752, allocations: 0 / 343.1 MB, free: 14.14 MB / 298.7 MB Notification: Performance of FrontEnd: time 3.075e-06/0.1753, allocations: 0 / 343.1 MB, free: 14.14 MB / 298.7 MB Notification: Performance of Transformations before backend: time 0.0002301/0.1755, allocations: 0 / 343.1 MB, free: 14.14 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 934 * Number of variables: 934 Notification: Performance of Generate backend data structure: time 0.02048/0.196, allocations: 3.986 MB / 347.1 MB, free: 10.09 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.245e-05/0.1961, allocations: 8.031 kB / 347.1 MB, free: 10.09 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003802/0.1999, allocations: 0.4908 MB / 347.6 MB, free: 9.59 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01083/0.2108, allocations: 2.318 MB / 349.9 MB, free: 7.223 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005659/0.2114, allocations: 263.1 kB / 350.2 MB, free: 6.965 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001875/0.2133, allocations: 351.9 kB / 350.5 MB, free: 6.621 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02228/0.2357, allocations: 4.974 MB / 355.5 MB, free: 1.582 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001791/0.2359, allocations: 7.938 kB / 355.5 MB, free: 1.574 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008872/0.2368, allocations: 148 kB / 355.7 MB, free: 1.43 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000429/0.2373, allocations: 179.1 kB / 355.8 MB, free: 1.254 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02082/0.2581, allocations: 4.291 MB / 360.1 MB, free: 12.96 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3623/0.6205, allocations: 14.95 MB / 375.1 MB, free: 53.33 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007342/0.6279, allocations: 4.204 MB / 379.3 MB, free: 51.55 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005012/0.6284, allocations: 130 kB / 379.4 MB, free: 51.46 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.042e-05/0.6285, allocations: 61.94 kB / 379.5 MB, free: 51.42 MB / 314.7 MB Notification: Performance of pre-optimization done (n=198): time 4.93e-06/0.6285, allocations: 0 / 379.5 MB, free: 51.42 MB / 314.7 MB Notification: Performance of matching and sorting (n=218): time 0.0347/0.6632, allocations: 10.33 MB / 389.8 MB, free: 47.54 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.103e-05/0.6633, allocations: 77.06 kB / 389.9 MB, free: 47.48 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004811/0.6681, allocations: 2.439 MB / 392.3 MB, free: 46.48 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004467/0.6686, allocations: 61.23 kB / 392.4 MB, free: 46.42 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001314/0.6699, allocations: 1.623 MB / 394 MB, free: 45 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009259/0.6709, allocations: 0.7335 MB / 394.7 MB, free: 44.37 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002275/0.6712, allocations: 43.84 kB / 394.8 MB, free: 44.33 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001586/0.6713, allocations: 401.1 kB / 395.1 MB, free: 43.96 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00446/0.6758, allocations: 1.323 MB / 396.5 MB, free: 43.28 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003734/0.6796, allocations: 1.787 MB / 398.3 MB, free: 42.01 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00361/0.6832, allocations: 1.575 MB / 399.8 MB, free: 41.18 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.217e-05/0.6833, allocations: 3.812 kB / 399.8 MB, free: 41.18 MB / 314.7 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.01007/0.6934, allocations: 4.104 MB / 403.9 MB, free: 37.62 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.27e-05/0.6934, allocations: 9.875 kB / 404 MB, free: 37.61 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.706e-05/0.6935, allocations: 16 kB / 404 MB, free: 37.59 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004664/0.6982, allocations: 0.8797 MB / 404.8 MB, free: 36.7 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003932/0.7021, allocations: 0.5265 MB / 405.4 MB, free: 36.18 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01345/0.7156, allocations: 8.932 MB / 414.3 MB, free: 26.86 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003066/0.7187, allocations: 135.8 kB / 414.4 MB, free: 26.73 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003808/0.7191, allocations: 83.95 kB / 414.5 MB, free: 26.65 MB / 314.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 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3],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.002875/0.722, allocations: 1.213 MB / 415.7 MB, free: 25.43 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008393/0.7229, allocations: 272.7 kB / 416 MB, free: 25.16 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009668/0.7325, allocations: 3.771 MB / 419.8 MB, free: 21.36 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.792e-05/0.7326, allocations: 7.969 kB / 419.8 MB, free: 21.35 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.085e-06/0.7327, allocations: 0 / 419.8 MB, free: 21.35 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002209/0.7349, allocations: 0.6421 MB / 420.4 MB, free: 20.68 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008899/0.7358, allocations: 52.78 kB / 420.5 MB, free: 20.63 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002751/0.7386, allocations: 131.9 kB / 420.6 MB, free: 20.5 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006831/0.7393, allocations: 189.7 kB / 420.8 MB, free: 20.32 MB / 314.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01293/0.7522, allocations: 4.013 MB / 424.8 MB, free: 16.33 MB / 314.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.01118/0.7635, allocations: 5.116 MB / 429.9 MB, free: 11.18 MB / 314.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003176/0.7667, allocations: 1.483 MB / 431.4 MB, free: 9.703 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.003842/0.7706, allocations: 1.68 MB / 433.1 MB, free: 8.012 MB / 314.7 MB Notification: Performance of Backend: time 9.02e-07/0.7706, allocations: 0 / 433.1 MB, free: 8.012 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.01031/0.7809, allocations: 2.837 MB / 435.9 MB, free: 5.102 MB / 314.7 MB Notification: Performance of SimCode: time 0.02658/0.8076, allocations: 9.177 MB / 445.1 MB, free: 11.88 MB / 330.7 MB Notification: Performance of Templates: time 0.1604/0.968, allocations: 44.89 MB / 490 MB, free: 14.98 MB / 378.7 MB