Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta.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.MultiPhase.Examples.BalancingDelta,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|voltageSource.plug_p.reference.gamma",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta") Notification: Performance of loadModel(Modelica): time 2.202/2.202, allocations: 194.9 MB / 211.7 MB, free: 2.871 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005634/0.0005636, allocations: 12 kB / 264.5 MB, free: 12.9 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1047/0.1053, allocations: 44.5 MB / 309 MB, free: 344 kB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4357/0.541, allocations: 85.04 MB / 394.1 MB, free: 15.37 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002954/0.5413, allocations: 88.67 kB / 394.2 MB, free: 15.37 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8186/1.36, allocations: 142.2 MB / 0.5238 GB, free: 79.5 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.186e-06/1.36, allocations: 0.8438 kB / 0.5238 GB, free: 79.5 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0003177/1.36, allocations: 96.89 kB / 0.5239 GB, free: 79.49 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1203 * Number of variables: 1203 Notification: Performance of Generate backend data structure: time 0.02109/1.381, allocations: 3.986 MB / 0.5278 GB, free: 78.8 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.854e-05/1.382, allocations: 14.67 kB / 0.5278 GB, free: 78.8 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01668/1.398, allocations: 1.82 MB / 0.5295 GB, free: 78.58 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008137/1.406, allocations: 2.437 MB / 0.5319 GB, free: 78.22 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006771/1.407, allocations: 324.8 kB / 0.5322 GB, free: 78.21 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002097/1.409, allocations: 413.4 kB / 0.5326 GB, free: 78.21 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02234/1.432, allocations: 6.893 MB / 0.5394 GB, free: 77.69 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001636/1.432, allocations: 8.562 kB / 0.5394 GB, free: 77.68 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009893/1.433, allocations: 180.4 kB / 0.5395 GB, free: 77.68 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003924/1.433, allocations: 272.6 kB / 0.5398 GB, free: 77.67 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01784/1.451, allocations: 5.827 MB / 0.5455 GB, free: 77.62 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05305/1.504, allocations: 21.34 MB / 0.5663 GB, free: 74.71 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01141/1.516, allocations: 7.58 MB / 0.5737 GB, free: 69.03 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02298/1.539, allocations: 9.458 MB / 0.583 GB, free: 64 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.386e-05/1.539, allocations: 55.69 kB / 0.583 GB, free: 63.95 MB / 410.7 MB Notification: Performance of pre-optimization done (n=265): time 7.053e-06/1.539, allocations: 0 / 0.583 GB, free: 63.95 MB / 410.7 MB Notification: Performance of matching and sorting (n=265): time 0.01873/1.558, allocations: 10.74 MB / 0.5935 GB, free: 56.09 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.657e-05/1.558, allocations: 76.34 kB / 0.5936 GB, free: 56.02 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002315/1.56, allocations: 1.218 MB / 0.5948 GB, free: 55.52 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005809/1.561, allocations: 56.77 kB / 0.5948 GB, free: 55.46 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001055/1.562, allocations: 1.648 MB / 0.5964 GB, free: 54.22 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001433/1.563, allocations: 0.8797 MB / 0.5973 GB, free: 53.54 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003435/1.564, allocations: 54.94 kB / 0.5974 GB, free: 53.5 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0003463/1.564, allocations: 490.8 kB / 0.5978 GB, free: 53.12 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004628/1.569, allocations: 1.932 MB / 0.5997 GB, free: 52.36 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005938/1.575, allocations: 2.7 MB / 0.6023 GB, free: 50.69 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005949/1.581, allocations: 2.394 MB / 0.6047 GB, free: 49.65 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.227e-05/1.581, allocations: 3.844 kB / 0.6047 GB, free: 49.65 MB / 410.7 MB Notification: Performance of matching and sorting (n=423) (initialization): time 0.015/1.596, allocations: 5.538 MB / 0.6101 GB, free: 47.46 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.796e-05/1.596, allocations: 17.59 kB / 0.6101 GB, free: 47.46 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.206e-05/1.596, allocations: 22.22 kB / 0.6101 GB, free: 47.46 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00309/1.599, allocations: 1.083 MB / 0.6112 GB, free: 47.09 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004027/1.603, allocations: 0.5229 MB / 0.6117 GB, free: 47.07 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005908/1.609, allocations: 3.877 MB / 0.6155 GB, free: 44.57 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003635/1.613, allocations: 362.9 kB / 0.6158 GB, free: 44.36 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008735/1.614, allocations: 139.6 kB / 0.616 GB, free: 44.33 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 103 * 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 (305): * Single equations (assignments): 253 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 49 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {6 9,6 9,6 9} Notification: Performance of prepare postOptimizeDAE: time 0.004193/1.618, allocations: 1.542 MB / 0.6175 GB, free: 43.61 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006938/1.618, allocations: 162.1 kB / 0.6176 GB, free: 43.52 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01211/1.631, allocations: 4.642 MB / 0.6222 GB, free: 40.86 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0104/1.641, allocations: 4.246 MB / 0.6263 GB, free: 37.12 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.504e-05/1.641, allocations: 0 / 0.6263 GB, free: 37.12 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.602e-05/1.641, allocations: 9.938 kB / 0.6263 GB, free: 37.12 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02443/1.666, allocations: 9.524 MB / 0.6356 GB, free: 29.11 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.052e-05/1.666, allocations: 0 / 0.6356 GB, free: 29.11 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002386/1.668, allocations: 253.3 kB / 0.6359 GB, free: 28.92 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002896/1.671, allocations: 1.038 MB / 0.6369 GB, free: 28.05 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000625/1.672, allocations: 60.67 kB / 0.6369 GB, free: 28 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005509/1.677, allocations: 3.84 MB / 0.6407 GB, free: 24.43 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-06/1.677, allocations: 3.828 kB / 0.6407 GB, free: 24.43 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01693/1.694, allocations: 7.109 MB / 0.6476 GB, free: 18.17 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007828/1.695, allocations: 293.5 kB / 0.6479 GB, free: 17.87 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001055/1.696, allocations: 35.56 kB / 0.6479 GB, free: 17.84 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002016/1.698, allocations: 77.86 kB / 0.648 GB, free: 17.79 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008229/1.699, allocations: 210.5 kB / 0.6482 GB, free: 17.65 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002592/1.699, allocations: 71.3 kB / 0.6483 GB, free: 17.59 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001604/1.701, allocations: 0.7996 MB / 0.6491 GB, free: 16.91 MB / 410.7 MB Notification: Performance of sort global known variables: time 5.01e-07/1.701, allocations: 0 / 0.6491 GB, free: 16.91 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.004477/1.705, allocations: 0.9954 MB / 0.65 GB, free: 15.91 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (currentSensor31.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 (152): * Single equations (assignments): 100 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 49 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {6 9,6 9,6 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009735/1.707, allocations: 201.9 kB / 0.6502 GB, free: 15.74 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.01167/1.718, allocations: 4.473 MB / 0.6546 GB, free: 11.91 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.843e-06/1.718, allocations: 1.812 kB / 0.6546 GB, free: 11.91 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005857/1.724, allocations: 2.056 MB / 0.6566 GB, free: 10.16 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002842/1.727, allocations: 271.3 kB / 0.6569 GB, free: 9.953 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02333/1.75, allocations: 10.08 MB / 0.6667 GB, free: 0.9297 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005234/1.756, allocations: 3.057 MB / 0.6697 GB, free: 14.5 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.003113/1.759, allocations: 0.5718 MB / 0.6702 GB, free: 14.11 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007124/1.76, allocations: 114.5 kB / 0.6704 GB, free: 14 MB / 426.7 MB Notification: Performance of SimCode: time 1.423e-06/1.76, allocations: 0 / 0.6704 GB, free: 14 MB / 426.7 MB Notification: Performance of Templates: time 0.4355/2.195, allocations: 40.55 MB / 0.71 GB, free: 86.84 MB / 426.7 MB