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.001569/0.001569, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001778/0.001778, allocations: 189.6 kB / 16.13 MB, free: 6.66 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.467/1.467, allocations: 205.1 MB / 222 MB, free: 4.77 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.001126/0.001126, allocations: 55.92 kB / 278.1 MB, free: 12.75 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2017/0.2029, allocations: 46.62 MB / 324.7 MB, free: 1.934 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar): time 0.009558/0.2125, allocations: 9.951 MB / 334.6 MB, free: 10.02 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.005171/0.2177, allocations: 2.793 MB / 337.4 MB, free: 7.367 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001078/0.2188, allocations: 63.81 kB / 337.5 MB, free: 7.305 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007619/0.2265, allocations: 4.001 MB / 341.5 MB, free: 3.289 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003238/0.2297, allocations: 0.9332 MB / 342.4 MB, free: 2.352 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001844/0.2316, allocations: 0.7761 MB / 343.2 MB, free: 1.574 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.004309/0.2359, allocations: 4.128 MB / 347.3 MB, free: 13.43 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01221/0.2481, allocations: 9.23 MB / 356.6 MB, free: 4.086 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003441/0.2516, allocations: 2.216 MB / 358.8 MB, free: 1.863 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003943/0.2556, allocations: 2.717 MB / 361.5 MB, free: 15.14 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00134/0.2569, allocations: 0.5156 MB / 362 MB, free: 14.62 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001859/0.2588, allocations: 0.7342 MB / 362.7 MB, free: 13.89 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009196/0.2597, allocations: 1.149 MB / 363.9 MB, free: 12.73 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002696/0.2624, allocations: 2.501 MB / 366.4 MB, free: 10.22 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007382/0.2698, allocations: 8.923 MB / 375.3 MB, free: 1.273 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.02e-06/0.2699, allocations: 0 / 375.3 MB, free: 1.273 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.2699, allocations: 0 / 375.3 MB, free: 1.273 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0002114/0.2701, allocations: 0 / 375.3 MB, free: 1.273 MB / 302.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.01305/0.2831, allocations: 5.586 MB / 380.9 MB, free: 11.62 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.959e-05/0.2832, allocations: 8.031 kB / 380.9 MB, free: 11.61 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01346/0.2967, allocations: 2.391 MB / 383.3 MB, free: 9.211 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004577/0.3013, allocations: 2.381 MB / 385.7 MB, free: 6.781 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003005/0.3016, allocations: 369.8 kB / 386 MB, free: 6.418 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001379/0.303, allocations: 472 kB / 386.5 MB, free: 5.957 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01395/0.3169, allocations: 6.659 MB / 393.2 MB, free: 15.26 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.204e-05/0.3171, allocations: 7.906 kB / 393.2 MB, free: 15.25 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00048/0.3176, allocations: 196 kB / 393.4 MB, free: 15.06 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001937/0.3178, allocations: 226.1 kB / 393.6 MB, free: 14.84 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01095/0.3287, allocations: 6.141 MB / 399.7 MB, free: 8.688 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03614/0.3649, allocations: 22.64 MB / 422.4 MB, free: 1.262 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009682/0.3746, allocations: 10.83 MB / 433.2 MB, free: 4.75 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001293/0.3759, allocations: 0.8617 MB / 434.1 MB, free: 3.891 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005039/0.381, allocations: 3.495 MB / 437.5 MB, free: 52 kB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.885e-05/0.381, allocations: 38.55 kB / 437.6 MB, free: 4 kB / 366.1 MB Notification: Performance of pre-optimization done (n=12): time 1.763e-06/0.381, allocations: 0 / 437.6 MB, free: 4 kB / 366.1 MB Notification: Performance of matching and sorting (n=12): time 0.000669/0.3817, allocations: 347.8 kB / 437.9 MB, free: 15.65 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.007e-05/0.3818, allocations: 55.31 kB / 438 MB, free: 15.59 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003006/0.3848, allocations: 2.141 MB / 440.1 MB, free: 13.44 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.795e-05/0.3848, allocations: 25.7 kB / 440.1 MB, free: 13.41 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001337/0.3861, allocations: 2.363 MB / 442.5 MB, free: 11.01 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.533e-05/0.3863, allocations: 99.31 kB / 442.6 MB, free: 10.91 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000729/0.387, allocations: 0.5468 MB / 443.2 MB, free: 10.36 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001257/0.3871, allocations: 361.9 kB / 443.5 MB, free: 10 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001217/0.3883, allocations: 0.8519 MB / 444.4 MB, free: 9.145 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002091/0.3904, allocations: 2.274 MB / 446.6 MB, free: 6.164 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003683/0.3941, allocations: 3.035 MB / 449.7 MB, free: 2.426 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.904e-05/0.3942, allocations: 16 kB / 449.7 MB, free: 2.41 MB / 382.1 MB Notification: Performance of matching and sorting (n=314) (initialization): time 0.1658/0.56, allocations: 3.09 MB / 452.8 MB, free: 106 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.428e-05/0.5601, allocations: 29.39 kB / 452.8 MB, free: 106 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001073/0.5602, allocations: 50.38 kB / 452.9 MB, free: 106 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001146/0.5603, allocations: 67.12 kB / 452.9 MB, free: 106 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001852/0.5622, allocations: 0.5729 MB / 453.5 MB, free: 106 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.198e-05/0.5623, allocations: 99.61 kB / 453.6 MB, free: 106 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002079/0.5644, allocations: 405 kB / 454 MB, free: 105.9 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001509/0.5645, allocations: 149.1 kB / 454.1 MB, free: 105.9 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 (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.002271/0.5668, allocations: 1.727 MB / 455.9 MB, free: 105.8 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002215/0.567, allocations: 132.5 kB / 456 MB, free: 105.8 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004691/0.5675, allocations: 319.7 kB / 456.3 MB, free: 105.6 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001852/0.5677, allocations: 160.8 kB / 456.5 MB, free: 105.5 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.5677, allocations: 1.062 kB / 456.5 MB, free: 105.5 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.15e-06/0.5677, allocations: 3.656 kB / 456.5 MB, free: 105.5 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003923/0.5716, allocations: 3.156 MB / 459.6 MB, free: 104.3 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.138e-06/0.5717, allocations: 0.5312 kB / 459.6 MB, free: 104.3 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.554e-05/0.5717, allocations: 10.16 kB / 459.6 MB, free: 104.3 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.059e-06/0.5718, allocations: 6.578 kB / 459.6 MB, free: 104.3 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.381e-05/0.5718, allocations: 9.281 kB / 459.6 MB, free: 104.3 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.936e-06/0.5718, allocations: 1.562 kB / 459.6 MB, free: 104.3 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/0.5718, allocations: 8.5 kB / 459.7 MB, free: 104.3 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004551/0.5723, allocations: 493.7 kB / 460.1 MB, free: 104.1 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002374/0.5725, allocations: 222.3 kB / 460.3 MB, free: 103.9 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001449/0.5727, allocations: 3.969 kB / 460.4 MB, free: 103.9 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004572/0.5731, allocations: 27.28 kB / 460.4 MB, free: 103.9 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.015e-05/0.5731, allocations: 11.91 kB / 460.4 MB, free: 103.9 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.267e-06/0.5732, allocations: 0 / 460.4 MB, free: 103.9 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001381/0.5745, allocations: 1.403 MB / 461.8 MB, free: 103.4 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.022e-06/0.5746, allocations: 0 / 461.8 MB, free: 103.4 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002206/0.5768, allocations: 0.9929 MB / 462.8 MB, free: 103 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 (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.0002033/0.577, allocations: 155.5 kB / 462.9 MB, free: 102.9 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001693/0.5787, allocations: 1.539 MB / 464.5 MB, free: 102.5 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.5787, allocations: 4 kB / 464.5 MB, free: 102.5 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.728e-05/0.5788, allocations: 87.58 kB / 464.6 MB, free: 102.5 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001409/0.5802, allocations: 300 kB / 464.9 MB, free: 102.4 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008158/0.5884, allocations: 8.079 MB / 472.9 MB, free: 97.48 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001913/0.5903, allocations: 3.135 MB / 476.1 MB, free: 94.96 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.00172/0.592, allocations: 0.7876 MB / 476.9 MB, free: 94.41 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001568/0.5922, allocations: 99.42 kB / 477 MB, free: 94.32 MB / 382.1 MB Notification: Performance of SimCode: time 9.62e-07/0.5922, allocations: 4 kB / 477 MB, free: 94.32 MB / 382.1 MB Notification: Performance of Templates: time 0.02629/0.6185, allocations: 17.23 MB / 494.2 MB, free: 77.12 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)