Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_cpp_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar.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.QuasiStationary.MultiPhase.Examples.BalancingStar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|voltageSource.plug_p.reference.gamma|voltageSource.voltageSource.2..pin_p.reference.gamma|voltageSource.voltageSource.3..pin_p.reference.gamma",fileNamePrefix="Modelica_3.2.1_cpp_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar") Notification: Performance of loadModel(Modelica): time 1.667/1.667, allocations: 171.1 MB / 187.3 MB, free: 1.055 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005104/0.0005106, allocations: 7.984 kB / 233.8 MB, free: 3.062 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09969/0.1002, allocations: 38.77 MB / 272.6 MB, free: 12.21 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3639/0.4642, allocations: 74.58 MB / 347.1 MB, free: 15.43 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003368/0.4646, allocations: 86.95 kB / 347.2 MB, free: 15.38 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.784/1.249, allocations: 171.9 MB / 0.5069 GB, free: 44.88 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.466e-06/1.249, allocations: 0 / 0.5069 GB, free: 44.88 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0003366/1.249, allocations: 107.9 kB / 0.507 GB, free: 44.77 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1355 * Number of variables: 1355 Notification: Performance of Generate backend data structure: time 0.02227/1.271, allocations: 4.648 MB / 0.5116 GB, free: 40.1 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.845e-05/1.271, allocations: 12.02 kB / 0.5116 GB, free: 40.09 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002744/1.274, allocations: 486.3 kB / 0.512 GB, free: 39.61 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008434/1.283, allocations: 2.928 MB / 0.5149 GB, free: 36.64 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000604/1.283, allocations: 373.8 kB / 0.5152 GB, free: 36.27 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001894/1.285, allocations: 475.9 kB / 0.5157 GB, free: 35.81 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02405/1.309, allocations: 7.734 MB / 0.5232 GB, free: 27.87 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002172/1.31, allocations: 7.906 kB / 0.5233 GB, free: 27.86 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001628/1.311, allocations: 208 kB / 0.5235 GB, free: 27.66 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002723/1.312, allocations: 223.9 kB / 0.5237 GB, free: 27.44 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01696/1.328, allocations: 5.47 MB / 0.529 GB, free: 21.96 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.345/1.674, allocations: 23.96 MB / 0.5524 GB, free: 47.8 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007387/1.681, allocations: 2.754 MB / 0.5551 GB, free: 47.71 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004561/1.682, allocations: 68.19 kB / 0.5552 GB, free: 47.7 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.808e-05/1.682, allocations: 62.3 kB / 0.5552 GB, free: 47.66 MB / 346.7 MB Notification: Performance of pre-optimization done (n=324): time 7.894e-06/1.682, allocations: 0 / 0.5552 GB, free: 47.66 MB / 346.7 MB Notification: Performance of matching and sorting (n=324): time 0.0301/1.712, allocations: 14.21 MB / 0.5691 GB, free: 40.75 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.256e-05/1.712, allocations: 133 kB / 0.5692 GB, free: 40.62 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002026/1.714, allocations: 0.8653 MB / 0.5701 GB, free: 40.5 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007568/1.715, allocations: 62.7 kB / 0.5701 GB, free: 40.47 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001066/1.716, allocations: 1.63 MB / 0.5717 GB, free: 39.82 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001866/1.718, allocations: 1.058 MB / 0.5728 GB, free: 39.19 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003537/1.718, allocations: 46.75 kB / 0.5728 GB, free: 39.19 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0004179/1.718, allocations: 438 kB / 0.5732 GB, free: 38.88 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005709/1.724, allocations: 2.109 MB / 0.5753 GB, free: 38.87 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006496/1.731, allocations: 2.573 MB / 0.5778 GB, free: 38.45 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00649/1.737, allocations: 2.555 MB / 0.5803 GB, free: 38.41 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-05/1.737, allocations: 3.812 kB / 0.5803 GB, free: 38.41 MB / 346.7 MB Notification: Performance of matching and sorting (n=379) (initialization): time 0.0159/1.753, allocations: 5.966 MB / 0.5861 GB, free: 38.2 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.725e-05/1.753, allocations: 13.62 kB / 0.5861 GB, free: 38.2 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.674e-05/1.753, allocations: 10.19 kB / 0.5861 GB, free: 38.2 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004753/1.758, allocations: 1.759 MB / 0.5879 GB, free: 38.14 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002636/1.761, allocations: 329.3 kB / 0.5882 GB, free: 38.14 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009347/1.77, allocations: 6.43 MB / 0.5944 GB, free: 35.49 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002296/1.773, allocations: 229.1 kB / 0.5947 GB, free: 35.37 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005181/1.773, allocations: 106.4 kB / 0.5948 GB, free: 35.37 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * 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 (200): * Single equations (assignments): 131 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 64 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 5 {6 9,6 9,6 9,6 9,6 9} Notification: Performance of prepare postOptimizeDAE: time 0.005035/1.778, allocations: 1.879 MB / 0.5966 GB, free: 35.24 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006549/1.779, allocations: 155.1 kB / 0.5967 GB, free: 35.16 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01467/1.794, allocations: 5.886 MB / 0.6025 GB, free: 34.96 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01367/1.807, allocations: 5.535 MB / 0.6079 GB, free: 32.76 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.979e-05/1.807, allocations: 0 / 0.6079 GB, free: 32.76 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.64e-05/1.807, allocations: 15.12 kB / 0.6079 GB, free: 32.76 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03105/1.839, allocations: 12.21 MB / 0.6198 GB, free: 27.29 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.41e-05/1.839, allocations: 0 / 0.6198 GB, free: 27.29 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002191/1.841, allocations: 226.2 kB / 0.6201 GB, free: 27.29 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004835/1.846, allocations: 1.747 MB / 0.6218 GB, free: 26.7 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007443/1.847, allocations: 76.67 kB / 0.6218 GB, free: 26.66 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009245/1.856, allocations: 6.409 MB / 0.6281 GB, free: 22.48 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.011e-06/1.856, allocations: 3.75 kB / 0.6281 GB, free: 22.48 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02166/1.877, allocations: 9.253 MB / 0.6371 GB, free: 17.39 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005794/1.878, allocations: 277.2 kB / 0.6374 GB, free: 17.11 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001102/1.879, allocations: 43.52 kB / 0.6374 GB, free: 17.07 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001902/1.881, allocations: 58.12 kB / 0.6375 GB, free: 17.02 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001011/1.882, allocations: 266.5 kB / 0.6377 GB, free: 16.85 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003434/1.883, allocations: 81.7 kB / 0.6378 GB, free: 16.78 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001151/1.884, allocations: 0.606 MB / 0.6384 GB, free: 16.28 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.81e-07/1.884, allocations: 0 / 0.6384 GB, free: 16.28 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.004404/1.888, allocations: 1.065 MB / 0.6395 GB, free: 15.21 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 3 (voltageSource.voltageSource[1].pin_p.reference.gamma,voltageSource.voltageSource[3].pin_p.reference.gamma,voltageSource.voltageSource[2].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 (147): * Single equations (assignments): 78 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 64 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 5 {6 9,6 9,6 9,6 9,6 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.001099/1.889, allocations: 200.8 kB / 0.6396 GB, free: 15.05 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.01346/1.903, allocations: 5.034 MB / 0.6446 GB, free: 10.7 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 9.649e-06/1.903, allocations: 0 / 0.6446 GB, free: 10.7 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007382/1.91, allocations: 2.566 MB / 0.6471 GB, free: 8.496 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003759/1.914, allocations: 343.1 kB / 0.6474 GB, free: 8.242 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02532/1.939, allocations: 11.2 MB / 0.6583 GB, free: 13.98 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007122/1.947, allocations: 3.499 MB / 0.6618 GB, free: 11.18 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007737/1.947, allocations: 83.44 kB / 0.6618 GB, free: 11.1 MB / 362.7 MB Notification: Performance of SimCode: time 1.152e-06/1.947, allocations: 0 / 0.6618 GB, free: 11.1 MB / 362.7 MB Notification: Performance of Templates: time 0.8666/2.814, allocations: 184.5 MB / 0.842 GB, free: 95.7 MB / 394.7 MB