Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.1_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.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.1_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008144/0.008144, allocations: 100.9 kB / 15.73 MB, free: 5.988 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00187/0.00187, allocations: 195.6 kB / 16.67 MB, free: 5.926 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.462/1.462, allocations: 205.1 MB / 222.5 MB, free: 4.383 MB / 174.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001279/0.001279, allocations: 53.89 kB / 326.6 MB, free: 14.46 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08998/0.09127, allocations: 46.63 MB / 373.2 MB, free: 1.297 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar): time 0.01114/0.1025, allocations: 10.07 MB / 383.2 MB, free: 7.176 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.006279/0.1088, allocations: 2.826 MB / 386.1 MB, free: 4.336 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002274/0.1111, allocations: 67.81 kB / 386.1 MB, free: 4.27 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009634/0.1208, allocations: 4.216 MB / 390.4 MB, free: 36 kB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004137/0.1249, allocations: 1.045 MB / 391.4 MB, free: 14.98 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002439/0.1274, allocations: 0.8296 MB / 392.2 MB, free: 14.15 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.005216/0.1326, allocations: 4.284 MB / 396.5 MB, free: 9.852 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01558/0.1482, allocations: 10.99 MB / 407.5 MB, free: 14.74 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004074/0.1523, allocations: 2.462 MB / 410 MB, free: 12.27 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004479/0.1568, allocations: 2.788 MB / 412.8 MB, free: 9.473 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001775/0.1587, allocations: 0.6797 MB / 413.4 MB, free: 8.793 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002889/0.1616, allocations: 0.8826 MB / 414.3 MB, free: 7.91 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002469/0.1641, allocations: 1.321 MB / 415.6 MB, free: 6.586 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004977/0.1691, allocations: 2.673 MB / 418.3 MB, free: 3.902 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01147/0.1805, allocations: 9.072 MB / 427.4 MB, free: 10.8 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.411e-06/0.1806, allocations: 0 / 427.4 MB, free: 10.8 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.1806, allocations: 0 / 427.4 MB, free: 10.8 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0002723/0.1809, allocations: 0 / 427.4 MB, free: 10.8 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1303 * Number of variables: 1303 Notification: Performance of Generate backend data structure: time 0.01688/0.1978, allocations: 5.586 MB / 433 MB, free: 5.152 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.263e-05/0.1978, allocations: 8.031 kB / 433 MB, free: 5.145 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01475/0.2126, allocations: 2.384 MB / 435.4 MB, free: 2.754 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005093/0.2177, allocations: 2.369 MB / 437.7 MB, free: 348 kB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003912/0.2181, allocations: 373.8 kB / 438.1 MB, free: 15.97 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002052/0.2202, allocations: 479.8 kB / 438.6 MB, free: 15.5 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01806/0.2383, allocations: 6.64 MB / 445.2 MB, free: 8.828 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002158/0.2386, allocations: 7.984 kB / 445.2 MB, free: 8.82 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001468/0.24, allocations: 196 kB / 445.4 MB, free: 8.629 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002679/0.2403, allocations: 230.1 kB / 445.6 MB, free: 8.402 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0138/0.2541, allocations: 6.114 MB / 451.7 MB, free: 2.277 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2376/0.4918, allocations: 22.33 MB / 474.1 MB, free: 53.18 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007988/0.4999, allocations: 10.79 MB / 484.9 MB, free: 42.3 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001154/0.5011, allocations: 0.8118 MB / 485.7 MB, free: 41.91 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004463/0.5055, allocations: 3.398 MB / 489.1 MB, free: 38.95 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.186e-05/0.5056, allocations: 34.5 kB / 489.1 MB, free: 38.91 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 2.144e-06/0.5056, allocations: 3.688 kB / 489.1 MB, free: 38.91 MB / 382.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004806/0.5061, allocations: 225.8 kB / 489.3 MB, free: 38.77 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.612e-05/0.5061, allocations: 52.47 kB / 489.4 MB, free: 38.71 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002384/0.5085, allocations: 2.137 MB / 491.5 MB, free: 37.54 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.533e-05/0.5085, allocations: 25.7 kB / 491.5 MB, free: 37.51 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000985/0.5095, allocations: 2.386 MB / 493.9 MB, free: 35.42 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.31e-05/0.5096, allocations: 67.41 kB / 494 MB, free: 35.38 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006015/0.5102, allocations: 0.5501 MB / 494.5 MB, free: 35.05 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001025/0.5103, allocations: 349.9 kB / 494.9 MB, free: 34.72 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009438/0.5112, allocations: 0.8135 MB / 495.7 MB, free: 34.3 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001627/0.5129, allocations: 2.244 MB / 497.9 MB, free: 31.89 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00207/0.515, allocations: 2.957 MB / 0.4892 GB, free: 29.02 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-05/0.515, allocations: 19.56 kB / 0.4892 GB, free: 29.01 MB / 382.1 MB Notification: Performance of matching and sorting (n=308) (initialization): time 0.003635/0.5186, allocations: 3.014 MB / 0.4921 GB, free: 27.13 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.851e-05/0.5187, allocations: 29.09 kB / 0.4922 GB, free: 27.11 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.716e-05/0.5187, allocations: 52 kB / 0.4922 GB, free: 27.05 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.427e-05/0.5188, allocations: 68.03 kB / 0.4923 GB, free: 26.99 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001436/0.5202, allocations: 0.5693 MB / 0.4928 GB, free: 26.42 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.447e-05/0.5203, allocations: 103.6 kB / 0.4929 GB, free: 26.32 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001766/0.5221, allocations: 404.2 kB / 0.4933 GB, free: 25.92 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001345/0.5222, allocations: 140 kB / 0.4934 GB, free: 25.78 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 229 * 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 (307): * Single equations (assignments): 306 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00228/0.5245, allocations: 1.734 MB / 0.4951 GB, free: 24.04 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001979/0.5247, allocations: 134.2 kB / 0.4953 GB, free: 23.9 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003627/0.5251, allocations: 242.9 kB / 0.4955 GB, free: 23.66 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.803e-05/0.5252, allocations: 89.67 kB / 0.4956 GB, free: 23.56 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.883e-06/0.5252, allocations: 2.625 kB / 0.4956 GB, free: 23.56 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.5252, allocations: 3.938 kB / 0.4956 GB, free: 23.56 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003928/0.5291, allocations: 3.056 MB / 0.4986 GB, free: 20.45 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.617e-06/0.5291, allocations: 4.031 kB / 0.4986 GB, free: 20.45 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.686e-05/0.5292, allocations: 16 kB / 0.4986 GB, free: 20.43 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.879e-06/0.5292, allocations: 0 / 0.4986 GB, free: 20.43 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.074e-05/0.5292, allocations: 3.281 kB / 0.4986 GB, free: 20.43 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.198e-06/0.5293, allocations: 4 kB / 0.4986 GB, free: 20.43 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.043e-06/0.5293, allocations: 0 / 0.4986 GB, free: 20.43 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003593/0.5296, allocations: 370.3 kB / 0.4989 GB, free: 20.04 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000268/0.5299, allocations: 223.6 kB / 0.4992 GB, free: 19.8 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001405/0.5301, allocations: 4 kB / 0.4992 GB, free: 19.8 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004629/0.5305, allocations: 31.95 kB / 0.4992 GB, free: 19.77 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.636e-05/0.5306, allocations: 0 / 0.4992 GB, free: 19.77 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.887e-06/0.5306, allocations: 11.92 kB / 0.4992 GB, free: 19.76 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001427/0.532, allocations: 1.4 MB / 0.5006 GB, free: 18.36 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.532, allocations: 0 / 0.5006 GB, free: 18.36 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002347/0.5344, allocations: 0.985 MB / 0.5015 GB, free: 17.38 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (voltageSource.plug_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 (7): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002441/0.5346, allocations: 146.2 kB / 0.5017 GB, free: 17.23 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001798/0.5364, allocations: 1.464 MB / 0.5031 GB, free: 15.78 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.5364, allocations: 0.8125 kB / 0.5031 GB, free: 15.78 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 4.987e-05/0.5365, allocations: 44.05 kB / 0.5031 GB, free: 15.74 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001528/0.538, allocations: 332.3 kB / 0.5035 GB, free: 15.42 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008202/0.5462, allocations: 6.067 MB / 0.5094 GB, free: 9.352 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002052/0.5483, allocations: 3.132 MB / 0.5124 GB, free: 6.191 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001664/0.55, allocations: 0.7944 MB / 0.5132 GB, free: 5.391 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001642/0.5502, allocations: 99.42 kB / 0.5133 GB, free: 5.293 MB / 382.1 MB Notification: Performance of SimCode: time 1.042e-06/0.5502, allocations: 0 / 0.5133 GB, free: 5.293 MB / 382.1 MB Notification: Performance of Templates: time 0.03263/0.5828, allocations: 17.96 MB / 0.5309 GB, free: 3.316 MB / 398.1 MB make -j1 -f Modelica_3.1_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar.makefile (rm -f Modelica_3.1_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar.pipe ; mkfifo Modelica_3.1_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar.pipe >> ../files/Modelica_3.1_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar.sim & ./Modelica_3.1_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar.pipe 2>&1)