Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_cpp_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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_cpp_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer") Notification: Performance of loadModel(Modelica): time 1.946/1.946, allocations: 194.8 MB / 211.6 MB, free: 3.004 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003558/0.0003563, allocations: 12 kB / 263.9 MB, free: 13.6 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07959/0.07997, allocations: 44.51 MB / 308.4 MB, free: 1.023 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer): time 0.006902/0.08691, allocations: 4.845 MB / 313.2 MB, free: 12.16 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004028/0.09098, allocations: 1.691 MB / 314.9 MB, free: 10.45 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004763/0.09149, allocations: 16 kB / 314.9 MB, free: 10.44 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005888/0.0921, allocations: 202.8 kB / 315.1 MB, free: 10.24 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002286/0.0944, allocations: 0.7089 MB / 315.8 MB, free: 9.527 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008065/0.09522, allocations: 231.6 kB / 316 MB, free: 9.301 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001018/0.09626, allocations: 0.5968 MB / 316.6 MB, free: 8.699 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003799/0.1001, allocations: 1.452 MB / 318.1 MB, free: 7.207 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005377/0.1006, allocations: 314.7 kB / 318.4 MB, free: 6.898 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000687/0.1013, allocations: 450.3 kB / 318.8 MB, free: 6.457 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 9.771e-05/0.1015, allocations: 47.94 kB / 318.9 MB, free: 6.41 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005906/0.1021, allocations: 167.8 kB / 319.1 MB, free: 6.246 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001661/0.1022, allocations: 151.4 kB / 319.2 MB, free: 6.098 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002041/0.1025, allocations: 173.3 kB / 319.4 MB, free: 5.922 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001385/0.1039, allocations: 0.9312 MB / 320.3 MB, free: 4.988 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.105e-06/0.1039, allocations: 0 / 320.3 MB, free: 4.988 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.953e-06/0.1039, allocations: 0 / 320.3 MB, free: 4.988 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.189e-05/0.1039, allocations: 3.938 kB / 320.3 MB, free: 4.984 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.004036/0.108, allocations: 1.241 MB / 321.5 MB, free: 3.691 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.121e-05/0.108, allocations: 8.031 kB / 321.6 MB, free: 3.684 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009014/0.117, allocations: 0.9745 MB / 322.5 MB, free: 2.707 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000928/0.118, allocations: 449.6 kB / 323 MB, free: 2.227 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001039/0.1181, allocations: 82.17 kB / 323 MB, free: 2.145 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000223/0.1184, allocations: 104 kB / 323.1 MB, free: 2.043 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002627/0.121, allocations: 1.117 MB / 324.3 MB, free: 0.8867 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.344e-05/0.1211, allocations: 3.984 kB / 324.3 MB, free: 0.8828 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001414/0.1212, allocations: 47.94 kB / 324.3 MB, free: 0.8359 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.95e-05/0.1213, allocations: 24 kB / 324.3 MB, free: 0.8125 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002854/0.1241, allocations: 1.132 MB / 325.5 MB, free: 15.68 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007713/0.1319, allocations: 3.964 MB / 329.4 MB, free: 11.47 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004336/0.1363, allocations: 3.756 MB / 333.2 MB, free: 7.035 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001751/0.1365, allocations: 101.7 kB / 333.3 MB, free: 6.918 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.734e-05/0.1365, allocations: 39.12 kB / 333.3 MB, free: 6.871 MB / 282.7 MB Notification: Performance of pre-optimization done (n=71): time 3.661e-06/0.1365, allocations: 0 / 333.3 MB, free: 6.871 MB / 282.7 MB Notification: Performance of matching and sorting (n=71): time 0.002063/0.1386, allocations: 0.7641 MB / 334.1 MB, free: 6.105 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.135e-05/0.1387, allocations: 119.3 kB / 334.2 MB, free: 5.961 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004802/0.1392, allocations: 312.3 kB / 334.5 MB, free: 5.652 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 6.218e-05/0.1393, allocations: 37.7 kB / 334.6 MB, free: 5.609 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003897/0.1397, allocations: 0.4887 MB / 335 MB, free: 5.113 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002637/0.14, allocations: 252.4 kB / 335.3 MB, free: 4.863 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.698e-05/0.14, allocations: 28 kB / 335.3 MB, free: 4.836 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0002041/0.1403, allocations: 350.8 kB / 335.7 MB, free: 4.484 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006462/0.1409, allocations: 249.9 kB / 335.9 MB, free: 4.238 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009168/0.1419, allocations: 0.5591 MB / 336.5 MB, free: 3.539 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008044/0.1427, allocations: 335.1 kB / 336.8 MB, free: 3.211 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.544e-06/0.1427, allocations: 4 kB / 336.8 MB, free: 3.207 MB / 282.7 MB Notification: Performance of matching and sorting (n=122) (initialization): time 0.002101/0.1448, allocations: 0.8954 MB / 337.7 MB, free: 2.305 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.629e-05/0.1449, allocations: 8 kB / 337.7 MB, free: 2.297 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.11e-05/0.1449, allocations: 12 kB / 337.7 MB, free: 2.285 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.727e-05/0.1449, allocations: 16 kB / 337.7 MB, free: 2.27 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001051/0.146, allocations: 239.6 kB / 338 MB, free: 2.035 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.123e-05/0.146, allocations: 19.94 kB / 338 MB, free: 2.016 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006362/0.1467, allocations: 107.2 kB / 338.1 MB, free: 1.91 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.324e-05/0.1468, allocations: 44 kB / 338.1 MB, free: 1.867 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.0004772/0.1473, allocations: 249.4 kB / 338.4 MB, free: 1.613 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001669/0.1475, allocations: 43.53 kB / 338.4 MB, free: 1.57 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001696/0.1492, allocations: 0.6931 MB / 339.1 MB, free: 0.8711 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.345e-05/0.1492, allocations: 8 kB / 339.1 MB, free: 0.8633 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.923e-06/0.1492, allocations: 4 kB / 339.1 MB, free: 0.8594 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.305e-05/0.1493, allocations: 7.922 kB / 339.1 MB, free: 0.8516 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003463/0.1527, allocations: 1.59 MB / 340.7 MB, free: 15.21 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.2e-06/0.1528, allocations: 4 kB / 340.7 MB, free: 15.2 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007812/0.1536, allocations: 147.8 kB / 340.9 MB, free: 15.06 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.281e-05/0.1536, allocations: 4 kB / 340.9 MB, free: 15.05 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.338e-05/0.1537, allocations: 16 kB / 340.9 MB, free: 15.04 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.18e-05/0.1537, allocations: 7.984 kB / 340.9 MB, free: 15.03 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.187e-06/0.1537, allocations: 7.938 kB / 340.9 MB, free: 15.02 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002328/0.156, allocations: 1.169 MB / 342.1 MB, free: 13.83 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001857/0.1562, allocations: 136.4 kB / 342.2 MB, free: 13.68 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.978e-05/0.1564, allocations: 12 kB / 342.2 MB, free: 13.67 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004805/0.1568, allocations: 27.98 kB / 342.2 MB, free: 13.64 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001142/0.157, allocations: 48.53 kB / 342.3 MB, free: 13.59 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.507e-05/0.157, allocations: 20.06 kB / 342.3 MB, free: 13.57 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0003038/0.1574, allocations: 211.1 kB / 342.5 MB, free: 13.37 MB / 298.7 MB Notification: Performance of sort global known variables: time 7.71e-07/0.1574, allocations: 0 / 342.5 MB, free: 13.37 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001112/0.1585, allocations: 239.1 kB / 342.7 MB, free: 13.14 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (load.pin_p.reference.gamma,voltageSource.pin_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (78): * Single equations (assignments): 78 * 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 Backend phase and start with SimCode phase: time 0.0002837/0.1588, allocations: 151 kB / 342.9 MB, free: 12.98 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001636/0.1604, allocations: 0.6898 MB / 343.6 MB, free: 12.29 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.559e-06/0.1605, allocations: 5.5 kB / 343.6 MB, free: 12.29 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006872/0.1612, allocations: 327.7 kB / 343.9 MB, free: 11.97 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004923/0.1617, allocations: 36.56 kB / 343.9 MB, free: 11.93 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003217/0.1649, allocations: 1.757 MB / 345.7 MB, free: 10.14 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007513/0.1657, allocations: 0.9361 MB / 346.6 MB, free: 9.168 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002984/0.166, allocations: 67.42 kB / 346.7 MB, free: 9.102 MB / 298.7 MB Notification: Performance of SimCode: time 1.794e-06/0.166, allocations: 0 / 346.7 MB, free: 9.102 MB / 298.7 MB Notification: Performance of Templates: time 0.01503/0.1811, allocations: 7.718 MB / 354.4 MB, free: 1.367 MB / 298.7 MB