Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_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.2_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.2_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.0007638/0.0007638, allocations: 95.55 kB / 16.65 MB, free: 6.586 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.0007888/0.0007889, allocations: 184.4 kB / 17.57 MB, free: 6.203 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.423/1.423, allocations: 205.4 MB / 223.7 MB, free: 13.07 MB / 190.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.0004401/0.0004402, allocations: 12 kB / 280.7 MB, free: 3.414 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08436/0.08482, allocations: 47.58 MB / 328.3 MB, free: 3.766 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar): time 0.009288/0.09414, allocations: 9.307 MB / 337.6 MB, free: 10.41 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.00548/0.09966, allocations: 2.761 MB / 340.4 MB, free: 7.637 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009069/0.1006, allocations: 59.81 kB / 340.4 MB, free: 7.578 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001326/0.1019, allocations: 0.5989 MB / 341 MB, free: 6.977 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002792/0.1047, allocations: 0.9215 MB / 342 MB, free: 6.051 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001722/0.1065, allocations: 0.7677 MB / 342.7 MB, free: 5.281 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.004829/0.1113, allocations: 4.128 MB / 346.9 MB, free: 1.137 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01651/0.1278, allocations: 11.14 MB / 358 MB, free: 5.875 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002473/0.1303, allocations: 1.716 MB / 359.7 MB, free: 4.152 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002718/0.1331, allocations: 2.065 MB / 361.8 MB, free: 2.078 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000456/0.1335, allocations: 284 kB / 362.1 MB, free: 1.801 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001112/0.1347, allocations: 495.8 kB / 362.6 MB, free: 1.316 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007496/0.1354, allocations: 0.8094 MB / 363.4 MB, free: 0.5039 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002008/0.1374, allocations: 2.12 MB / 365.5 MB, free: 14.36 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007444/0.1449, allocations: 8.534 MB / 374 MB, free: 5.805 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/0.1449, allocations: 7.938 kB / 374 MB, free: 5.797 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.1449, allocations: 4 kB / 374 MB, free: 5.793 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0001512/0.1451, allocations: 0 / 374 MB, free: 5.793 MB / 318.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.01087/0.156, allocations: 4.547 MB / 378.6 MB, free: 1.18 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.93e-05/0.156, allocations: 12.03 kB / 378.6 MB, free: 1.168 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1679/0.3239, allocations: 2.396 MB / 381 MB, free: 46.47 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005065/0.329, allocations: 2.373 MB / 383.4 MB, free: 45.83 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002906/0.3293, allocations: 365.6 kB / 383.7 MB, free: 45.66 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001163/0.3305, allocations: 476.4 kB / 384.2 MB, free: 45.51 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01391/0.3444, allocations: 6.659 MB / 390.8 MB, free: 42.97 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.426e-05/0.3446, allocations: 6.875 kB / 390.8 MB, free: 42.96 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004298/0.345, allocations: 205.5 kB / 391 MB, free: 42.81 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001634/0.3452, allocations: 231.2 kB / 391.3 MB, free: 42.79 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009024/0.3542, allocations: 6.138 MB / 397.4 MB, free: 39.94 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02356/0.3778, allocations: 22.69 MB / 420.1 MB, free: 18.07 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007329/0.3852, allocations: 10.81 MB / 430.9 MB, free: 5.586 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001025/0.3862, allocations: 0.8695 MB / 431.8 MB, free: 4.711 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003897/0.3901, allocations: 3.498 MB / 435.3 MB, free: 0.8945 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.026e-05/0.3902, allocations: 42.5 kB / 435.3 MB, free: 0.8438 MB / 318.1 MB Notification: Performance of pre-optimization done (n=12): time 2.234e-06/0.3902, allocations: 0 / 435.3 MB, free: 0.8438 MB / 318.1 MB Notification: Performance of matching and sorting (n=12): time 0.0005221/0.3907, allocations: 344.3 kB / 435.7 MB, free: 0.5 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.421e-05/0.3907, allocations: 51.41 kB / 435.7 MB, free: 448 kB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002816/0.3936, allocations: 2.133 MB / 437.8 MB, free: 14.29 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.869e-05/0.3936, allocations: 25.7 kB / 437.9 MB, free: 14.26 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001508/0.3951, allocations: 2.378 MB / 440.2 MB, free: 11.87 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.826e-05/0.3952, allocations: 92.59 kB / 440.3 MB, free: 11.78 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002645/0.3955, allocations: 194.7 kB / 440.5 MB, free: 11.59 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001889/0.3957, allocations: 357.9 kB / 440.9 MB, free: 11.23 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001233/0.3969, allocations: 0.8519 MB / 441.7 MB, free: 10.38 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002381/0.3993, allocations: 2.275 MB / 444 MB, free: 7.395 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003127/0.4024, allocations: 3.031 MB / 447 MB, free: 3.66 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-05/0.4025, allocations: 16 kB / 447 MB, free: 3.645 MB / 334.1 MB Notification: Performance of matching and sorting (n=314) (initialization): time 0.004385/0.4069, allocations: 3.093 MB / 450.1 MB, free: 0.5469 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.51e-05/0.4069, allocations: 28 kB / 450.2 MB, free: 0.5195 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.012e-05/0.407, allocations: 52 kB / 450.2 MB, free: 480 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.282e-05/0.407, allocations: 72.06 kB / 450.3 MB, free: 408 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001587/0.4086, allocations: 0.5732 MB / 450.9 MB, free: 15.82 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.393e-05/0.4087, allocations: 99.64 kB / 451 MB, free: 15.73 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001801/0.4105, allocations: 400.1 kB / 451.3 MB, free: 15.33 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001621/0.4107, allocations: 148 kB / 451.5 MB, free: 15.19 MB / 350.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 (310): * Single equations (assignments): 306 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.002327/0.413, allocations: 1.73 MB / 453.2 MB, free: 13.45 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002053/0.4133, allocations: 138.2 kB / 453.4 MB, free: 13.31 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004908/0.4138, allocations: 317.7 kB / 453.7 MB, free: 12.99 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001948/0.414, allocations: 161.6 kB / 453.8 MB, free: 12.83 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.232e-06/0.414, allocations: 0 / 453.8 MB, free: 12.83 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.069e-06/0.414, allocations: 7.922 kB / 453.8 MB, free: 12.82 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004258/0.4183, allocations: 3.163 MB / 457 MB, free: 9.605 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-06/0.4183, allocations: 0 / 457 MB, free: 9.605 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.288e-05/0.4183, allocations: 8 kB / 457 MB, free: 9.598 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.55e-06/0.4184, allocations: 4 kB / 457 MB, free: 9.594 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.455e-05/0.4184, allocations: 4 kB / 457 MB, free: 9.59 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.599e-06/0.4184, allocations: 0 / 457 MB, free: 9.59 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.4184, allocations: 3.938 kB / 457 MB, free: 9.586 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005366/0.4189, allocations: 0.4891 MB / 457.5 MB, free: 9.078 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003257/0.4193, allocations: 255.3 kB / 457.7 MB, free: 8.809 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000126/0.4194, allocations: 4 kB / 457.8 MB, free: 8.805 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004608/0.4199, allocations: 23.95 kB / 457.8 MB, free: 8.781 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.496e-05/0.4199, allocations: 11.98 kB / 457.8 MB, free: 8.77 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.098e-05/0.4199, allocations: 4 kB / 457.8 MB, free: 8.766 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001844/0.4218, allocations: 1.4 MB / 459.2 MB, free: 7.371 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.4218, allocations: 0 / 459.2 MB, free: 7.371 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.002399/0.4242, allocations: 0.989 MB / 460.2 MB, free: 6.379 MB / 350.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 (10): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.0002553/0.4245, allocations: 147.3 kB / 460.3 MB, free: 6.234 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002186/0.4267, allocations: 1.54 MB / 461.9 MB, free: 4.699 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.387e-06/0.4267, allocations: 4.062 kB / 461.9 MB, free: 4.695 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001125/0.4268, allocations: 79.95 kB / 461.9 MB, free: 4.617 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001668/0.4285, allocations: 316.8 kB / 462.3 MB, free: 4.312 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01132/0.4398, allocations: 8.125 MB / 470.4 MB, free: 12.18 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002769/0.4426, allocations: 3.136 MB / 473.5 MB, free: 9.012 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.00197/0.4446, allocations: 0.7984 MB / 474.3 MB, free: 8.207 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001712/0.4448, allocations: 99.42 kB / 474.4 MB, free: 8.109 MB / 366.1 MB Notification: Performance of SimCode: time 6.21e-07/0.4448, allocations: 0 / 474.4 MB, free: 8.109 MB / 366.1 MB Notification: Performance of Templates: time 0.03354/0.4783, allocations: 17.12 MB / 491.5 MB, free: 7.016 MB / 382.1 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar.sim & ./Modelica_3.2.2_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar.pipe 2>&1)