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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005279/0.005279, allocations: 100.1 kB / 15.73 MB, free: 6.008 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.001259/0.001259, allocations: 199.2 kB / 16.68 MB, free: 5.93 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.498/1.498, allocations: 205.1 MB / 222.5 MB, free: 4.531 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.001331/0.001331, allocations: 54.98 kB / 326.6 MB, free: 14.35 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09232/0.09366, allocations: 46.62 MB / 373.2 MB, free: 1.309 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar): time 0.01166/0.1054, allocations: 10.07 MB / 383.2 MB, free: 7.188 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.008215/0.1136, allocations: 2.83 MB / 386.1 MB, free: 4.344 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002588/0.1163, allocations: 63.81 kB / 386.1 MB, free: 4.281 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01254/0.1289, allocations: 4.212 MB / 390.4 MB, free: 52 kB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006163/0.1351, allocations: 1.053 MB / 391.4 MB, free: 14.99 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003845/0.1389, allocations: 0.8297 MB / 392.2 MB, free: 14.16 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.009643/0.1486, allocations: 4.288 MB / 396.5 MB, free: 9.855 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01779/0.1664, allocations: 10.98 MB / 407.5 MB, free: 14.75 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003964/0.1704, allocations: 2.466 MB / 410 MB, free: 12.28 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004621/0.1751, allocations: 2.784 MB / 412.8 MB, free: 9.488 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002129/0.1773, allocations: 0.6797 MB / 413.4 MB, free: 8.809 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003344/0.1806, allocations: 0.8904 MB / 414.3 MB, free: 7.918 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002314/0.183, allocations: 1.313 MB / 415.6 MB, free: 6.602 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005898/0.1889, allocations: 2.673 MB / 418.3 MB, free: 3.918 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01183/0.2008, allocations: 9.083 MB / 427.4 MB, free: 10.81 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.695e-06/0.2008, allocations: 0 / 427.4 MB, free: 10.81 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.2008, allocations: 0 / 427.4 MB, free: 10.81 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0002878/0.2011, allocations: 0 / 427.4 MB, free: 10.81 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.01853/0.2196, allocations: 5.574 MB / 433 MB, free: 5.168 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.272e-05/0.2197, allocations: 8.031 kB / 433 MB, free: 5.16 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01478/0.2345, allocations: 2.387 MB / 435.4 MB, free: 2.766 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00489/0.2394, allocations: 2.373 MB / 437.7 MB, free: 356 kB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003711/0.2398, allocations: 369.9 kB / 438.1 MB, free: 15.98 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001567/0.2414, allocations: 483.8 kB / 438.6 MB, free: 15.51 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01668/0.2581, allocations: 6.636 MB / 445.2 MB, free: 8.84 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000197/0.2584, allocations: 7.984 kB / 445.2 MB, free: 8.832 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001361/0.2597, allocations: 203.9 kB / 445.4 MB, free: 8.633 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002496/0.26, allocations: 222.1 kB / 445.6 MB, free: 8.414 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0117/0.2717, allocations: 6.122 MB / 451.8 MB, free: 2.281 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2326/0.5043, allocations: 22.34 MB / 474.1 MB, free: 53.14 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00772/0.5121, allocations: 10.78 MB / 484.9 MB, free: 42.27 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001063/0.5132, allocations: 0.8102 MB / 485.7 MB, free: 41.88 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00442/0.5176, allocations: 3.406 MB / 489.1 MB, free: 38.91 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.851e-05/0.5177, allocations: 30.56 kB / 489.1 MB, free: 38.88 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 2.134e-06/0.5177, allocations: 0 / 489.1 MB, free: 38.88 MB / 382.1 MB Notification: Performance of matching and sorting (n=6): time 0.0005022/0.5182, allocations: 233.1 kB / 489.3 MB, free: 38.73 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.741e-05/0.5182, allocations: 52.25 kB / 489.4 MB, free: 38.67 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002433/0.5207, allocations: 2.138 MB / 491.5 MB, free: 37.51 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.561e-05/0.5207, allocations: 25.7 kB / 491.6 MB, free: 37.48 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008916/0.5216, allocations: 2.379 MB / 493.9 MB, free: 35.39 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.7e-05/0.5217, allocations: 78.92 kB / 494 MB, free: 35.34 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005884/0.5223, allocations: 0.545 MB / 494.6 MB, free: 35.02 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.785e-05/0.5224, allocations: 354 kB / 494.9 MB, free: 34.68 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009512/0.5233, allocations: 0.811 MB / 495.7 MB, free: 34.27 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00159/0.5249, allocations: 2.236 MB / 498 MB, free: 31.88 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002148/0.5271, allocations: 2.967 MB / 0.4892 GB, free: 28.99 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.063e-05/0.5271, allocations: 15.31 kB / 0.4892 GB, free: 28.99 MB / 382.1 MB Notification: Performance of matching and sorting (n=308) (initialization): time 0.003703/0.5308, allocations: 3.012 MB / 0.4921 GB, free: 27.07 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.671e-05/0.5309, allocations: 29.09 kB / 0.4922 GB, free: 27.05 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.163e-05/0.5309, allocations: 52 kB / 0.4922 GB, free: 27 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.867e-05/0.531, allocations: 68 kB / 0.4923 GB, free: 26.93 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001451/0.5324, allocations: 0.5768 MB / 0.4928 GB, free: 26.36 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.288e-05/0.5325, allocations: 95.66 kB / 0.4929 GB, free: 26.26 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001848/0.5344, allocations: 408.4 kB / 0.4933 GB, free: 25.86 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001359/0.5345, allocations: 148 kB / 0.4935 GB, free: 25.71 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.002359/0.5369, allocations: 1.726 MB / 0.4951 GB, free: 23.98 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002813/0.5372, allocations: 130.2 kB / 0.4953 GB, free: 23.85 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004146/0.5376, allocations: 247 kB / 0.4955 GB, free: 23.59 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.561e-05/0.5377, allocations: 89.67 kB / 0.4956 GB, free: 23.5 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.039e-06/0.5377, allocations: 0 / 0.4956 GB, free: 23.5 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.61e-06/0.5377, allocations: 4 kB / 0.4956 GB, free: 23.5 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004261/0.542, allocations: 3.055 MB / 0.4986 GB, free: 20.39 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.879e-06/0.542, allocations: 0 / 0.4986 GB, free: 20.39 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.098e-05/0.5421, allocations: 8 kB / 0.4986 GB, free: 20.38 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.673e-06/0.5421, allocations: 4 kB / 0.4986 GB, free: 20.38 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.279e-05/0.5421, allocations: 3.984 kB / 0.4986 GB, free: 20.38 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.727e-06/0.5421, allocations: 0 / 0.4986 GB, free: 20.38 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.038e-06/0.5422, allocations: 7.938 kB / 0.4986 GB, free: 20.37 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003937/0.5426, allocations: 370.3 kB / 0.499 GB, free: 19.98 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002952/0.5429, allocations: 215.5 kB / 0.4992 GB, free: 19.75 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001434/0.543, allocations: 8 kB / 0.4992 GB, free: 19.75 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004591/0.5435, allocations: 19.97 kB / 0.4992 GB, free: 19.73 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.167e-05/0.5435, allocations: 7.984 kB / 0.4992 GB, free: 19.72 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.458e-06/0.5435, allocations: 7.938 kB / 0.4992 GB, free: 19.71 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001493/0.545, allocations: 1.4 MB / 0.5006 GB, free: 18.32 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.545, allocations: 0 / 0.5006 GB, free: 18.32 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002495/0.5475, allocations: 0.9889 MB / 0.5015 GB, free: 17.32 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.0002681/0.5478, allocations: 150.2 kB / 0.5017 GB, free: 17.18 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001885/0.5497, allocations: 1.465 MB / 0.5031 GB, free: 15.72 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.957e-06/0.5497, allocations: 3.281 kB / 0.5031 GB, free: 15.72 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 5.097e-05/0.5498, allocations: 35.92 kB / 0.5031 GB, free: 15.69 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001561/0.5514, allocations: 332.8 kB / 0.5035 GB, free: 15.37 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009731/0.5611, allocations: 6.062 MB / 0.5094 GB, free: 9.305 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002086/0.5632, allocations: 3.136 MB / 0.5124 GB, free: 6.141 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001645/0.5649, allocations: 0.7905 MB / 0.5132 GB, free: 5.344 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001599/0.5651, allocations: 95.42 kB / 0.5133 GB, free: 5.25 MB / 382.1 MB Notification: Performance of SimCode: time 8.62e-07/0.5651, allocations: 4 kB / 0.5133 GB, free: 5.246 MB / 382.1 MB Notification: Performance of Templates: time 0.03323/0.5983, allocations: 17.97 MB / 0.5309 GB, free: 3.27 MB / 398.1 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)