Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar") translateModel(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.0009351/0.0009349, allocations: 169.9 kB / 12.72 MB, free: 2.594 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.385/1.385, allocations: 170.6 MB / 183.8 MB, free: 11.48 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001488/0.001488, allocations: 106.8 kB / 223.2 MB, free: 4.109 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.561e-05/2.563e-05, allocations: 4 kB / 268.9 MB, free: 20.93 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07243/0.07247, allocations: 38.77 MB / 307.6 MB, free: 14.13 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2697/0.3423, allocations: 74.52 MB / 382.1 MB, free: 1.75 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002179/0.3425, allocations: 82.52 kB / 382.2 MB, free: 1.707 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5148/0.8574, allocations: 171.8 MB / 0.5411 GB, free: 47.49 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.366e-06/0.8575, allocations: 3.984 kB / 0.5411 GB, free: 47.49 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0001716/0.8576, allocations: 107.9 kB / 0.5412 GB, free: 47.38 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.01276/0.8704, allocations: 4.482 MB / 0.5456 GB, free: 42.84 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.527e-05/0.8705, allocations: 12.03 kB / 0.5456 GB, free: 42.83 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001716/0.8722, allocations: 498.2 kB / 0.546 GB, free: 42.34 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005376/0.8776, allocations: 2.923 MB / 0.5489 GB, free: 39.37 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002719/0.8779, allocations: 369.8 kB / 0.5492 GB, free: 39 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009693/0.8788, allocations: 475.9 kB / 0.5497 GB, free: 38.54 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0128/0.8917, allocations: 7.617 MB / 0.5571 GB, free: 30.72 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.296e-05/0.8918, allocations: 4 kB / 0.5571 GB, free: 30.71 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004473/0.8922, allocations: 208 kB / 0.5573 GB, free: 30.51 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001633/0.8924, allocations: 227.8 kB / 0.5576 GB, free: 30.29 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008999/0.9014, allocations: 5.389 MB / 0.5628 GB, free: 24.89 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03227/0.9337, allocations: 23.97 MB / 0.5862 GB, free: 0.7344 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2276/1.161, allocations: 2.732 MB / 0.5889 GB, free: 55.66 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004546/1.166, allocations: 3.172 MB / 0.592 GB, free: 55.6 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002517/1.166, allocations: 76.19 kB / 0.5921 GB, free: 55.58 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.734e-05/1.166, allocations: 58.77 kB / 0.5921 GB, free: 55.54 MB / 346.7 MB Notification: Performance of pre-optimization done (n=324): time 5.831e-06/1.166, allocations: 1 kB / 0.5921 GB, free: 55.54 MB / 346.7 MB Notification: Performance of matching and sorting (n=324): time 0.009669/1.176, allocations: 5.529 MB / 0.5975 GB, free: 55.38 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.715e-05/1.176, allocations: 130.1 kB / 0.5976 GB, free: 55.25 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001646/1.178, allocations: 0.7633 MB / 0.5984 GB, free: 55.13 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002193/1.178, allocations: 61.66 kB / 0.5985 GB, free: 55.1 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001335/1.179, allocations: 1.626 MB / 0.6 GB, free: 54.51 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001064/1.18, allocations: 1.055 MB / 0.6011 GB, free: 53.86 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001654/1.181, allocations: 41.31 kB / 0.6011 GB, free: 53.86 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002433/1.181, allocations: 439.3 kB / 0.6015 GB, free: 53.55 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002759/1.184, allocations: 2.097 MB / 0.6036 GB, free: 53.54 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002995/1.187, allocations: 2.545 MB / 0.6061 GB, free: 53.13 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003106/1.19, allocations: 2.545 MB / 0.6085 GB, free: 53.08 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.478e-05/1.19, allocations: 6.688 kB / 0.6086 GB, free: 53.08 MB / 346.7 MB Notification: Performance of matching and sorting (n=379) (initialization): time 0.007514/1.197, allocations: 5.976 MB / 0.6144 GB, free: 52.84 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.943e-05/1.197, allocations: 13.56 kB / 0.6144 GB, free: 52.84 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.602e-05/1.197, allocations: 11.62 kB / 0.6144 GB, free: 52.84 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002252/1.2, allocations: 1.735 MB / 0.6161 GB, free: 52.79 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001325/1.201, allocations: 327.2 kB / 0.6164 GB, free: 52.79 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00522/1.206, allocations: 6.419 MB / 0.6227 GB, free: 50.13 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001633/1.208, allocations: 236.9 kB / 0.6229 GB, free: 50 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002592/1.208, allocations: 106.6 kB / 0.623 GB, free: 50 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 () * 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.0004575/1.209, allocations: 221.9 kB / 0.6232 GB, free: 49.89 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004184/1.209, allocations: 153.4 kB / 0.6234 GB, free: 49.8 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008081/1.217, allocations: 5.853 MB / 0.6291 GB, free: 48.25 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.006469/1.224, allocations: 5.503 MB / 0.6345 GB, free: 45.91 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.46e-05/1.224, allocations: 0 / 0.6345 GB, free: 45.91 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.962e-05/1.224, allocations: 14.8 kB / 0.6345 GB, free: 45.91 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01813/1.242, allocations: 12.18 MB / 0.6464 GB, free: 40.5 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.859e-05/1.242, allocations: 7 kB / 0.6464 GB, free: 40.5 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009794/1.243, allocations: 218.7 kB / 0.6466 GB, free: 40.5 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002186/1.245, allocations: 1.728 MB / 0.6483 GB, free: 39.92 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002296/1.245, allocations: 73.83 kB / 0.6483 GB, free: 39.88 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005092/1.25, allocations: 6.409 MB / 0.6546 GB, free: 35.7 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.951e-06/1.25, allocations: 5.812 kB / 0.6546 GB, free: 35.7 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01124/1.262, allocations: 9.312 MB / 0.6637 GB, free: 29.04 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005639/1.262, allocations: 273.1 kB / 0.664 GB, free: 28.75 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000233/1.263, allocations: 44 kB / 0.664 GB, free: 28.71 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007557/1.263, allocations: 63.62 kB / 0.6641 GB, free: 28.66 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004514/1.264, allocations: 260.3 kB / 0.6643 GB, free: 28.5 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001873/1.264, allocations: 87.89 kB / 0.6644 GB, free: 28.43 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0006982/1.265, allocations: 0.5981 MB / 0.665 GB, free: 27.9 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.61e-07/1.265, allocations: 0 / 0.665 GB, free: 27.9 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.002666/1.267, allocations: 1.066 MB / 0.666 GB, free: 26.83 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 () * 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.0004621/1.268, allocations: 206.4 kB / 0.6662 GB, free: 26.66 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.006275/1.274, allocations: 4.993 MB / 0.6711 GB, free: 22.25 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.829e-06/1.274, allocations: 0 / 0.6711 GB, free: 22.25 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003108/1.277, allocations: 2.555 MB / 0.6736 GB, free: 20.02 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002009/1.279, allocations: 348.8 kB / 0.6739 GB, free: 19.77 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01274/1.292, allocations: 8.355 MB / 0.6821 GB, free: 12.31 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002817/1.295, allocations: 3.593 MB / 0.6856 GB, free: 9.441 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.001103/1.296, allocations: 377.5 kB / 0.686 GB, free: 9.18 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002197/1.296, allocations: 79.44 kB / 0.686 GB, free: 9.102 MB / 346.7 MB Notification: Performance of SimCode: time 9.22e-07/1.296, allocations: 2.906 kB / 0.686 GB, free: 9.102 MB / 346.7 MB Notification: Performance of Templates: time 0.2766/1.573, allocations: 46.09 MB / 0.731 GB, free: 65.2 MB / 362.7 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar.sim & ./Modelica_3.2.1_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar.pipe 2>&1)