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.BalancingStar.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.BalancingStar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|voltageSource.plug_p.reference.gamma",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar") Notification: Performance of loadModel(Modelica): time 2.064/2.064, allocations: 194.9 MB / 211.7 MB, free: 3 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003392/0.0003393, allocations: 8 kB / 264.5 MB, free: 12.93 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1067/0.1071, allocations: 44.51 MB / 309.1 MB, free: 360 kB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4792/0.5863, allocations: 85.11 MB / 394.2 MB, free: 15.38 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002874/0.5867, allocations: 90.12 kB / 394.3 MB, free: 15.38 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8499/1.437, allocations: 157.4 MB / 0.5387 GB, free: 82.53 MB / 410.7 MB Notification: Performance of FrontEnd: time 5.269e-06/1.437, allocations: 4 kB / 0.5387 GB, free: 82.53 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0003294/1.437, allocations: 103.7 kB / 0.5388 GB, free: 82.52 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: 1303 * Number of variables: 1303 Notification: Performance of Generate backend data structure: time 0.0295/1.467, allocations: 4.345 MB / 0.5431 GB, free: 81.2 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.612e-05/1.467, allocations: 10.66 kB / 0.5431 GB, free: 81.2 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02166/1.488, allocations: 1.699 MB / 0.5447 GB, free: 80.97 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01242/1.501, allocations: 2.684 MB / 0.5474 GB, free: 80.52 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008038/1.502, allocations: 345.8 kB / 0.5477 GB, free: 80.51 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002618/1.504, allocations: 446.7 kB / 0.5481 GB, free: 80.51 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03253/1.537, allocations: 7.544 MB / 0.5555 GB, free: 79.93 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002984/1.537, allocations: 7.031 kB / 0.5555 GB, free: 79.92 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002322/1.54, allocations: 192.4 kB / 0.5557 GB, free: 79.92 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005925/1.54, allocations: 299.6 kB / 0.556 GB, free: 79.91 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02279/1.563, allocations: 6.186 MB / 0.562 GB, free: 79.86 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07648/1.64, allocations: 23.25 MB / 0.5847 GB, free: 72.08 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01148/1.651, allocations: 6.458 MB / 0.591 GB, free: 67.83 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03577/1.687, allocations: 10.79 MB / 0.6016 GB, free: 62.16 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.465e-05/1.687, allocations: 58.14 kB / 0.6016 GB, free: 62.11 MB / 410.7 MB Notification: Performance of pre-optimization done (n=319): time 1.095e-05/1.687, allocations: 0 / 0.6016 GB, free: 62.11 MB / 410.7 MB Notification: Performance of matching and sorting (n=319): time 0.03231/1.719, allocations: 13 MB / 0.6143 GB, free: 52.71 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.28e-05/1.72, allocations: 72.19 kB / 0.6144 GB, free: 52.64 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003213/1.723, allocations: 1.184 MB / 0.6155 GB, free: 52.16 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000813/1.724, allocations: 61.05 kB / 0.6156 GB, free: 52.11 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001461/1.725, allocations: 1.678 MB / 0.6172 GB, free: 50.84 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00202/1.727, allocations: 1.054 MB / 0.6183 GB, free: 50.02 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005022/1.728, allocations: 62.44 kB / 0.6183 GB, free: 49.98 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0005424/1.728, allocations: 0.4977 MB / 0.6188 GB, free: 49.58 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007228/1.735, allocations: 2.203 MB / 0.621 GB, free: 48.09 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006279/1.742, allocations: 2.916 MB / 0.6238 GB, free: 45.29 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006347/1.748, allocations: 2.7 MB / 0.6264 GB, free: 42.92 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.857e-05/1.748, allocations: 4 kB / 0.6264 GB, free: 42.92 MB / 410.7 MB Notification: Performance of matching and sorting (n=451) (initialization): time 0.01553/1.764, allocations: 6.297 MB / 0.6326 GB, free: 37.46 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.115e-05/1.764, allocations: 12 kB / 0.6326 GB, free: 37.45 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.069e-05/1.764, allocations: 20.91 kB / 0.6326 GB, free: 37.43 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003733/1.768, allocations: 1.433 MB / 0.634 GB, free: 36.23 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003904/1.772, allocations: 0.509 MB / 0.6345 GB, free: 35.83 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007277/1.779, allocations: 5.181 MB / 0.6396 GB, free: 31.01 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003342/1.782, allocations: 372.8 kB / 0.6399 GB, free: 30.68 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005311/1.783, allocations: 139.3 kB / 0.6401 GB, free: 30.55 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 89 * 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 (301): * Single equations (assignments): 239 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 58 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {6 9,6 9,6 9,6 9} Notification: Performance of prepare postOptimizeDAE: time 0.004045/1.787, allocations: 1.701 MB / 0.6417 GB, free: 29.11 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006227/1.788, allocations: 169.8 kB / 0.6419 GB, free: 28.95 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01352/1.801, allocations: 5.627 MB / 0.6474 GB, free: 24.12 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01211/1.813, allocations: 5.172 MB / 0.6524 GB, free: 19.58 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.531e-05/1.813, allocations: 0 / 0.6524 GB, free: 19.58 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.751e-05/1.813, allocations: 10.69 kB / 0.6524 GB, free: 19.58 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02678/1.84, allocations: 11.15 MB / 0.6633 GB, free: 10.2 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.474e-05/1.84, allocations: 0 / 0.6633 GB, free: 10.2 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002547/1.843, allocations: 284.4 kB / 0.6636 GB, free: 9.984 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003639/1.847, allocations: 1.389 MB / 0.665 GB, free: 8.82 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007016/1.847, allocations: 71.53 kB / 0.665 GB, free: 8.762 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007196/1.855, allocations: 5.132 MB / 0.67 GB, free: 3.984 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-06/1.855, allocations: 4 kB / 0.67 GB, free: 3.98 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3141/2.169, allocations: 8.565 MB / 0.6784 GB, free: 78.3 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002617/2.171, allocations: 0.7308 MB / 0.6791 GB, free: 78.21 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001044/2.172, allocations: 38.62 kB / 0.6792 GB, free: 78.21 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002171/2.175, allocations: 88.92 kB / 0.6792 GB, free: 78.21 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009352/2.176, allocations: 242.5 kB / 0.6795 GB, free: 78.21 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003425/2.176, allocations: 80.72 kB / 0.6796 GB, free: 78.21 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001807/2.178, allocations: 0.7871 MB / 0.6803 GB, free: 78.1 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.663e-06/2.178, allocations: 2.531 kB / 0.6803 GB, free: 78.1 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.005373/2.183, allocations: 1.077 MB / 0.6814 GB, free: 78.02 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (currentSensor0.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 (174): * Single equations (assignments): 112 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 58 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {6 9,6 9,6 9,6 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.001142/2.184, allocations: 204.3 kB / 0.6816 GB, free: 77.93 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.01485/2.199, allocations: 5.153 MB / 0.6866 GB, free: 77.83 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 8.156e-06/2.199, allocations: 0 / 0.6866 GB, free: 77.83 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007544/2.207, allocations: 2.463 MB / 0.689 GB, free: 77.79 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003185/2.21, allocations: 322.8 kB / 0.6893 GB, free: 77.78 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02741/2.238, allocations: 11.19 MB / 0.7002 GB, free: 74.18 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01091/2.249, allocations: 3.332 MB / 0.7035 GB, free: 89.39 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.004093/2.253, allocations: 0.5927 MB / 0.7041 GB, free: 89.33 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007281/2.254, allocations: 119.8 kB / 0.7042 GB, free: 89.32 MB / 426.7 MB Notification: Performance of SimCode: time 1.173e-06/2.254, allocations: 0 / 0.7042 GB, free: 89.32 MB / 426.7 MB Notification: Performance of Templates: time 0.1477/2.401, allocations: 48.18 MB / 0.7512 GB, free: 83.54 MB / 426.7 MB