Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Electrical.Analog.Examples.CompareTransformers.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.Analog.Examples.CompareTransformers,tolerance=1e-06,outputFormat="mat",numberOfIntervals=100000,variableFilter="time|basicTransformer.i1|basicTransformer.i2|inductor22.i",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Analog.Examples.CompareTransformers") Notification: Performance of loadModel(Modelica): time 1.842/1.842, allocations: 171.2 MB / 186.7 MB, free: 1.137 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005087/0.0005089, allocations: 8 kB / 233.9 MB, free: 2.398 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09969/0.1002, allocations: 38.77 MB / 272.6 MB, free: 11.55 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CompareTransformers): time 0.005414/0.1057, allocations: 3.322 MB / 276 MB, free: 8.195 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.002139/0.1079, allocations: 0.9164 MB / 276.9 MB, free: 7.277 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002748/0.1082, allocations: 4 kB / 276.9 MB, free: 7.273 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000155/0.1084, allocations: 67.5 kB / 276.9 MB, free: 7.207 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006125/0.109, allocations: 215.3 kB / 277.1 MB, free: 6.996 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004082/0.1094, allocations: 99.89 kB / 277.2 MB, free: 6.898 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008504/0.1103, allocations: 467.4 kB / 277.7 MB, free: 6.438 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003619/0.1106, allocations: 166.3 kB / 277.9 MB, free: 6.277 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003824/0.111, allocations: 231.1 kB / 278.1 MB, free: 6.051 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004247/0.1115, allocations: 250.9 kB / 278.3 MB, free: 5.805 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 9.049e-05/0.1116, allocations: 32 kB / 278.4 MB, free: 5.773 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001278/0.1117, allocations: 28 kB / 278.4 MB, free: 5.746 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001299/0.1119, allocations: 103.6 kB / 278.5 MB, free: 5.645 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000155/0.112, allocations: 125.5 kB / 278.6 MB, free: 5.516 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006394/0.1127, allocations: 466.9 kB / 279.1 MB, free: 5.059 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.615e-06/0.1127, allocations: 4 kB / 279.1 MB, free: 5.055 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.1127, allocations: 3.938 kB / 279.1 MB, free: 5.051 MB / 234.7 MB Notification: Performance of Transformations before backend: time 8.736e-06/0.1127, allocations: 0 / 279.1 MB, free: 5.051 MB / 234.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 123 * Number of variables: 123 Notification: Performance of Generate backend data structure: time 0.001972/0.1147, allocations: 0.7869 MB / 279.9 MB, free: 4.211 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.994e-05/0.1148, allocations: 8.031 kB / 279.9 MB, free: 4.203 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001614/0.1149, allocations: 71.19 kB / 279.9 MB, free: 4.133 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006379/0.1156, allocations: 358.6 kB / 280.3 MB, free: 3.746 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.762e-05/0.1157, allocations: 36.95 kB / 280.3 MB, free: 3.711 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001149/0.1158, allocations: 51.91 kB / 280.4 MB, free: 3.66 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001232/0.117, allocations: 475.2 kB / 280.8 MB, free: 3.18 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.934e-05/0.1171, allocations: 0 / 280.8 MB, free: 3.18 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.203e-05/0.1171, allocations: 28 kB / 280.9 MB, free: 3.152 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.265e-05/0.1172, allocations: 12 kB / 280.9 MB, free: 3.141 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00107/0.1183, allocations: 332.3 kB / 281.2 MB, free: 2.816 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004106/0.1224, allocations: 1.72 MB / 282.9 MB, free: 0.9961 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006979/0.1231, allocations: 265.1 kB / 283.2 MB, free: 0.7188 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.34e-05/0.1232, allocations: 4 kB / 283.2 MB, free: 0.7148 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.909e-05/0.1232, allocations: 42.48 kB / 283.2 MB, free: 0.6641 MB / 234.7 MB Notification: Performance of pre-optimization done (n=31): time 2.755e-06/0.1232, allocations: 0 / 283.2 MB, free: 0.6641 MB / 234.7 MB Notification: Performance of matching and sorting (n=32): time 0.002848/0.1261, allocations: 0.9661 MB / 284.2 MB, free: 15.62 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.24e-05/0.1261, allocations: 81.11 kB / 284.3 MB, free: 15.52 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006582/0.1268, allocations: 385.6 kB / 284.7 MB, free: 15.13 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 4.354e-05/0.1269, allocations: 33.7 kB / 284.7 MB, free: 15.09 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002574/0.1271, allocations: 287.5 kB / 285 MB, free: 14.81 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001262/0.1273, allocations: 114.3 kB / 285.1 MB, free: 14.7 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.44e-05/0.1273, allocations: 11.94 kB / 285.1 MB, free: 14.68 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001708/0.1275, allocations: 350.8 kB / 285.4 MB, free: 14.33 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003611/0.1279, allocations: 104.8 kB / 285.5 MB, free: 14.23 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004417/0.1283, allocations: 198.8 kB / 285.7 MB, free: 14 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004212/0.1288, allocations: 131.6 kB / 285.9 MB, free: 13.88 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.511e-06/0.1288, allocations: 4 kB / 285.9 MB, free: 13.87 MB / 250.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001386/0.1302, allocations: 448.2 kB / 286.3 MB, free: 13.42 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.173e-05/0.1302, allocations: 4 kB / 286.3 MB, free: 13.42 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.122e-05/0.1302, allocations: 4 kB / 286.3 MB, free: 13.41 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005219/0.1308, allocations: 81.81 kB / 286.4 MB, free: 13.33 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006083/0.1314, allocations: 83.84 kB / 286.5 MB, free: 13.25 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003444/0.1349, allocations: 2.873 MB / 289.3 MB, free: 10.11 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000505/0.1354, allocations: 19.97 kB / 289.4 MB, free: 10.09 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.829e-05/0.1355, allocations: 19.98 kB / 289.4 MB, free: 10.07 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (45): * Single equations (assignments): 43 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 5,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002964/0.1358, allocations: 165.7 kB / 289.5 MB, free: 9.895 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001405/0.1359, allocations: 51.42 kB / 289.6 MB, free: 9.844 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.608e-05/0.136, allocations: 43.52 kB / 289.6 MB, free: 9.805 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.035e-06/0.136, allocations: 3.984 kB / 289.6 MB, free: 9.801 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.1361, allocations: 0 / 289.6 MB, free: 9.801 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002133/0.1363, allocations: 136.6 kB / 289.8 MB, free: 9.648 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.087e-05/0.1364, allocations: 16.31 kB / 289.8 MB, free: 9.633 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005637/0.137, allocations: 27.98 kB / 289.8 MB, free: 9.605 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.997e-05/0.1371, allocations: 31.95 kB / 289.9 MB, free: 9.574 MB / 250.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001613/0.1387, allocations: 0.5122 MB / 290.4 MB, free: 9.051 MB / 250.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.00127/0.14, allocations: 0.6348 MB / 291 MB, free: 8.398 MB / 250.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003379/0.1403, allocations: 112.1 kB / 291.1 MB, free: 8.289 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0004518/0.1408, allocations: 271.2 kB / 291.4 MB, free: 8.027 MB / 250.7 MB Notification: Performance of Backend: time 8.12e-07/0.1408, allocations: 4 kB / 291.4 MB, free: 8.023 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.001424/0.1423, allocations: 0.5115 MB / 291.9 MB, free: 7.48 MB / 250.7 MB Notification: Performance of SimCode: time 0.003881/0.1462, allocations: 1.644 MB / 293.5 MB, free: 5.793 MB / 250.7 MB Notification: Performance of Templates: time 0.01854/0.1648, allocations: 4.491 MB / 298 MB, free: 1.312 MB / 250.7 MB