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.001134/0.001134, allocations: 111 kB / 17.06 MB, free: 5.969 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.001105/0.001106, allocations: 200 kB / 18.01 MB, free: 5.055 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.37/1.37, allocations: 205.1 MB / 223.9 MB, free: 12.22 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.001173/0.001173, allocations: 47.92 kB / 327.9 MB, free: 3.285 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09315/0.09433, allocations: 46.61 MB / 374.5 MB, free: 4.566 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar): time 0.214/0.3084, allocations: 10.09 MB / 384.6 MB, free: 7.785 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.006569/0.315, allocations: 2.821 MB / 387.4 MB, free: 6.301 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001208/0.3163, allocations: 59.12 kB / 387.4 MB, free: 6.293 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007933/0.3243, allocations: 4.207 MB / 391.7 MB, free: 3.746 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003444/0.3277, allocations: 1.043 MB / 392.7 MB, free: 3.074 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00193/0.3297, allocations: 0.8294 MB / 393.5 MB, free: 2.566 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.00437/0.334, allocations: 4.285 MB / 397.8 MB, free: 352 kB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01338/0.3474, allocations: 11 MB / 408.8 MB, free: 11.26 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004017/0.3515, allocations: 2.449 MB / 411.3 MB, free: 10.06 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00501/0.3565, allocations: 2.792 MB / 414.1 MB, free: 8.051 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001125/0.3577, allocations: 0.6797 MB / 414.7 MB, free: 7.371 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002048/0.3597, allocations: 0.8904 MB / 415.6 MB, free: 6.48 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001061/0.3608, allocations: 1.321 MB / 416.9 MB, free: 5.156 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002682/0.3635, allocations: 2.673 MB / 419.6 MB, free: 2.473 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00826/0.3718, allocations: 9.08 MB / 428.7 MB, free: 9.367 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.3718, allocations: 0 / 428.7 MB, free: 9.367 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.3718, allocations: 0 / 428.7 MB, free: 9.367 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001359/0.372, allocations: 4 kB / 428.7 MB, free: 9.363 MB / 350.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.01309/0.3851, allocations: 5.566 MB / 434.3 MB, free: 3.73 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.179e-05/0.3851, allocations: 8.031 kB / 434.3 MB, free: 3.723 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01328/0.3984, allocations: 2.384 MB / 436.7 MB, free: 1.332 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00516/0.4036, allocations: 2.369 MB / 439 MB, free: 14.91 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002878/0.4039, allocations: 373.7 kB / 439.4 MB, free: 14.55 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001051/0.4049, allocations: 487.9 kB / 439.9 MB, free: 14.07 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01144/0.4164, allocations: 6.64 MB / 446.5 MB, free: 7.395 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.801e-05/0.4165, allocations: 7.922 kB / 446.5 MB, free: 7.387 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004568/0.417, allocations: 200 kB / 446.7 MB, free: 7.191 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00022/0.4172, allocations: 226.1 kB / 446.9 MB, free: 6.969 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009724/0.427, allocations: 6.114 MB / 453 MB, free: 0.8438 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0306/0.4576, allocations: 22.35 MB / 475.4 MB, free: 9.73 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009689/0.4673, allocations: 10.79 MB / 486.2 MB, free: 13.26 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001115/0.4684, allocations: 0.811 MB / 487 MB, free: 12.45 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00498/0.4734, allocations: 3.382 MB / 490.4 MB, free: 8.719 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.237e-05/0.4735, allocations: 34.56 kB / 490.4 MB, free: 8.676 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.663e-06/0.4735, allocations: 0 / 490.4 MB, free: 8.676 MB / 414.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004375/0.4739, allocations: 239.8 kB / 490.6 MB, free: 8.434 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.596e-05/0.474, allocations: 55.34 kB / 490.7 MB, free: 8.367 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002523/0.4765, allocations: 2.133 MB / 492.8 MB, free: 6.227 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.915e-05/0.4765, allocations: 29.7 kB / 492.9 MB, free: 6.191 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001345/0.4779, allocations: 2.378 MB / 495.2 MB, free: 3.777 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.781e-05/0.4779, allocations: 71.59 kB / 495.3 MB, free: 3.707 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006853/0.4786, allocations: 0.5506 MB / 495.9 MB, free: 3.148 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001453/0.4788, allocations: 353.9 kB / 496.2 MB, free: 2.797 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001055/0.4798, allocations: 0.8127 MB / 497 MB, free: 1.98 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001859/0.4817, allocations: 2.239 MB / 499.3 MB, free: 15.02 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002678/0.4844, allocations: 2.96 MB / 0.4904 GB, free: 11.36 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.915e-05/0.4844, allocations: 16 kB / 0.4905 GB, free: 11.34 MB / 430.1 MB Notification: Performance of matching and sorting (n=308) (initialization): time 0.004133/0.4886, allocations: 3.012 MB / 0.4934 GB, free: 8.32 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.175e-05/0.4886, allocations: 24.19 kB / 0.4934 GB, free: 8.297 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.275e-05/0.4887, allocations: 56.25 kB / 0.4935 GB, free: 8.242 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.365e-05/0.4888, allocations: 68 kB / 0.4935 GB, free: 8.176 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001623/0.4904, allocations: 0.5771 MB / 0.4941 GB, free: 7.598 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.186e-05/0.4905, allocations: 99.58 kB / 0.4942 GB, free: 7.5 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001707/0.4922, allocations: 396.3 kB / 0.4946 GB, free: 7.109 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001681/0.4924, allocations: 148 kB / 0.4947 GB, free: 6.965 MB / 430.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.002178/0.4946, allocations: 1.73 MB / 0.4964 GB, free: 5.223 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001867/0.4948, allocations: 134.2 kB / 0.4965 GB, free: 5.09 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003865/0.4952, allocations: 246.9 kB / 0.4968 GB, free: 4.84 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001134/0.4953, allocations: 93.66 kB / 0.4969 GB, free: 4.742 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/0.4953, allocations: 3.938 kB / 0.4969 GB, free: 4.738 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.4953, allocations: 0 / 0.4969 GB, free: 4.738 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004432/0.4997, allocations: 3.053 MB / 0.4998 GB, free: 1.629 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.474e-06/0.4998, allocations: 11.88 kB / 0.4999 GB, free: 1.621 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.643e-05/0.4998, allocations: 11.98 kB / 0.4999 GB, free: 1.609 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.508e-06/0.4999, allocations: 0 / 0.4999 GB, free: 1.609 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.216e-05/0.4999, allocations: 4 kB / 0.4999 GB, free: 1.605 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.299e-06/0.4999, allocations: 3.938 kB / 0.4999 GB, free: 1.602 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.4999, allocations: 0 / 0.4999 GB, free: 1.602 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004164/0.5003, allocations: 366.5 kB / 0.5002 GB, free: 1.223 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003693/0.5007, allocations: 223.3 kB / 0.5004 GB, free: 0.9844 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001185/0.5008, allocations: 4 kB / 0.5004 GB, free: 0.9805 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004465/0.5013, allocations: 27.95 kB / 0.5005 GB, free: 0.9531 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.862e-05/0.5013, allocations: 4 kB / 0.5005 GB, free: 0.9492 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.285e-06/0.5013, allocations: 0 / 0.5005 GB, free: 0.9492 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001828/0.5031, allocations: 1.404 MB / 0.5018 GB, free: 15.55 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.5032, allocations: 0 / 0.5018 GB, free: 15.55 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003021/0.5062, allocations: 0.9863 MB / 0.5028 GB, free: 14.56 MB / 446.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.000257/0.5064, allocations: 155.1 kB / 0.503 GB, free: 14.4 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002073/0.5085, allocations: 1.466 MB / 0.5044 GB, free: 12.94 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/0.5085, allocations: 4 kB / 0.5044 GB, free: 12.94 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 5.83e-05/0.5086, allocations: 36.23 kB / 0.5044 GB, free: 12.9 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001634/0.5103, allocations: 332.3 kB / 0.5047 GB, free: 12.58 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009101/0.5194, allocations: 6.067 MB / 0.5107 GB, free: 6.48 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002546/0.5219, allocations: 3.136 MB / 0.5137 GB, free: 3.316 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001721/0.5237, allocations: 0.7944 MB / 0.5145 GB, free: 2.516 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001805/0.5239, allocations: 99.42 kB / 0.5146 GB, free: 2.418 MB / 446.1 MB Notification: Performance of SimCode: time 6.31e-07/0.5239, allocations: 0 / 0.5146 GB, free: 2.418 MB / 446.1 MB Notification: Performance of Templates: time 0.03199/0.5559, allocations: 17.68 MB / 0.5319 GB, free: 0.7109 MB / 462.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)