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.008161/0.008161, allocations: 101.1 kB / 15.73 MB, free: 6.047 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.001535/0.001535, allocations: 190.6 kB / 16.67 MB, free: 5.977 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.424/1.424, allocations: 205.1 MB / 222.5 MB, free: 4.496 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.00145/0.00145, allocations: 53.58 kB / 326.6 MB, free: 14.34 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09016/0.09162, allocations: 46.62 MB / 373.2 MB, free: 1.328 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar): time 0.01091/0.1026, allocations: 10.07 MB / 383.2 MB, free: 7.207 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.006369/0.109, allocations: 2.838 MB / 386.1 MB, free: 4.355 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001486/0.1105, allocations: 63.81 kB / 386.1 MB, free: 4.293 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008948/0.1195, allocations: 4.201 MB / 390.3 MB, free: 76 kB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004019/0.1235, allocations: 1.045 MB / 391.4 MB, free: 15.02 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002371/0.1259, allocations: 0.8297 MB / 392.2 MB, free: 14.19 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.005066/0.131, allocations: 4.28 MB / 396.5 MB, free: 9.895 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01288/0.1439, allocations: 11 MB / 407.5 MB, free: 14.78 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003207/0.1472, allocations: 2.459 MB / 410 MB, free: 12.31 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00379/0.151, allocations: 2.784 MB / 412.7 MB, free: 9.52 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001062/0.1521, allocations: 0.6758 MB / 413.4 MB, free: 8.844 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002215/0.1543, allocations: 0.8865 MB / 414.3 MB, free: 7.957 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001115/0.1554, allocations: 1.321 MB / 415.6 MB, free: 6.633 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003267/0.1587, allocations: 2.669 MB / 418.3 MB, free: 3.953 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009666/0.1684, allocations: 9.08 MB / 427.4 MB, free: 10.85 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.724e-06/0.1685, allocations: 4 kB / 427.4 MB, free: 10.84 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.655e-06/0.1685, allocations: 0 / 427.4 MB, free: 10.84 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.000292/0.1688, allocations: 0 / 427.4 MB, free: 10.84 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.01443/0.1832, allocations: 5.578 MB / 433 MB, free: 5.199 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.924e-05/0.1833, allocations: 12.02 kB / 433 MB, free: 5.188 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01372/0.197, allocations: 2.387 MB / 435.3 MB, free: 2.793 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005431/0.2025, allocations: 2.365 MB / 437.7 MB, free: 392 kB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002978/0.2028, allocations: 365.9 kB / 438.1 MB, free: 24 kB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001447/0.2043, allocations: 483.9 kB / 438.5 MB, free: 15.55 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01515/0.2194, allocations: 6.643 MB / 445.2 MB, free: 8.871 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001361/0.2196, allocations: 7.938 kB / 445.2 MB, free: 8.863 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000849/0.2205, allocations: 200 kB / 445.4 MB, free: 8.668 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002403/0.2207, allocations: 234.1 kB / 445.6 MB, free: 8.438 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01254/0.2333, allocations: 6.114 MB / 451.7 MB, free: 2.312 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2453/0.4787, allocations: 22.33 MB / 474.1 MB, free: 53.14 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008588/0.4873, allocations: 10.79 MB / 484.9 MB, free: 42.25 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001218/0.4886, allocations: 0.8121 MB / 485.7 MB, free: 41.86 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004696/0.4933, allocations: 3.398 MB / 489.1 MB, free: 38.91 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.76e-05/0.4933, allocations: 38.47 kB / 489.1 MB, free: 38.86 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 2.054e-06/0.4933, allocations: 0 / 489.1 MB, free: 38.86 MB / 382.1 MB Notification: Performance of matching and sorting (n=6): time 0.0005136/0.4938, allocations: 222.7 kB / 489.3 MB, free: 38.73 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.484e-05/0.4939, allocations: 52.03 kB / 489.4 MB, free: 38.67 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002434/0.4963, allocations: 2.135 MB / 491.5 MB, free: 37.5 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.538e-05/0.4963, allocations: 32.58 kB / 491.5 MB, free: 37.47 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008898/0.4972, allocations: 2.38 MB / 493.9 MB, free: 35.38 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.968e-05/0.4973, allocations: 75.06 kB / 494 MB, free: 35.33 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006157/0.4979, allocations: 0.5447 MB / 494.5 MB, free: 35.01 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.555e-05/0.498, allocations: 349.8 kB / 494.9 MB, free: 34.68 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000955/0.499, allocations: 0.8164 MB / 495.7 MB, free: 34.26 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00145/0.5004, allocations: 2.241 MB / 497.9 MB, free: 31.86 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002009/0.5025, allocations: 2.963 MB / 0.4892 GB, free: 28.98 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.81e-05/0.5025, allocations: 15.03 kB / 0.4892 GB, free: 28.98 MB / 382.1 MB Notification: Performance of matching and sorting (n=308) (initialization): time 0.003429/0.5059, allocations: 3.015 MB / 0.4921 GB, free: 27.17 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.578e-05/0.506, allocations: 28 kB / 0.4921 GB, free: 27.14 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.706e-05/0.506, allocations: 48 kB / 0.4922 GB, free: 27.1 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.691e-05/0.5061, allocations: 68 kB / 0.4922 GB, free: 27.03 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001437/0.5075, allocations: 0.5693 MB / 0.4928 GB, free: 26.46 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.351e-05/0.5076, allocations: 103.6 kB / 0.4929 GB, free: 26.36 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001723/0.5093, allocations: 404.4 kB / 0.4933 GB, free: 25.96 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001295/0.5095, allocations: 144.2 kB / 0.4934 GB, free: 25.82 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.002128/0.5116, allocations: 1.722 MB / 0.4951 GB, free: 24.09 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002113/0.5118, allocations: 134.2 kB / 0.4952 GB, free: 23.95 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003976/0.5122, allocations: 247 kB / 0.4955 GB, free: 23.7 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.128e-05/0.5123, allocations: 89.64 kB / 0.4956 GB, free: 23.61 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.015e-05/0.5123, allocations: 12 kB / 0.4956 GB, free: 23.6 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.664e-06/0.5123, allocations: 0 / 0.4956 GB, free: 23.6 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004331/0.5167, allocations: 3.062 MB / 0.4986 GB, free: 20.48 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.376e-06/0.5167, allocations: 1.969 kB / 0.4986 GB, free: 20.48 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.196e-05/0.5168, allocations: 8 kB / 0.4986 GB, free: 20.48 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.493e-06/0.5168, allocations: 4 kB / 0.4986 GB, free: 20.47 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.187e-05/0.5168, allocations: 4 kB / 0.4986 GB, free: 20.47 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.268e-06/0.5168, allocations: 0 / 0.4986 GB, free: 20.47 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.5168, allocations: 0 / 0.4986 GB, free: 20.47 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003533/0.5172, allocations: 374.2 kB / 0.4989 GB, free: 20.08 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003158/0.5175, allocations: 223.5 kB / 0.4991 GB, free: 19.84 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001313/0.5177, allocations: 0 / 0.4991 GB, free: 19.84 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004523/0.5181, allocations: 27.95 kB / 0.4992 GB, free: 19.82 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.377e-05/0.5181, allocations: 4 kB / 0.4992 GB, free: 19.81 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.154e-05/0.5182, allocations: 15.92 kB / 0.4992 GB, free: 19.8 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001433/0.5196, allocations: 1.396 MB / 0.5006 GB, free: 18.41 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5196, allocations: 0 / 0.5006 GB, free: 18.41 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002438/0.5221, allocations: 0.9863 MB / 0.5015 GB, free: 17.42 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.0002321/0.5223, allocations: 150.2 kB / 0.5017 GB, free: 17.27 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001803/0.5241, allocations: 1.465 MB / 0.5031 GB, free: 15.82 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.988e-06/0.5241, allocations: 3.281 kB / 0.5031 GB, free: 15.82 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 4.863e-05/0.5242, allocations: 35.92 kB / 0.5031 GB, free: 15.78 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001425/0.5256, allocations: 336.8 kB / 0.5035 GB, free: 15.46 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008043/0.5337, allocations: 6.053 MB / 0.5094 GB, free: 9.402 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001948/0.5357, allocations: 3.136 MB / 0.5124 GB, free: 6.238 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001518/0.5372, allocations: 0.7983 MB / 0.5132 GB, free: 5.434 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001546/0.5373, allocations: 99.42 kB / 0.5133 GB, free: 5.336 MB / 382.1 MB Notification: Performance of SimCode: time 9.52e-07/0.5374, allocations: 0 / 0.5133 GB, free: 5.336 MB / 382.1 MB Notification: Performance of Templates: time 0.03373/0.5711, allocations: 17.96 MB / 0.5308 GB, free: 3.375 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)