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.005461/0.005461, allocations: 101.2 kB / 15.73 MB, free: 6.043 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.001163/0.001163, allocations: 186.2 kB / 16.67 MB, free: 5.973 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.456/1.456, allocations: 205.1 MB / 222.5 MB, free: 4.523 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.001154/0.001154, allocations: 58.2 kB / 326.6 MB, free: 14.55 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09477/0.09595, allocations: 46.62 MB / 373.2 MB, free: 1.434 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar): time 0.01082/0.1068, allocations: 10.07 MB / 383.2 MB, free: 7.32 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.005615/0.1125, allocations: 2.83 MB / 386.1 MB, free: 4.477 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001034/0.1136, allocations: 63.81 kB / 386.1 MB, free: 4.414 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008561/0.1221, allocations: 4.209 MB / 390.3 MB, free: 192 kB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003709/0.1259, allocations: 1.041 MB / 391.4 MB, free: 15.14 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002307/0.1282, allocations: 0.8297 MB / 392.2 MB, free: 14.31 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.005193/0.1334, allocations: 4.288 MB / 396.5 MB, free: 10 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01598/0.1494, allocations: 10.99 MB / 407.5 MB, free: 14.89 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003531/0.153, allocations: 2.462 MB / 410 MB, free: 12.43 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004504/0.1575, allocations: 2.78 MB / 412.7 MB, free: 9.637 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001755/0.1593, allocations: 0.6836 MB / 413.4 MB, free: 8.953 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002445/0.1618, allocations: 0.8826 MB / 414.3 MB, free: 8.07 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001797/0.1636, allocations: 1.317 MB / 415.6 MB, free: 6.75 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003827/0.1674, allocations: 2.677 MB / 418.3 MB, free: 4.062 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009024/0.1765, allocations: 9.076 MB / 427.4 MB, free: 10.96 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.032e-06/0.1765, allocations: 4 kB / 427.4 MB, free: 10.96 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.412e-06/0.1765, allocations: 0 / 427.4 MB, free: 10.96 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0002231/0.1767, allocations: 0 / 427.4 MB, free: 10.96 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.01336/0.1901, allocations: 5.57 MB / 432.9 MB, free: 5.32 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.376e-05/0.1902, allocations: 8.031 kB / 433 MB, free: 5.312 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01402/0.2042, allocations: 2.391 MB / 435.3 MB, free: 2.914 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005537/0.2098, allocations: 2.369 MB / 437.7 MB, free: 0.5 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003273/0.2101, allocations: 373.8 kB / 438.1 MB, free: 136 kB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001816/0.212, allocations: 483.9 kB / 438.5 MB, free: 15.66 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01546/0.2274, allocations: 6.636 MB / 445.2 MB, free: 8.988 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001036/0.2276, allocations: 4 kB / 445.2 MB, free: 8.984 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005249/0.2281, allocations: 200 kB / 445.4 MB, free: 8.789 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002128/0.2283, allocations: 234.1 kB / 445.6 MB, free: 8.559 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01094/0.2393, allocations: 6.11 MB / 451.7 MB, free: 2.438 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2547/0.494, allocations: 22.34 MB / 474.1 MB, free: 53.36 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007962/0.502, allocations: 10.79 MB / 484.9 MB, free: 42.47 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009573/0.503, allocations: 0.8118 MB / 485.7 MB, free: 42.09 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004494/0.5075, allocations: 3.397 MB / 489.1 MB, free: 39.12 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.002e-05/0.5075, allocations: 34 kB / 489.1 MB, free: 39.08 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 2.174e-06/0.5075, allocations: 7.031 kB / 489.1 MB, free: 39.08 MB / 382.1 MB Notification: Performance of matching and sorting (n=6): time 0.0005/0.508, allocations: 226.7 kB / 489.3 MB, free: 38.95 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.249e-05/0.5081, allocations: 52.34 kB / 489.4 MB, free: 38.88 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002267/0.5103, allocations: 2.132 MB / 491.5 MB, free: 37.72 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.258e-05/0.5104, allocations: 25.7 kB / 491.5 MB, free: 37.69 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007844/0.5112, allocations: 2.386 MB / 493.9 MB, free: 35.6 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.072e-05/0.5112, allocations: 69.5 kB / 494 MB, free: 35.55 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005356/0.5117, allocations: 0.5489 MB / 494.5 MB, free: 35.23 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.817e-05/0.5118, allocations: 353.5 kB / 494.9 MB, free: 34.89 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009289/0.5128, allocations: 0.8098 MB / 495.7 MB, free: 34.48 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001397/0.5142, allocations: 2.239 MB / 497.9 MB, free: 32.08 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002031/0.5162, allocations: 2.964 MB / 0.4892 GB, free: 29.2 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.627e-05/0.5162, allocations: 14.94 kB / 0.4892 GB, free: 29.2 MB / 382.1 MB Notification: Performance of matching and sorting (n=308) (initialization): time 0.003226/0.5195, allocations: 3.016 MB / 0.4921 GB, free: 27.25 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.777e-05/0.5195, allocations: 28 kB / 0.4921 GB, free: 27.22 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.76e-05/0.5196, allocations: 52 kB / 0.4922 GB, free: 27.17 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.038e-05/0.5196, allocations: 64.72 kB / 0.4922 GB, free: 27.11 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001371/0.521, allocations: 0.5693 MB / 0.4928 GB, free: 26.54 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.042e-05/0.5211, allocations: 107.6 kB / 0.4929 GB, free: 26.43 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001757/0.5228, allocations: 400.2 kB / 0.4933 GB, free: 26.04 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001336/0.523, allocations: 148 kB / 0.4934 GB, free: 25.89 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.002325/0.5253, allocations: 1.726 MB / 0.4951 GB, free: 24.16 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001933/0.5255, allocations: 134.2 kB / 0.4952 GB, free: 24.02 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003677/0.5259, allocations: 246.8 kB / 0.4955 GB, free: 23.77 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.166e-05/0.526, allocations: 93.61 kB / 0.4956 GB, free: 23.68 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.244e-06/0.526, allocations: 2.625 kB / 0.4956 GB, free: 23.68 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.526, allocations: 0 / 0.4956 GB, free: 23.68 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004121/0.5301, allocations: 3.052 MB / 0.4986 GB, free: 20.57 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.406e-06/0.5301, allocations: 3.984 kB / 0.4986 GB, free: 20.57 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.634e-05/0.5302, allocations: 15.98 kB / 0.4986 GB, free: 20.55 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.11e-06/0.5302, allocations: 4.031 kB / 0.4986 GB, free: 20.55 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.271e-05/0.5302, allocations: 0 / 0.4986 GB, free: 20.55 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.976e-06/0.5303, allocations: 4 kB / 0.4986 GB, free: 20.54 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.5303, allocations: 0 / 0.4986 GB, free: 20.54 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003153/0.5306, allocations: 377.3 kB / 0.4989 GB, free: 20.16 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002881/0.5309, allocations: 215.5 kB / 0.4991 GB, free: 19.93 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000124/0.531, allocations: 4 kB / 0.4991 GB, free: 19.92 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004274/0.5314, allocations: 28.03 kB / 0.4992 GB, free: 19.89 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.642e-05/0.5315, allocations: 7.984 kB / 0.4992 GB, free: 19.89 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.945e-06/0.5315, allocations: 3.938 kB / 0.4992 GB, free: 19.88 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001359/0.5329, allocations: 1.4 MB / 0.5006 GB, free: 18.49 MB / 382.1 MB Notification: Performance of sort global known variables: time 2e-07/0.5329, allocations: 0 / 0.5006 GB, free: 18.49 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002358/0.5352, allocations: 0.9888 MB / 0.5015 GB, free: 17.5 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.0002306/0.5355, allocations: 141.9 kB / 0.5017 GB, free: 17.36 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001597/0.5371, allocations: 1.471 MB / 0.5031 GB, free: 15.9 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.5371, allocations: 1.875 kB / 0.5031 GB, free: 15.9 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 4.478e-05/0.5371, allocations: 39.92 kB / 0.5031 GB, free: 15.86 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001406/0.5385, allocations: 332.7 kB / 0.5034 GB, free: 15.54 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007732/0.5463, allocations: 6.066 MB / 0.5094 GB, free: 9.473 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001971/0.5483, allocations: 3.14 MB / 0.5124 GB, free: 6.309 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001498/0.5498, allocations: 0.7866 MB / 0.5132 GB, free: 5.516 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001567/0.55, allocations: 103.4 kB / 0.5133 GB, free: 5.414 MB / 382.1 MB Notification: Performance of SimCode: time 6.81e-07/0.55, allocations: 0 / 0.5133 GB, free: 5.414 MB / 382.1 MB Notification: Performance of Templates: time 0.03064/0.5806, allocations: 17.96 MB / 0.5308 GB, free: 3.441 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)