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.MultiPhase.Examples.TestSensors.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.MultiPhase.Examples.TestSensors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|inductor.inductor.2..i|inductor.inductor.3..i",fileNamePrefix="Modelica_3.2.1_cpp_Modelica.Electrical.MultiPhase.Examples.TestSensors") Notification: Performance of loadModel(Modelica): time 1.699/1.699, allocations: 171.2 MB / 186.7 MB, free: 1.043 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007654/0.0007658, allocations: 12 kB / 233.2 MB, free: 3.051 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.108/0.1088, allocations: 38.76 MB / 271.9 MB, free: 12.2 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.MultiPhase.Examples.TestSensors): time 0.005608/0.1144, allocations: 3.328 MB / 275.2 MB, free: 8.844 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.002707/0.1172, allocations: 1.068 MB / 276.3 MB, free: 7.773 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005771/0.1178, allocations: 23.88 kB / 276.3 MB, free: 7.75 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004642/0.1183, allocations: 155.1 kB / 276.5 MB, free: 7.598 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009228/0.1192, allocations: 203.3 kB / 276.7 MB, free: 7.398 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003564/0.1196, allocations: 91.91 kB / 276.8 MB, free: 7.309 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.001403/0.121, allocations: 0.8462 MB / 277.6 MB, free: 6.461 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002026/0.1231, allocations: 1.209 MB / 278.8 MB, free: 5.23 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008439/0.124, allocations: 482.2 kB / 279.3 MB, free: 4.758 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000962/0.125, allocations: 0.5445 MB / 279.8 MB, free: 4.211 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000192/0.1252, allocations: 84 kB / 279.9 MB, free: 4.129 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003106/0.1255, allocations: 88 kB / 280 MB, free: 4.043 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004223/0.1259, allocations: 331 kB / 280.3 MB, free: 3.719 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003882/0.1263, allocations: 293 kB / 280.6 MB, free: 3.426 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002797/0.1291, allocations: 1.952 MB / 282.6 MB, free: 1.469 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.68e-06/0.1292, allocations: 4 kB / 282.6 MB, free: 1.465 MB / 234.7 MB Notification: Performance of FrontEnd: time 2.889e-06/0.1292, allocations: 0 / 282.6 MB, free: 1.465 MB / 234.7 MB Notification: Performance of Transformations before backend: time 4.378e-05/0.1293, allocations: 0 / 282.6 MB, free: 1.465 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: 354 * Number of variables: 354 Notification: Performance of Generate backend data structure: time 0.003524/0.1328, allocations: 1.518 MB / 284.1 MB, free: 15.89 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.307e-05/0.1329, allocations: 12.03 kB / 284.1 MB, free: 15.88 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006591/0.1335, allocations: 158.2 kB / 284.3 MB, free: 15.72 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001999/0.1356, allocations: 0.8597 MB / 285.1 MB, free: 14.82 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001271/0.1357, allocations: 106.7 kB / 285.2 MB, free: 14.72 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003509/0.1361, allocations: 132 kB / 285.4 MB, free: 14.59 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004333/0.1404, allocations: 1.704 MB / 287.1 MB, free: 12.86 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.776e-05/0.1405, allocations: 4 kB / 287.1 MB, free: 12.86 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001756/0.1407, allocations: 56 kB / 287.1 MB, free: 12.8 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.631e-05/0.1408, allocations: 39.98 kB / 287.2 MB, free: 12.77 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003956/0.1447, allocations: 1.514 MB / 288.7 MB, free: 11.25 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0115/0.1563, allocations: 4.991 MB / 293.7 MB, free: 6.098 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001435/0.1578, allocations: 0.9707 MB / 294.6 MB, free: 5.012 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.401e-05/0.1579, allocations: 8.688 kB / 294.6 MB, free: 5.004 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.721e-05/0.1579, allocations: 38.56 kB / 294.7 MB, free: 4.957 MB / 250.7 MB Notification: Performance of pre-optimization done (n=42): time 3.995e-06/0.158, allocations: 0 / 294.7 MB, free: 4.957 MB / 250.7 MB Notification: Performance of matching and sorting (n=43): time 0.004259/0.1622, allocations: 1.825 MB / 296.5 MB, free: 3.066 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.27e-05/0.1623, allocations: 59.36 kB / 296.6 MB, free: 2.996 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001233/0.1636, allocations: 0.6787 MB / 297.2 MB, free: 2.305 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 7.398e-05/0.1637, allocations: 33.7 kB / 297.3 MB, free: 2.266 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005484/0.1642, allocations: 0.6329 MB / 297.9 MB, free: 1.625 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000187/0.1644, allocations: 161.7 kB / 298.1 MB, free: 1.465 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.681e-05/0.1645, allocations: 8 kB / 298.1 MB, free: 1.457 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.000184/0.1647, allocations: 338.8 kB / 298.4 MB, free: 1.117 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006421/0.1653, allocations: 276.9 kB / 298.7 MB, free: 0.8477 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000743/0.1661, allocations: 405.2 kB / 299.1 MB, free: 404 kB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007207/0.1668, allocations: 348.6 kB / 299.4 MB, free: 52 kB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.071e-06/0.1668, allocations: 0 / 299.4 MB, free: 52 kB / 250.7 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.1784/0.3453, allocations: 0.7991 MB / 300.2 MB, free: 29.38 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.801e-05/0.3453, allocations: 8.188 kB / 300.2 MB, free: 29.38 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.315e-05/0.3454, allocations: 4.641 kB / 300.2 MB, free: 29.38 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003118/0.3457, allocations: 88.47 kB / 300.3 MB, free: 29.36 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006225/0.3463, allocations: 114 kB / 300.4 MB, free: 29.36 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002177/0.3485, allocations: 1.943 MB / 302.4 MB, free: 28 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005392/0.3491, allocations: 34.78 kB / 302.4 MB, free: 27.99 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.916e-05/0.3492, allocations: 20.39 kB / 302.4 MB, free: 27.99 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * 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 (59): * Single equations (assignments): 58 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0009324/0.3501, allocations: 0.4992 MB / 302.9 MB, free: 27.71 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001578/0.3503, allocations: 66.59 kB / 303 MB, free: 27.71 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001743/0.3505, allocations: 77.67 kB / 303.1 MB, free: 27.67 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.501e-06/0.3505, allocations: 5.078 kB / 303.1 MB, free: 27.67 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.687e-06/0.3505, allocations: 1.719 kB / 303.1 MB, free: 27.67 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.104e-06/0.3506, allocations: 6.062 kB / 303.1 MB, free: 27.66 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004319/0.3549, allocations: 1.947 MB / 305 MB, free: 26.82 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.975e-06/0.3549, allocations: 5.031 kB / 305 MB, free: 26.81 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004462/0.3554, allocations: 77.44 kB / 305.1 MB, free: 26.81 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002682/0.3557, allocations: 74.45 kB / 305.2 MB, free: 26.79 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.508e-05/0.3557, allocations: 13.98 kB / 305.2 MB, free: 26.78 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001981/0.3577, allocations: 1.92 MB / 307.1 MB, free: 25.18 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.726e-06/0.3578, allocations: 1.469 kB / 307.1 MB, free: 25.18 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002121/0.3599, allocations: 1.074 MB / 308.2 MB, free: 24.72 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004117/0.3604, allocations: 193.9 kB / 308.4 MB, free: 24.6 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001287/0.3605, allocations: 12.62 kB / 308.4 MB, free: 24.59 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005243/0.361, allocations: 45.62 kB / 308.4 MB, free: 24.58 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001269/0.3612, allocations: 34.06 kB / 308.5 MB, free: 24.58 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.392e-05/0.3612, allocations: 14.72 kB / 308.5 MB, free: 24.57 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0008796/0.3621, allocations: 492.8 kB / 309 MB, free: 24.37 MB / 250.7 MB Notification: Performance of sort global known variables: time 8.32e-07/0.3622, allocations: 0 / 309 MB, free: 24.37 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.00105/0.3632, allocations: 201.6 kB / 309.1 MB, free: 24.35 MB / 250.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (inductor.inductor[2].i,inductor.inductor[3].i) * 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 (37): * Single equations (assignments): 36 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001507/0.3634, allocations: 111 kB / 309.3 MB, free: 24.25 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.001622/0.365, allocations: 0.7608 MB / 310 MB, free: 23.93 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 4.6e-06/0.3651, allocations: 0 / 310 MB, free: 23.93 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008656/0.3659, allocations: 435.3 kB / 310.4 MB, free: 23.72 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009612/0.3669, allocations: 150.8 kB / 310.6 MB, free: 23.68 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004703/0.3716, allocations: 2.78 MB / 313.4 MB, free: 22.07 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001157/0.3728, allocations: 1.416 MB / 314.8 MB, free: 21.23 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002688/0.3731, allocations: 48.36 kB / 314.8 MB, free: 21.22 MB / 250.7 MB Notification: Performance of SimCode: time 1.775e-06/0.3732, allocations: 0 / 314.8 MB, free: 21.22 MB / 250.7 MB Notification: Performance of Templates: time 0.02556/0.3987, allocations: 19 MB / 333.8 MB, free: 4.828 MB / 250.7 MB