Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.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.QuasiStationary.SinglePhase.Examples.Transformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|load.pin_p.reference.gamma|voltageSource.pin_p.reference.gamma|idealTransformer.v1.re|idealTransformer.v1.im|idealTransformer.i1.re|idealTransformer.i1.im|idealTransformer.v2.re|idealTransformer.v2.im|idealTransformer.i2.re|idealTransformer.i2.im",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer") Notification: Performance of loadModel(Modelica): time 1.919/1.919, allocations: 194.9 MB / 211.7 MB, free: 3.008 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003538/0.000354, allocations: 12 kB / 264.6 MB, free: 12.94 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1073/0.1077, allocations: 44.51 MB / 309.1 MB, free: 364 kB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer): time 0.008087/0.1159, allocations: 4.841 MB / 313.9 MB, free: 11.49 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004324/0.1202, allocations: 1.68 MB / 315.6 MB, free: 9.801 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004167/0.1207, allocations: 20 kB / 315.6 MB, free: 9.781 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006393/0.1213, allocations: 202.8 kB / 315.8 MB, free: 9.582 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002342/0.1237, allocations: 0.7206 MB / 316.5 MB, free: 8.859 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008021/0.1245, allocations: 223.6 kB / 316.7 MB, free: 8.641 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001104/0.1256, allocations: 0.6046 MB / 317.4 MB, free: 8.031 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004003/0.1296, allocations: 1.448 MB / 318.8 MB, free: 6.543 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005179/0.1302, allocations: 314.8 kB / 319.1 MB, free: 6.234 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007877/0.131, allocations: 454.3 kB / 319.6 MB, free: 5.789 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001126/0.1311, allocations: 40 kB / 319.6 MB, free: 5.75 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006426/0.1318, allocations: 171.7 kB / 319.8 MB, free: 5.582 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001785/0.132, allocations: 151.4 kB / 319.9 MB, free: 5.434 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002112/0.1322, allocations: 173.3 kB / 320.1 MB, free: 5.258 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001494/0.1337, allocations: 0.9234 MB / 321 MB, free: 4.332 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.285e-06/0.1337, allocations: 0 / 321 MB, free: 4.332 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.703e-06/0.1337, allocations: 0 / 321 MB, free: 4.332 MB / 266.7 MB Notification: Performance of Transformations before backend: time 9.598e-06/0.1337, allocations: 0 / 321 MB, free: 4.332 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 275 * Number of variables: 275 Notification: Performance of Generate backend data structure: time 0.004706/0.1385, allocations: 1.249 MB / 322.2 MB, free: 3.031 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.673e-05/0.1385, allocations: 12.03 kB / 322.3 MB, free: 3.02 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01054/0.1491, allocations: 0.9667 MB / 323.2 MB, free: 2.051 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009938/0.1501, allocations: 447.6 kB / 323.7 MB, free: 1.574 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.182e-05/0.1502, allocations: 82.17 kB / 323.7 MB, free: 1.492 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000254/0.1505, allocations: 100 kB / 323.8 MB, free: 1.395 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003109/0.1536, allocations: 1.109 MB / 325 MB, free: 252 kB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.425e-05/0.1537, allocations: 7.984 kB / 325 MB, free: 244 kB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001636/0.1539, allocations: 48 kB / 325 MB, free: 196 kB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.205e-05/0.1539, allocations: 24 kB / 325 MB, free: 172 kB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003307/0.1572, allocations: 1.132 MB / 326.2 MB, free: 15.04 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008622/0.1659, allocations: 3.968 MB / 330.1 MB, free: 10.82 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005234/0.1711, allocations: 3.752 MB / 333.9 MB, free: 6.391 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001891/0.1714, allocations: 97.64 kB / 334 MB, free: 6.277 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.134e-05/0.1714, allocations: 51.06 kB / 334 MB, free: 6.219 MB / 282.7 MB Notification: Performance of pre-optimization done (n=71): time 3.797e-06/0.1715, allocations: 0 / 334 MB, free: 6.219 MB / 282.7 MB Notification: Performance of matching and sorting (n=71): time 0.002428/0.1739, allocations: 0.7639 MB / 334.8 MB, free: 5.453 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.383e-05/0.174, allocations: 119.6 kB / 334.9 MB, free: 5.312 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005145/0.1745, allocations: 312.2 kB / 335.2 MB, free: 5.004 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 6.389e-05/0.1746, allocations: 41.7 kB / 335.3 MB, free: 4.957 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003785/0.175, allocations: 438 kB / 335.7 MB, free: 4.52 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002674/0.1753, allocations: 244.5 kB / 335.9 MB, free: 4.277 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.039e-05/0.1753, allocations: 19.94 kB / 335.9 MB, free: 4.258 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001868/0.1755, allocations: 358.8 kB / 336.3 MB, free: 3.898 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007672/0.1763, allocations: 253.9 kB / 336.5 MB, free: 3.648 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001017/0.1773, allocations: 0.5552 MB / 337.1 MB, free: 2.953 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009447/0.1783, allocations: 339.1 kB / 337.4 MB, free: 2.621 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.038e-05/0.1783, allocations: 4 kB / 337.4 MB, free: 2.617 MB / 282.7 MB Notification: Performance of matching and sorting (n=122) (initialization): time 0.002463/0.1808, allocations: 0.891 MB / 338.3 MB, free: 1.719 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.081e-05/0.1809, allocations: 12 kB / 338.3 MB, free: 1.707 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.96e-05/0.1809, allocations: 8.75 kB / 338.3 MB, free: 1.699 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.977e-05/0.1809, allocations: 23.94 kB / 338.4 MB, free: 1.676 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001541/0.1825, allocations: 239.6 kB / 338.6 MB, free: 1.441 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.326e-05/0.1825, allocations: 23.92 kB / 338.6 MB, free: 1.418 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008044/0.1834, allocations: 106.9 kB / 338.7 MB, free: 1.312 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001013/0.1835, allocations: 47.98 kB / 338.8 MB, free: 1.266 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 47 * 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 (122): * Single equations (assignments): 122 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004676/0.1839, allocations: 249.4 kB / 339 MB, free: 1.012 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000151/0.1841, allocations: 39.53 kB / 339.1 MB, free: 0.9727 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002013/0.1861, allocations: 0.6893 MB / 339.7 MB, free: 284 kB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.26e-05/0.1862, allocations: 3.984 kB / 339.7 MB, free: 280 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.873e-06/0.1862, allocations: 0 / 339.7 MB, free: 280 kB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000143/0.1863, allocations: 144.3 kB / 339.9 MB, free: 116 kB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000117/0.1865, allocations: 12 kB / 339.9 MB, free: 104 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005914/0.1871, allocations: 27.98 kB / 339.9 MB, free: 76 kB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001394/0.1872, allocations: 48.55 kB / 340 MB, free: 28 kB / 282.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002304/0.1895, allocations: 0.8902 MB / 340.9 MB, free: 15.13 MB / 298.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.002679/0.1922, allocations: 1.249 MB / 342.1 MB, free: 13.86 MB / 298.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000742/0.193, allocations: 293.2 kB / 342.4 MB, free: 13.57 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0003149/0.1933, allocations: 203.1 kB / 342.6 MB, free: 13.37 MB / 298.7 MB Notification: Performance of Backend: time 7.42e-07/0.1933, allocations: 0 / 342.6 MB, free: 13.37 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001915/0.1953, allocations: 0.6214 MB / 343.2 MB, free: 12.75 MB / 298.7 MB Notification: Performance of SimCode: time 0.00327/0.1985, allocations: 1.964 MB / 345.2 MB, free: 10.74 MB / 298.7 MB Notification: Performance of Templates: time 0.02204/0.2206, allocations: 7.139 MB / 352.3 MB, free: 3.59 MB / 298.7 MB