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.BalancingDelta.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.BalancingDelta,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.BalancingDelta") Notification: Performance of loadModel(Modelica): time 1.851/1.851, allocations: 171.2 MB / 186.7 MB, free: 1.121 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004759/0.0004759, allocations: 12 kB / 233.9 MB, free: 2.371 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.112/0.1125, allocations: 38.76 MB / 272.6 MB, free: 11.53 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3576/0.4702, allocations: 74.85 MB / 347.5 MB, free: 14.48 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003191/0.4706, allocations: 86.7 kB / 347.6 MB, free: 14.44 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8854/1.356, allocations: 156.2 MB / 0.4919 GB, free: 59.17 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.467e-06/1.356, allocations: 0 / 0.4919 GB, free: 59.17 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0002274/1.356, allocations: 103.9 kB / 0.492 GB, free: 59.07 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: 1247 * Number of variables: 1247 Notification: Performance of Generate backend data structure: time 0.01934/1.376, allocations: 4.288 MB / 0.4962 GB, free: 54.74 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.686e-05/1.376, allocations: 8.031 kB / 0.4962 GB, free: 54.73 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002492/1.378, allocations: 454.5 kB / 0.4967 GB, free: 54.29 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007618/1.386, allocations: 2.652 MB / 0.4993 GB, free: 51.6 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005786/1.387, allocations: 341 kB / 0.4996 GB, free: 51.26 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001716/1.388, allocations: 447.9 kB / 0.5 GB, free: 50.82 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02029/1.409, allocations: 6.999 MB / 0.5068 GB, free: 43.62 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001767/1.409, allocations: 4 kB / 0.5069 GB, free: 43.62 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000919/1.41, allocations: 192 kB / 0.507 GB, free: 43.43 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002099/1.41, allocations: 195.9 kB / 0.5072 GB, free: 43.24 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01468/1.425, allocations: 5.026 MB / 0.5121 GB, free: 38.2 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05129/1.476, allocations: 21.85 MB / 0.5335 GB, free: 16.33 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005718/1.482, allocations: 2.549 MB / 0.536 GB, free: 13.76 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003254/1.482, allocations: 66.22 kB / 0.536 GB, free: 13.71 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.901e-05/1.482, allocations: 52.56 kB / 0.5361 GB, free: 13.65 MB / 346.7 MB Notification: Performance of pre-optimization done (n=284): time 6.913e-06/1.482, allocations: 3.938 kB / 0.5361 GB, free: 13.65 MB / 346.7 MB Notification: Performance of matching and sorting (n=284): time 0.02123/1.503, allocations: 12.15 MB / 0.5479 GB, free: 256 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.339e-05/1.504, allocations: 124.8 kB / 0.5481 GB, free: 104 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2524/1.756, allocations: 0.8551 MB / 0.5489 GB, free: 62.94 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007767/1.757, allocations: 56.14 kB / 0.5489 GB, free: 62.91 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001563/1.758, allocations: 1.529 MB / 0.5504 GB, free: 62.42 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00177/1.76, allocations: 0.9336 MB / 0.5514 GB, free: 61.84 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003388/1.761, allocations: 36.81 kB / 0.5514 GB, free: 61.84 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0005271/1.761, allocations: 475.8 kB / 0.5518 GB, free: 61.53 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00555/1.767, allocations: 1.884 MB / 0.5537 GB, free: 61.52 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00585/1.773, allocations: 2.318 MB / 0.5559 GB, free: 61.09 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006131/1.779, allocations: 2.278 MB / 0.5582 GB, free: 61.05 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.792e-05/1.779, allocations: 3.156 kB / 0.5582 GB, free: 61.05 MB / 346.7 MB Notification: Performance of matching and sorting (n=347) (initialization): time 0.01613/1.795, allocations: 5.305 MB / 0.5634 GB, free: 60.83 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.396e-05/1.795, allocations: 9.594 kB / 0.5634 GB, free: 60.83 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.064e-05/1.795, allocations: 12.03 kB / 0.5634 GB, free: 60.83 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004108/1.799, allocations: 1.394 MB / 0.5647 GB, free: 60.8 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002686/1.802, allocations: 338.1 kB / 0.5651 GB, free: 60.8 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007775/1.81, allocations: 5.135 MB / 0.5701 GB, free: 58.68 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002318/1.812, allocations: 228.9 kB / 0.5703 GB, free: 58.55 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006571/1.813, allocations: 100.5 kB / 0.5704 GB, free: 58.55 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 50 * 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): 141 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 55 * 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.004492/1.817, allocations: 1.71 MB / 0.5721 GB, free: 58.43 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006342/1.818, allocations: 138.7 kB / 0.5722 GB, free: 58.36 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01283/1.831, allocations: 5.059 MB / 0.5771 GB, free: 58.18 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01225/1.843, allocations: 4.739 MB / 0.5818 GB, free: 58.03 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.085e-05/1.843, allocations: 0 / 0.5818 GB, free: 58.03 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.008e-05/1.843, allocations: 13.66 kB / 0.5818 GB, free: 58.02 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02817/1.872, allocations: 10.89 MB / 0.5924 GB, free: 53.7 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.854e-05/1.872, allocations: 7.484 kB / 0.5924 GB, free: 53.7 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002802/1.875, allocations: 220 kB / 0.5926 GB, free: 53.69 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003765/1.878, allocations: 1.393 MB / 0.594 GB, free: 53.22 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000691/1.879, allocations: 64.45 kB / 0.594 GB, free: 53.19 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007397/1.886, allocations: 5.104 MB / 0.599 GB, free: 49.86 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.783e-06/1.887, allocations: 3.531 kB / 0.599 GB, free: 49.86 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01918/1.906, allocations: 8.077 MB / 0.6069 GB, free: 46.04 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005694/1.906, allocations: 266 kB / 0.6072 GB, free: 45.82 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009644/1.907, allocations: 34.75 kB / 0.6072 GB, free: 45.79 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001904/1.909, allocations: 61.52 kB / 0.6073 GB, free: 45.77 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009357/1.91, allocations: 247.9 kB / 0.6075 GB, free: 45.71 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002986/1.911, allocations: 78.53 kB / 0.6076 GB, free: 45.7 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001162/1.912, allocations: 0.5898 MB / 0.6082 GB, free: 45.45 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.01e-07/1.912, allocations: 1.406 kB / 0.6082 GB, free: 45.45 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.004008/1.916, allocations: 0.9869 MB / 0.6091 GB, free: 45.12 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (139): * Single equations (assignments): 80 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 55 * 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.000932/1.917, allocations: 196.9 kB / 0.6093 GB, free: 45 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.01216/1.929, allocations: 4.454 MB / 0.6137 GB, free: 43.11 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 9.708e-06/1.929, allocations: 0 / 0.6137 GB, free: 43.11 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006428/1.935, allocations: 2.243 MB / 0.6158 GB, free: 41.19 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003271/1.939, allocations: 301.8 kB / 0.6161 GB, free: 40.97 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02247/1.961, allocations: 10.28 MB / 0.6262 GB, free: 31.57 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005183/1.967, allocations: 3.328 MB / 0.6294 GB, free: 28.91 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.001735/1.968, allocations: 361.9 kB / 0.6298 GB, free: 28.66 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004135/1.969, allocations: 79.14 kB / 0.6298 GB, free: 28.58 MB / 346.7 MB Notification: Performance of SimCode: time 1.132e-06/1.969, allocations: 0 / 0.6298 GB, free: 28.58 MB / 346.7 MB Notification: Performance of Templates: time 0.1407/2.109, allocations: 44.49 MB / 0.6733 GB, free: 8.984 MB / 362.7 MB