Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_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_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar") Notification: Performance of loadModel(Modelica): time 1.886/1.886, allocations: 171.1 MB / 186.7 MB, free: 1.129 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003605/0.0003607, allocations: 11.98 kB / 233.9 MB, free: 2.387 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08512/0.0855, allocations: 38.77 MB / 272.6 MB, free: 11.54 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3924/0.4779, allocations: 74.59 MB / 347.2 MB, free: 14.78 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003008/0.4783, allocations: 88.14 kB / 347.3 MB, free: 14.73 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8544/1.333, allocations: 171.9 MB / 0.507 GB, free: 44.37 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.384e-06/1.333, allocations: 4 kB / 0.507 GB, free: 44.37 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0002938/1.333, allocations: 107.9 kB / 0.5071 GB, free: 44.26 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.02217/1.355, allocations: 4.647 MB / 0.5116 GB, free: 39.58 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.701e-05/1.355, allocations: 12.03 kB / 0.5116 GB, free: 39.57 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002694/1.358, allocations: 486.3 kB / 0.5121 GB, free: 39.09 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008781/1.367, allocations: 2.938 MB / 0.515 GB, free: 36.1 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006355/1.368, allocations: 373.8 kB / 0.5153 GB, free: 35.73 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002008/1.37, allocations: 472 kB / 0.5158 GB, free: 35.27 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02566/1.395, allocations: 7.695 MB / 0.5233 GB, free: 27.37 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006546/1.396, allocations: 7.906 kB / 0.5233 GB, free: 27.36 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002473/1.399, allocations: 204 kB / 0.5235 GB, free: 27.16 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003292/1.399, allocations: 219.9 kB / 0.5237 GB, free: 26.95 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01724/1.416, allocations: 5.478 MB / 0.5291 GB, free: 21.46 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3938/1.81, allocations: 23.95 MB / 0.5524 GB, free: 47.87 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006595/1.817, allocations: 2.75 MB / 0.5551 GB, free: 47.79 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003413/1.817, allocations: 74.86 kB / 0.5552 GB, free: 47.77 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.398e-05/1.817, allocations: 59.2 kB / 0.5553 GB, free: 47.73 MB / 346.7 MB Notification: Performance of pre-optimization done (n=324): time 7.614e-06/1.817, allocations: 1.219 kB / 0.5553 GB, free: 47.73 MB / 346.7 MB Notification: Performance of matching and sorting (n=324): time 0.02634/1.844, allocations: 14.2 MB / 0.5691 GB, free: 40.82 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.981e-05/1.844, allocations: 134.8 kB / 0.5693 GB, free: 40.7 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001717/1.845, allocations: 0.866 MB / 0.5701 GB, free: 40.57 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004937/1.846, allocations: 63.2 kB / 0.5702 GB, free: 40.54 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009545/1.847, allocations: 1.621 MB / 0.5718 GB, free: 39.92 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001379/1.848, allocations: 1.055 MB / 0.5728 GB, free: 39.29 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003334/1.849, allocations: 40.81 kB / 0.5728 GB, free: 39.29 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002374/1.849, allocations: 442.5 kB / 0.5732 GB, free: 38.98 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004597/1.853, allocations: 2.109 MB / 0.5753 GB, free: 38.97 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005082/1.859, allocations: 2.562 MB / 0.5778 GB, free: 38.56 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005378/1.864, allocations: 2.558 MB / 0.5803 GB, free: 38.52 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.595e-05/1.864, allocations: 3.531 kB / 0.5803 GB, free: 38.52 MB / 346.7 MB Notification: Performance of matching and sorting (n=379) (initialization): time 0.01337/1.877, allocations: 6.011 MB / 0.5862 GB, free: 38.28 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.667e-05/1.878, allocations: 12.27 kB / 0.5862 GB, free: 38.28 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.144e-05/1.878, allocations: 10.81 kB / 0.5862 GB, free: 38.28 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004432/1.882, allocations: 1.766 MB / 0.5879 GB, free: 38.22 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002581/1.885, allocations: 324 kB / 0.5882 GB, free: 38.22 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008945/1.894, allocations: 6.431 MB / 0.5945 GB, free: 35.57 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002081/1.896, allocations: 231.8 kB / 0.5947 GB, free: 35.45 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003371/1.896, allocations: 109.5 kB / 0.5948 GB, free: 35.45 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.004324/1.9, allocations: 1.874 MB / 0.5967 GB, free: 35.32 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006516/1.901, allocations: 153.7 kB / 0.5968 GB, free: 35.24 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01311/1.914, allocations: 5.889 MB / 0.6026 GB, free: 35.05 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01179/1.926, allocations: 5.534 MB / 0.608 GB, free: 32.74 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.716e-05/1.926, allocations: 3.953 kB / 0.608 GB, free: 32.74 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.569e-05/1.926, allocations: 10.17 kB / 0.608 GB, free: 32.74 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02731/1.953, allocations: 12.21 MB / 0.6199 GB, free: 27.27 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.442e-05/1.954, allocations: 3.781 kB / 0.6199 GB, free: 27.27 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001938/1.955, allocations: 228.8 kB / 0.6201 GB, free: 27.27 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004284/1.96, allocations: 1.743 MB / 0.6218 GB, free: 26.67 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000462/1.96, allocations: 72.41 kB / 0.6219 GB, free: 26.64 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009161/1.969, allocations: 6.412 MB / 0.6282 GB, free: 22.45 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.033e-06/1.969, allocations: 8.5 kB / 0.6282 GB, free: 22.45 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0202/1.99, allocations: 9.243 MB / 0.6372 GB, free: 16.91 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005413/1.99, allocations: 277.6 kB / 0.6375 GB, free: 16.62 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006519/1.991, allocations: 43.61 kB / 0.6375 GB, free: 16.58 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001493/1.992, allocations: 63.58 kB / 0.6376 GB, free: 16.53 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007603/1.993, allocations: 267 kB / 0.6378 GB, free: 16.36 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002961/1.994, allocations: 82.03 kB / 0.6379 GB, free: 16.29 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001017/1.995, allocations: 0.6039 MB / 0.6385 GB, free: 15.8 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.01e-07/1.995, allocations: 0 / 0.6385 GB, free: 15.8 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.003304/1.998, allocations: 1.067 MB / 0.6395 GB, free: 14.73 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.0005981/1.999, allocations: 198.8 kB / 0.6397 GB, free: 14.56 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.01125/2.01, allocations: 5.03 MB / 0.6446 GB, free: 10.22 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 7.825e-06/2.01, allocations: 0 / 0.6446 GB, free: 10.22 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006169/2.016, allocations: 2.566 MB / 0.6471 GB, free: 8.012 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003154/2.019, allocations: 343.5 kB / 0.6475 GB, free: 7.758 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02399/2.043, allocations: 11.37 MB / 0.6586 GB, free: 13.44 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006381/2.05, allocations: 3.599 MB / 0.6621 GB, free: 10.57 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.001764/2.051, allocations: 369 kB / 0.6624 GB, free: 10.31 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004567/2.052, allocations: 82.95 kB / 0.6625 GB, free: 10.23 MB / 362.7 MB Notification: Performance of SimCode: time 1.132e-06/2.052, allocations: 0 / 0.6625 GB, free: 10.23 MB / 362.7 MB Notification: Performance of Templates: time 0.3954/2.447, allocations: 51.71 MB / 0.713 GB, free: 76.91 MB / 378.7 MB