Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_cpp_Modelica.Electrical.Analog.Examples.CompareTransformers.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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_cpp_Modelica.Electrical.Analog.Examples.CompareTransformers") Notification: Performance of loadModel(Modelica): time 1.829/1.829, allocations: 171.2 MB / 186.7 MB, free: 1.125 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003606/0.0003608, allocations: 12 kB / 233.2 MB, free: 3.07 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1164/0.1168, allocations: 38.78 MB / 271.9 MB, free: 12.21 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CompareTransformers): time 0.008061/0.1249, allocations: 3.323 MB / 275.3 MB, free: 8.855 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.01131/0.1363, allocations: 0.9008 MB / 276.2 MB, free: 7.953 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007965/0.1372, allocations: 8 kB / 276.2 MB, free: 7.945 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003633/0.1376, allocations: 75.42 kB / 276.2 MB, free: 7.871 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001174/0.1388, allocations: 215.4 kB / 276.4 MB, free: 7.66 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007214/0.1395, allocations: 91.89 kB / 276.5 MB, free: 7.57 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.00152/0.1411, allocations: 479.4 kB / 277 MB, free: 7.098 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005788/0.1417, allocations: 158.3 kB / 277.2 MB, free: 6.945 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005688/0.1423, allocations: 223.1 kB / 277.4 MB, free: 6.727 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005954/0.1429, allocations: 250.9 kB / 277.6 MB, free: 6.48 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001409/0.1431, allocations: 32 kB / 277.7 MB, free: 6.449 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001648/0.1433, allocations: 32 kB / 277.7 MB, free: 6.418 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001844/0.1435, allocations: 99.58 kB / 277.8 MB, free: 6.32 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002599/0.1438, allocations: 133.3 kB / 277.9 MB, free: 6.184 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009657/0.1448, allocations: 470.9 kB / 278.4 MB, free: 5.723 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.002e-06/0.1448, allocations: 0 / 278.4 MB, free: 5.723 MB / 234.7 MB Notification: Performance of FrontEnd: time 3.236e-06/0.1448, allocations: 0 / 278.4 MB, free: 5.723 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.852e-05/0.1448, allocations: 0 / 278.4 MB, free: 5.723 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.002643/0.1475, allocations: 0.787 MB / 279.2 MB, free: 4.883 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.558e-05/0.1476, allocations: 16.03 kB / 279.2 MB, free: 4.867 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002507/0.1479, allocations: 63.25 kB / 279.2 MB, free: 4.805 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001014/0.1489, allocations: 358.6 kB / 279.6 MB, free: 4.418 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.867e-05/0.149, allocations: 40.95 kB / 279.6 MB, free: 4.379 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001753/0.1492, allocations: 55.89 kB / 279.7 MB, free: 4.324 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001898/0.1511, allocations: 475.2 kB / 280.1 MB, free: 3.844 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.71e-05/0.1512, allocations: 4 kB / 280.1 MB, free: 3.84 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001096/0.1513, allocations: 24 kB / 280.2 MB, free: 3.816 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.481e-05/0.1514, allocations: 12 kB / 280.2 MB, free: 3.805 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001685/0.1531, allocations: 332.3 kB / 280.5 MB, free: 3.48 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006535/0.1596, allocations: 1.713 MB / 282.2 MB, free: 1.668 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001103/0.1608, allocations: 277.1 kB / 282.5 MB, free: 1.379 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.925e-05/0.1609, allocations: 4 kB / 282.5 MB, free: 1.375 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.961e-05/0.1609, allocations: 38.56 kB / 282.5 MB, free: 1.328 MB / 234.7 MB Notification: Performance of pre-optimization done (n=31): time 5.925e-06/0.161, allocations: 0 / 282.5 MB, free: 1.328 MB / 234.7 MB Notification: Performance of matching and sorting (n=32): time 0.004317/0.1653, allocations: 0.9657 MB / 283.5 MB, free: 292 kB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.897e-05/0.1654, allocations: 85.05 kB / 283.6 MB, free: 188 kB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001048/0.1665, allocations: 385.6 kB / 284 MB, free: 15.79 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 8.798e-05/0.1666, allocations: 33.7 kB / 284 MB, free: 15.75 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003739/0.167, allocations: 326 kB / 284.3 MB, free: 15.43 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002/0.1673, allocations: 118.3 kB / 284.4 MB, free: 15.32 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.319e-05/0.1673, allocations: 16 kB / 284.4 MB, free: 15.3 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0002279/0.1676, allocations: 326.8 kB / 284.8 MB, free: 14.97 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000587/0.1682, allocations: 100.8 kB / 284.9 MB, free: 14.88 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007051/0.1689, allocations: 198.8 kB / 285.1 MB, free: 14.64 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000687/0.1697, allocations: 133 kB / 285.2 MB, free: 14.52 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.321e-06/0.1697, allocations: 4 kB / 285.2 MB, free: 14.52 MB / 250.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.002144/0.1719, allocations: 427.7 kB / 285.6 MB, free: 14.09 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.909e-05/0.1719, allocations: 10.17 kB / 285.6 MB, free: 14.08 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.835e-05/0.172, allocations: 4 kB / 285.6 MB, free: 14.08 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007953/0.1728, allocations: 85.94 kB / 285.7 MB, free: 13.99 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007928/0.1736, allocations: 75.86 kB / 285.8 MB, free: 13.91 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005438/0.1791, allocations: 2.869 MB / 288.6 MB, free: 10.78 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007175/0.1799, allocations: 27.91 kB / 288.7 MB, free: 10.75 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.151e-05/0.18, allocations: 16 kB / 288.7 MB, free: 10.73 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.0004767/0.1805, allocations: 169.7 kB / 288.9 MB, free: 10.56 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002434/0.1807, allocations: 47.48 kB / 288.9 MB, free: 10.51 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001422/0.1809, allocations: 47.5 kB / 288.9 MB, free: 10.47 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.374e-05/0.1809, allocations: 4 kB / 288.9 MB, free: 10.46 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.518e-05/0.181, allocations: 8 kB / 289 MB, free: 10.46 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.476e-05/0.181, allocations: 3.984 kB / 289 MB, free: 10.45 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003586/0.1846, allocations: 0.9403 MB / 289.9 MB, free: 9.449 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.096e-05/0.1847, allocations: 384 / 289.9 MB, free: 9.449 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004703/0.1852, allocations: 47.91 kB / 289.9 MB, free: 9.402 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006937/0.1859, allocations: 89.59 kB / 290 MB, free: 9.309 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.546e-05/0.186, allocations: 8 kB / 290 MB, free: 9.301 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005296/0.1913, allocations: 2.861 MB / 292.9 MB, free: 6.164 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.043e-05/0.1913, allocations: 4.031 kB / 292.9 MB, free: 6.16 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002365/0.1937, allocations: 0.6208 MB / 293.5 MB, free: 5.516 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004239/0.1942, allocations: 136.5 kB / 293.7 MB, free: 5.363 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001284/0.1943, allocations: 15.94 kB / 293.7 MB, free: 5.348 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000834/0.1952, allocations: 39.98 kB / 293.7 MB, free: 5.309 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001338/0.1954, allocations: 20.05 kB / 293.7 MB, free: 5.289 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.049e-05/0.1954, allocations: 19.92 kB / 293.8 MB, free: 5.27 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0007313/0.1962, allocations: 271.2 kB / 294 MB, free: 5.008 MB / 250.7 MB Notification: Performance of sort global known variables: time 1.309e-06/0.1962, allocations: 4 kB / 294 MB, free: 5.004 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.00153/0.1978, allocations: 120 kB / 294.1 MB, free: 4.887 MB / 250.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (inductor22.i,basicTransformer.i1,basicTransformer.i2) * 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 (26): * Single equations (assignments): 24 * 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 Backend phase and start with SimCode phase: time 0.0002639/0.1981, allocations: 115.2 kB / 294.3 MB, free: 4.766 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.002082/0.2002, allocations: 0.5089 MB / 294.8 MB, free: 4.23 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 6.648e-06/0.2002, allocations: 0 / 294.8 MB, free: 4.23 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001463/0.2017, allocations: 400.3 kB / 295.2 MB, free: 3.816 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009505/0.2027, allocations: 57.44 kB / 295.2 MB, free: 3.762 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003724/0.2064, allocations: 1.214 MB / 296.4 MB, free: 2.512 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008499/0.2073, allocations: 0.847 MB / 297.3 MB, free: 1.633 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002317/0.2076, allocations: 39.36 kB / 297.3 MB, free: 1.598 MB / 250.7 MB Notification: Performance of SimCode: time 1.935e-06/0.2076, allocations: 0 / 297.3 MB, free: 1.598 MB / 250.7 MB Notification: Performance of Templates: time 0.216/0.4236, allocations: 8.525 MB / 305.8 MB, free: 27.86 MB / 250.7 MB