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.009188/0.009188, allocations: 164.4 kB / 15.11 MB, free: 5.973 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.375/1.375, allocations: 170.8 MB / 186.6 MB, free: 1.133 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.001562/0.001562, allocations: 114.6 kB / 226.2 MB, free: 10.11 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000331/0.000331, allocations: 12 kB / 274.1 MB, free: 10.09 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2558/0.2562, allocations: 38.76 MB / 312.9 MB, free: 38.79 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09433/0.3506, allocations: 74.61 MB / 387.5 MB, free: 15.91 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002893/0.3509, allocations: 87.95 kB / 387.6 MB, free: 15.82 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7232/1.074, allocations: 171.8 MB / 0.5463 GB, free: 50.84 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.417e-06/1.074, allocations: 0 / 0.5463 GB, free: 50.84 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0002301/1.074, allocations: 108.9 kB / 0.5464 GB, free: 50.83 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.01497/1.089, allocations: 4.638 MB / 0.5509 GB, free: 49.51 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.548e-05/1.089, allocations: 8.703 kB / 0.551 GB, free: 49.51 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002961/1.092, allocations: 493 kB / 0.5514 GB, free: 49.27 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007309/1.1, allocations: 2.927 MB / 0.5543 GB, free: 48.8 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004222/1.1, allocations: 370.9 kB / 0.5546 GB, free: 48.79 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00187/1.102, allocations: 476.3 kB / 0.5551 GB, free: 48.79 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01757/1.12, allocations: 7.699 MB / 0.5626 GB, free: 48.11 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001232/1.12, allocations: 6.312 kB / 0.5626 GB, free: 48.11 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005217/1.12, allocations: 205.5 kB / 0.5628 GB, free: 48.11 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002074/1.121, allocations: 227.9 kB / 0.563 GB, free: 48.11 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01078/1.131, allocations: 5.471 MB / 0.5684 GB, free: 48.06 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04838/1.18, allocations: 23.97 MB / 0.5918 GB, free: 42.67 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004362/1.184, allocations: 2.757 MB / 0.5945 GB, free: 41.46 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003055/1.185, allocations: 71.83 kB / 0.5945 GB, free: 41.44 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.128e-05/1.185, allocations: 59.2 kB / 0.5946 GB, free: 41.38 MB / 346.7 MB Notification: Performance of pre-optimization done (n=324): time 6.201e-06/1.185, allocations: 0 / 0.5946 GB, free: 41.38 MB / 346.7 MB Notification: Performance of matching and sorting (n=324): time 0.01731/1.202, allocations: 14.21 MB / 0.6085 GB, free: 30.94 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001016/1.202, allocations: 126.4 kB / 0.6086 GB, free: 30.81 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002039/1.204, allocations: 0.7725 MB / 0.6093 GB, free: 30.49 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005451/1.205, allocations: 64.98 kB / 0.6094 GB, free: 30.43 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001105/1.206, allocations: 1.622 MB / 0.611 GB, free: 29.22 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001372/1.207, allocations: 1.055 MB / 0.612 GB, free: 28.4 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000366/1.208, allocations: 39.62 kB / 0.6121 GB, free: 28.37 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0003562/1.208, allocations: 436.4 kB / 0.6125 GB, free: 28.01 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003225/1.211, allocations: 2.118 MB / 0.6145 GB, free: 27.14 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003226/1.214, allocations: 2.555 MB / 0.617 GB, free: 25.79 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003679/1.218, allocations: 2.556 MB / 0.6195 GB, free: 24.65 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.022e-05/1.218, allocations: 0 / 0.6195 GB, free: 24.65 MB / 346.7 MB Notification: Performance of matching and sorting (n=379) (initialization): time 0.008919/1.227, allocations: 6.023 MB / 0.6254 GB, free: 22.08 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.622e-05/1.227, allocations: 10.59 kB / 0.6254 GB, free: 22.08 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.499e-05/1.227, allocations: 10.22 kB / 0.6254 GB, free: 22.08 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002655/1.23, allocations: 1.761 MB / 0.6272 GB, free: 21.45 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001326/1.231, allocations: 325.4 kB / 0.6275 GB, free: 21.21 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005235/1.237, allocations: 6.421 MB / 0.6337 GB, free: 15.25 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001576/1.238, allocations: 235.5 kB / 0.634 GB, free: 15.03 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004723/1.239, allocations: 107.6 kB / 0.6341 GB, free: 14.94 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.004072/1.243, allocations: 1.877 MB / 0.6359 GB, free: 13.38 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008916/1.244, allocations: 157.8 kB / 0.6361 GB, free: 13.23 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009244/1.253, allocations: 5.887 MB / 0.6418 GB, free: 8.145 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.007033/1.26, allocations: 5.529 MB / 0.6472 GB, free: 3.266 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.3e-05/1.26, allocations: 7.703 kB / 0.6472 GB, free: 3.262 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.875e-05/1.26, allocations: 10.17 kB / 0.6472 GB, free: 3.262 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0308/1.291, allocations: 12.44 MB / 0.6594 GB, free: 9.484 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.632e-05/1.291, allocations: 4.219 kB / 0.6594 GB, free: 9.48 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001154/1.292, allocations: 221.8 kB / 0.6596 GB, free: 9.32 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003123/1.295, allocations: 1.746 MB / 0.6613 GB, free: 7.859 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005929/1.296, allocations: 71.3 kB / 0.6614 GB, free: 7.801 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007252/1.303, allocations: 6.412 MB / 0.6676 GB, free: 1.844 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.025e-06/1.303, allocations: 6.062 kB / 0.6676 GB, free: 1.84 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2942/1.597, allocations: 9.524 MB / 0.6769 GB, free: 63.2 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006683/1.598, allocations: 281.3 kB / 0.6772 GB, free: 63.08 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002745/1.598, allocations: 43.92 kB / 0.6772 GB, free: 63.08 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007912/1.599, allocations: 59.45 kB / 0.6773 GB, free: 63.08 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005652/1.6, allocations: 265 kB / 0.6775 GB, free: 63.08 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002107/1.6, allocations: 80.42 kB / 0.6776 GB, free: 63.08 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0009223/1.601, allocations: 0.608 MB / 0.6782 GB, free: 62.98 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.6e-07/1.601, allocations: 0 / 0.6782 GB, free: 62.98 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0038/1.605, allocations: 1.06 MB / 0.6792 GB, free: 62.83 MB / 362.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.000607/1.605, allocations: 198 kB / 0.6794 GB, free: 62.75 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.008517/1.614, allocations: 5.019 MB / 0.6843 GB, free: 62.64 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 8.706e-06/1.614, allocations: 3.25 kB / 0.6843 GB, free: 62.64 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004359/1.618, allocations: 2.58 MB / 0.6869 GB, free: 62.59 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002436/1.621, allocations: 347 kB / 0.6872 GB, free: 62.58 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01918/1.64, allocations: 11.35 MB / 0.6983 GB, free: 58.66 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003604/1.644, allocations: 3.599 MB / 0.7018 GB, free: 57.84 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.001367/1.645, allocations: 376.8 kB / 0.7021 GB, free: 57.81 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000228/1.645, allocations: 78.69 kB / 0.7022 GB, free: 57.8 MB / 362.7 MB Notification: Performance of SimCode: time 1.684e-06/1.645, allocations: 1.688 kB / 0.7022 GB, free: 57.8 MB / 362.7 MB Notification: Performance of Templates: time 0.08034/1.726, allocations: 51.7 MB / 0.7527 GB, free: 42.86 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)