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.001627/0.001627, allocations: 108 kB / 15.6 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00175/0.00175, allocations: 195 kB / 16.53 MB, free: 6.672 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.429/1.429, allocations: 205.1 MB / 222.4 MB, free: 4.613 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.001168/0.001168, allocations: 43.94 kB / 278.7 MB, free: 12.37 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1985/0.1996, allocations: 46.65 MB / 325.3 MB, free: 1.965 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar): time 0.01153/0.2112, allocations: 10.08 MB / 335.4 MB, free: 9.902 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.006601/0.2178, allocations: 2.807 MB / 338.2 MB, free: 7.082 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000927/0.2188, allocations: 63.81 kB / 338.3 MB, free: 7.02 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008814/0.2276, allocations: 4.201 MB / 342.5 MB, free: 2.801 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003059/0.2307, allocations: 1.041 MB / 343.5 MB, free: 1.754 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001857/0.2326, allocations: 0.8258 MB / 344.3 MB, free: 0.9258 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.004218/0.2368, allocations: 4.249 MB / 348.6 MB, free: 12.66 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01223/0.2491, allocations: 11.05 MB / 359.6 MB, free: 1.496 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002898/0.252, allocations: 2.451 MB / 362.1 MB, free: 15.04 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0032/0.2552, allocations: 2.784 MB / 364.9 MB, free: 12.25 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008373/0.2561, allocations: 0.6797 MB / 365.5 MB, free: 11.57 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001486/0.2575, allocations: 0.8943 MB / 366.4 MB, free: 10.67 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001033/0.2586, allocations: 1.317 MB / 367.8 MB, free: 9.352 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002505/0.2611, allocations: 2.673 MB / 370.4 MB, free: 6.668 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007595/0.2687, allocations: 9.021 MB / 379.5 MB, free: 13.62 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.651e-06/0.2687, allocations: 0 / 379.5 MB, free: 13.62 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.2688, allocations: 0 / 379.5 MB, free: 13.62 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0001371/0.2689, allocations: 0 / 379.5 MB, free: 13.62 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.01298/0.2819, allocations: 5.574 MB / 385 MB, free: 7.977 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.172e-05/0.2819, allocations: 8.031 kB / 385 MB, free: 7.969 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0135/0.2954, allocations: 2.387 MB / 387.4 MB, free: 5.574 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003879/0.2993, allocations: 2.381 MB / 389.8 MB, free: 3.148 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002603/0.2996, allocations: 361.9 kB / 390.2 MB, free: 2.793 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007488/0.3004, allocations: 476 kB / 390.6 MB, free: 2.328 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0108/0.3112, allocations: 6.643 MB / 397.3 MB, free: 11.65 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.852e-05/0.3113, allocations: 4 kB / 397.3 MB, free: 11.64 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004471/0.3117, allocations: 200 kB / 397.5 MB, free: 11.45 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002504/0.312, allocations: 230.1 kB / 397.7 MB, free: 11.22 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009571/0.3216, allocations: 6.114 MB / 403.8 MB, free: 5.098 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02977/0.3514, allocations: 22.64 MB / 426.4 MB, free: 13.68 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009872/0.3613, allocations: 10.79 MB / 437.2 MB, free: 1.223 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001176/0.3625, allocations: 0.8227 MB / 438.1 MB, free: 404 kB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004608/0.3671, allocations: 3.394 MB / 441.4 MB, free: 12.66 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.204e-05/0.3672, allocations: 30.56 kB / 441.5 MB, free: 12.62 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.764e-06/0.3672, allocations: 4 kB / 441.5 MB, free: 12.61 MB / 382.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004169/0.3676, allocations: 231.8 kB / 441.7 MB, free: 12.38 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.667e-05/0.3676, allocations: 55.34 kB / 441.8 MB, free: 12.31 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002594/0.3702, allocations: 2.137 MB / 443.9 MB, free: 10.17 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.802e-05/0.3703, allocations: 25.7 kB / 443.9 MB, free: 10.14 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001307/0.3716, allocations: 2.39 MB / 446.3 MB, free: 7.711 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.527e-05/0.3716, allocations: 67.66 kB / 446.4 MB, free: 7.645 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006829/0.3723, allocations: 0.5466 MB / 446.9 MB, free: 7.09 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001336/0.3725, allocations: 349.9 kB / 447.3 MB, free: 6.742 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001098/0.3736, allocations: 0.8167 MB / 448.1 MB, free: 5.922 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001995/0.3756, allocations: 2.239 MB / 450.3 MB, free: 2.977 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.154/0.5296, allocations: 2.955 MB / 453.3 MB, free: 106.6 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.969e-05/0.5297, allocations: 15 kB / 453.3 MB, free: 106.6 MB / 382.1 MB Notification: Performance of matching and sorting (n=308) (initialization): time 0.004692/0.5344, allocations: 3.02 MB / 456.3 MB, free: 105.9 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.417e-05/0.5344, allocations: 26.31 kB / 456.3 MB, free: 105.9 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.99e-05/0.5345, allocations: 53.84 kB / 456.4 MB, free: 105.9 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.883e-05/0.5346, allocations: 68.73 kB / 456.5 MB, free: 105.9 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001536/0.5361, allocations: 0.5685 MB / 457 MB, free: 105.8 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.143e-05/0.5362, allocations: 103.5 kB / 457.1 MB, free: 105.8 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001829/0.538, allocations: 395.7 kB / 457.5 MB, free: 105.7 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001675/0.5382, allocations: 148 kB / 457.7 MB, free: 105.7 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.002069/0.5403, allocations: 1.73 MB / 459.4 MB, free: 104.8 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002289/0.5405, allocations: 136.2 kB / 459.5 MB, free: 104.8 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003904/0.5409, allocations: 238.9 kB / 459.8 MB, free: 104.7 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001088/0.541, allocations: 92.38 kB / 459.8 MB, free: 104.7 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.84e-06/0.5411, allocations: 3.969 kB / 459.8 MB, free: 104.7 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.5411, allocations: 0 / 459.8 MB, free: 104.7 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003642/0.5447, allocations: 3.056 MB / 462.9 MB, free: 103.5 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.498e-06/0.5447, allocations: 3.938 kB / 462.9 MB, free: 103.5 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.581e-05/0.5448, allocations: 13.52 kB / 462.9 MB, free: 103.5 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.806e-06/0.5448, allocations: 0 / 462.9 MB, free: 103.5 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.15e-05/0.5448, allocations: 7.875 kB / 462.9 MB, free: 103.5 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.326e-06/0.5448, allocations: 3.844 kB / 462.9 MB, free: 103.5 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/0.5449, allocations: 2.344 kB / 462.9 MB, free: 103.5 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003378/0.5452, allocations: 371.1 kB / 463.3 MB, free: 103.2 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000237/0.5454, allocations: 215.7 kB / 463.5 MB, free: 103 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00014/0.5456, allocations: 7.938 kB / 463.5 MB, free: 103 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004438/0.546, allocations: 27.48 kB / 463.5 MB, free: 103 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.18e-05/0.5461, allocations: 6.938 kB / 463.5 MB, free: 103 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.869e-06/0.5461, allocations: 2.938 kB / 463.5 MB, free: 103 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001353/0.5474, allocations: 1.4 MB / 464.9 MB, free: 102.5 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5475, allocations: 64 / 464.9 MB, free: 102.5 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002273/0.5497, allocations: 0.9947 MB / 465.9 MB, free: 102.2 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.0002531/0.55, allocations: 142.9 kB / 466.1 MB, free: 102.1 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001617/0.5516, allocations: 1.468 MB / 467.6 MB, free: 101.5 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.5516, allocations: 4.188 kB / 467.6 MB, free: 101.5 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 4.841e-05/0.5517, allocations: 35.25 kB / 467.6 MB, free: 101.5 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001417/0.5531, allocations: 337.1 kB / 467.9 MB, free: 101.4 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007064/0.5602, allocations: 6.156 MB / 474.1 MB, free: 97.22 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001894/0.5621, allocations: 3.138 MB / 477.2 MB, free: 94.58 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001656/0.5638, allocations: 0.7922 MB / 478 MB, free: 93.78 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001469/0.5639, allocations: 103.4 kB / 478.1 MB, free: 93.68 MB / 382.1 MB Notification: Performance of SimCode: time 9.52e-07/0.5639, allocations: 0 / 478.1 MB, free: 93.68 MB / 382.1 MB Notification: Performance of Templates: time 0.02694/0.5909, allocations: 17.24 MB / 495.3 MB, free: 76.48 MB / 382.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)