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.001423/0.001423, allocations: 112.8 kB / 17.07 MB, free: 5.973 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.001547/0.001547, allocations: 200 kB / 18 MB, free: 5.059 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.509/1.509, 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.001288/0.001288, allocations: 51.94 kB / 327.9 MB, free: 3.277 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09348/0.09477, allocations: 46.62 MB / 374.5 MB, free: 4.551 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar): time 0.1966/0.2914, allocations: 10.08 MB / 384.6 MB, free: 7.75 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.005446/0.2969, allocations: 2.822 MB / 387.4 MB, free: 6.262 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009528/0.298, allocations: 63.06 kB / 387.5 MB, free: 6.25 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008262/0.3062, allocations: 4.202 MB / 391.7 MB, free: 3.707 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003468/0.3097, allocations: 1.036 MB / 392.7 MB, free: 3.043 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00185/0.3116, allocations: 0.8309 MB / 393.5 MB, free: 2.531 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.005103/0.3167, allocations: 4.286 MB / 397.8 MB, free: 316 kB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01565/0.3324, allocations: 11 MB / 408.8 MB, free: 11.23 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004386/0.3368, allocations: 2.448 MB / 411.3 MB, free: 10.02 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005729/0.3426, allocations: 2.792 MB / 414.1 MB, free: 8.027 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001453/0.344, allocations: 0.6797 MB / 414.7 MB, free: 7.348 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002444/0.3465, allocations: 0.8826 MB / 415.6 MB, free: 6.465 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001158/0.3477, allocations: 1.325 MB / 416.9 MB, free: 5.137 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002945/0.3506, allocations: 2.681 MB / 419.6 MB, free: 2.445 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008808/0.3594, allocations: 9.068 MB / 428.7 MB, free: 9.352 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.282e-05/0.3595, allocations: 4 kB / 428.7 MB, free: 9.348 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.3595, allocations: 0 / 428.7 MB, free: 9.348 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001976/0.3597, allocations: 0 / 428.7 MB, free: 9.348 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.01263/0.3723, allocations: 5.57 MB / 434.3 MB, free: 3.711 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.986e-05/0.3724, allocations: 8.031 kB / 434.3 MB, free: 3.703 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01486/0.3873, allocations: 2.384 MB / 436.7 MB, free: 1.312 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006586/0.3939, allocations: 2.369 MB / 439 MB, free: 14.89 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004571/0.3944, allocations: 381.6 kB / 439.4 MB, free: 14.52 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002055/0.3965, allocations: 479.9 kB / 439.9 MB, free: 14.05 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01581/0.4123, allocations: 6.64 MB / 446.5 MB, free: 7.375 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001215/0.4124, allocations: 3.984 kB / 446.5 MB, free: 7.371 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006417/0.4131, allocations: 200 kB / 446.7 MB, free: 7.176 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002233/0.4133, allocations: 226.1 kB / 446.9 MB, free: 6.953 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01134/0.4247, allocations: 6.122 MB / 453 MB, free: 0.8203 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02995/0.4547, allocations: 22.34 MB / 475.4 MB, free: 9.715 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0102/0.4649, allocations: 10.79 MB / 486.2 MB, free: 13.24 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001148/0.4661, allocations: 0.811 MB / 487 MB, free: 12.43 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00504/0.4711, allocations: 3.386 MB / 490.4 MB, free: 8.699 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.483e-05/0.4712, allocations: 38.5 kB / 490.4 MB, free: 8.652 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.934e-06/0.4712, allocations: 0 / 490.4 MB, free: 8.652 MB / 414.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004637/0.4716, allocations: 235.9 kB / 490.6 MB, free: 8.414 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.119e-05/0.4717, allocations: 55.34 kB / 490.7 MB, free: 8.348 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002672/0.4744, allocations: 2.129 MB / 492.8 MB, free: 6.211 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.869e-05/0.4744, allocations: 29.7 kB / 492.9 MB, free: 6.176 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001325/0.4757, allocations: 2.382 MB / 495.2 MB, free: 3.758 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.523e-05/0.4758, allocations: 67.66 kB / 495.3 MB, free: 3.691 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006564/0.4764, allocations: 0.5467 MB / 495.8 MB, free: 3.137 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001312/0.4766, allocations: 357.9 kB / 496.2 MB, free: 2.781 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001071/0.4777, allocations: 0.8166 MB / 497 MB, free: 1.961 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001975/0.4796, allocations: 2.239 MB / 499.3 MB, free: 15.01 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002828/0.4825, allocations: 2.956 MB / 0.4904 GB, free: 11.34 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.139e-05/0.4825, allocations: 16 kB / 0.4905 GB, free: 11.33 MB / 430.1 MB Notification: Performance of matching and sorting (n=308) (initialization): time 0.004333/0.4869, allocations: 3.012 MB / 0.4934 GB, free: 8.309 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.865e-05/0.4869, allocations: 24 kB / 0.4934 GB, free: 8.285 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.523e-05/0.487, allocations: 56.12 kB / 0.4935 GB, free: 8.23 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.626e-05/0.487, allocations: 68 kB / 0.4935 GB, free: 8.164 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001592/0.4886, allocations: 0.5772 MB / 0.4941 GB, free: 7.586 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.612e-05/0.4887, allocations: 103.5 kB / 0.4942 GB, free: 7.484 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00195/0.4907, allocations: 400.3 kB / 0.4946 GB, free: 7.09 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001919/0.4909, allocations: 148 kB / 0.4947 GB, free: 6.945 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.002608/0.4935, allocations: 1.73 MB / 0.4964 GB, free: 5.203 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002176/0.4937, allocations: 134.2 kB / 0.4965 GB, free: 5.07 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004055/0.4941, allocations: 251 kB / 0.4968 GB, free: 4.816 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001057/0.4943, allocations: 89.66 kB / 0.4969 GB, free: 4.723 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.404e-06/0.4943, allocations: 3.938 kB / 0.4969 GB, free: 4.719 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.4943, allocations: 0 / 0.4969 GB, free: 4.719 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00432/0.4986, allocations: 3.052 MB / 0.4998 GB, free: 1.609 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.304e-06/0.4986, allocations: 7.938 kB / 0.4999 GB, free: 1.602 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.644e-05/0.4987, allocations: 11.98 kB / 0.4999 GB, free: 1.59 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.907e-06/0.4987, allocations: 0 / 0.4999 GB, free: 1.59 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.276e-05/0.4987, allocations: 4 kB / 0.4999 GB, free: 1.586 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.986e-06/0.4987, allocations: 0 / 0.4999 GB, free: 1.586 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.4987, allocations: 0 / 0.4999 GB, free: 1.586 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004217/0.4992, allocations: 370.5 kB / 0.5002 GB, free: 1.203 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003451/0.4995, allocations: 227.3 kB / 0.5004 GB, free: 0.9609 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001268/0.4997, allocations: 0 / 0.5004 GB, free: 0.9609 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004562/0.5001, allocations: 31.95 kB / 0.5005 GB, free: 0.9297 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.76e-05/0.5002, allocations: 4 kB / 0.5005 GB, free: 0.9258 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.185e-06/0.5002, allocations: 0 / 0.5005 GB, free: 0.9258 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001723/0.5019, allocations: 1.404 MB / 0.5018 GB, free: 15.53 MB / 446.1 MB Notification: Performance of sort global known variables: time 3.3e-07/0.5019, allocations: 0 / 0.5018 GB, free: 15.53 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002518/0.5044, allocations: 0.9863 MB / 0.5028 GB, free: 14.54 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.0002384/0.5047, allocations: 143.2 kB / 0.5029 GB, free: 14.39 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001977/0.5067, allocations: 1.473 MB / 0.5044 GB, free: 12.92 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.5067, allocations: 1 kB / 0.5044 GB, free: 12.92 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 5.93e-05/0.5068, allocations: 35.98 kB / 0.5044 GB, free: 12.89 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001488/0.5083, allocations: 344.6 kB / 0.5047 GB, free: 12.55 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008996/0.5173, allocations: 6.059 MB / 0.5107 GB, free: 6.461 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002674/0.52, allocations: 3.136 MB / 0.5137 GB, free: 3.297 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001775/0.5218, allocations: 0.7944 MB / 0.5145 GB, free: 2.496 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001956/0.522, allocations: 99.42 kB / 0.5146 GB, free: 2.398 MB / 446.1 MB Notification: Performance of SimCode: time 1.483e-06/0.522, allocations: 0 / 0.5146 GB, free: 2.398 MB / 446.1 MB Notification: Performance of Templates: time 0.03235/0.5543, allocations: 17.96 MB / 0.5321 GB, free: 420 kB / 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)