Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Generic.Network.NetworkOpened.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(PowerSystems.Examples.Generic.Network.NetworkOpened,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Network.NetworkOpened") translateModel(PowerSystems.Examples.Generic.Network.NetworkOpened,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Network.NetworkOpened") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001076/0.001076, allocations: 105.2 kB / 17.74 MB, free: 5.352 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.001015/0.001015, allocations: 186.5 kB / 18.68 MB, free: 4.426 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.296/1.296, allocations: 222.9 MB / 242.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1816/0.1816, allocations: 38.04 MB / 330.6 MB, free: 8.703 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001686/0.001686, allocations: 59.91 kB / 458.8 MB, free: 6.852 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3379/0.3396, allocations: 58.07 MB / 0.5048 GB, free: 7.824 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkOpened): time 0.007848/0.3475, allocations: 7.666 MB / 0.5123 GB, free: 2.457 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.006042/0.3536, allocations: 4.748 MB / 0.5169 GB, free: 15.12 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006717/0.3543, allocations: 13.22 kB / 0.5169 GB, free: 15.12 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002992/0.3573, allocations: 1.076 MB / 0.518 GB, free: 14.46 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003465/0.3608, allocations: 1.282 MB / 0.5192 GB, free: 13.79 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001098/0.3619, allocations: 363.5 kB / 0.5196 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002197/0.3641, allocations: 1.466 MB / 0.521 GB, free: 13.02 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009079/0.365, allocations: 0.6695 MB / 0.5216 GB, free: 12.73 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009967/0.366, allocations: 0.6465 MB / 0.5223 GB, free: 12.43 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009687/0.367, allocations: 0.701 MB / 0.523 GB, free: 12.15 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001087/0.3671, allocations: 65.97 kB / 0.523 GB, free: 12.15 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002844/0.37, allocations: 1.432 MB / 0.5244 GB, free: 11.56 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006236/0.3706, allocations: 498.7 kB / 0.5249 GB, free: 11.41 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005267/0.3711, allocations: 456.9 kB / 0.5253 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002589/0.3737, allocations: 1.544 MB / 0.5268 GB, free: 10.62 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.3737, allocations: 2.062 kB / 0.5268 GB, free: 10.62 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.3738, allocations: 4 kB / 0.5268 GB, free: 10.61 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.844e-05/0.3738, allocations: 0 / 0.5268 GB, free: 10.61 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 212 * Number of variables: 212 Notification: Performance of Generate backend data structure: time 0.001858/0.3756, allocations: 1.191 MB / 0.528 GB, free: 9.758 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.169e-05/0.3757, allocations: 13.27 kB / 0.528 GB, free: 9.754 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003373/0.3791, allocations: 410.3 kB / 0.5284 GB, free: 9.691 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008037/0.3799, allocations: 0.5006 MB / 0.5289 GB, free: 9.336 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.096e-05/0.38, allocations: 57.73 kB / 0.529 GB, free: 9.312 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001444/0.3801, allocations: 72.92 kB / 0.529 GB, free: 9.289 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00198/0.3821, allocations: 1.233 MB / 0.5302 GB, free: 8.754 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.863e-05/0.3821, allocations: 6.047 kB / 0.5302 GB, free: 8.75 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.877e-05/0.3822, allocations: 30.92 kB / 0.5303 GB, free: 8.727 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.744e-05/0.3823, allocations: 77.89 kB / 0.5303 GB, free: 8.707 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001881/0.3842, allocations: 1.31 MB / 0.5316 GB, free: 8.094 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005607/0.3898, allocations: 3.685 MB / 0.5352 GB, free: 5.559 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001854/0.3917, allocations: 1.087 MB / 0.5363 GB, free: 5 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000904/0.3926, allocations: 0.6429 MB / 0.5369 GB, free: 4.672 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.494e-05/0.3927, allocations: 22.78 kB / 0.5369 GB, free: 4.66 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.72e-05/0.3927, allocations: 44.09 kB / 0.537 GB, free: 4.613 MB / 398.1 MB Notification: Performance of pre-optimization done (n=92): time 2.675e-06/0.3928, allocations: 0 / 0.537 GB, free: 4.613 MB / 398.1 MB Notification: Performance of matching and sorting (n=93): time 0.006929/0.3997, allocations: 3.164 MB / 0.5401 GB, free: 2.918 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.833e-05/0.3998, allocations: 87.98 kB / 0.5401 GB, free: 2.82 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004337/0.4002, allocations: 381.4 kB / 0.5405 GB, free: 2.582 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 6.348e-05/0.4003, allocations: 42.02 kB / 0.5405 GB, free: 2.539 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002109/0.4005, allocations: 332.8 kB / 0.5409 GB, free: 2.242 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002997/0.4008, allocations: 341 kB / 0.5412 GB, free: 1.945 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002633/0.4011, allocations: 157.9 kB / 0.5413 GB, free: 1.855 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001492/0.4012, allocations: 374.9 kB / 0.5417 GB, free: 1.496 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006955/0.4019, allocations: 464.5 kB / 0.5421 GB, free: 1.277 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008014/0.4027, allocations: 0.5752 MB / 0.5427 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001862/0.4046, allocations: 1.12 MB / 0.5438 GB, free: 264 kB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.264e-06/0.4046, allocations: 4 kB / 0.5438 GB, free: 260 kB / 398.1 MB Notification: Performance of matching and sorting (n=109) (initialization): time 0.002465/0.4071, allocations: 1.477 MB / 0.5452 GB, free: 14.77 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.21e-05/0.4071, allocations: 8 kB / 0.5452 GB, free: 14.76 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.023e-05/0.4071, allocations: 4 kB / 0.5453 GB, free: 14.75 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000937/0.4081, allocations: 336.8 kB / 0.5456 GB, free: 14.42 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006693/0.4088, allocations: 183.7 kB / 0.5457 GB, free: 14.24 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005299/0.4141, allocations: 4.182 MB / 0.5498 GB, free: 9.895 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004866/0.4146, allocations: 51.94 kB / 0.5499 GB, free: 9.844 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.531e-05/0.4147, allocations: 40.05 kB / 0.5499 GB, free: 9.805 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (82): * Single equations (assignments): 81 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,26,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000435/0.4151, allocations: 301.5 kB / 0.5502 GB, free: 9.5 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001245/0.4153, allocations: 63.62 kB / 0.5503 GB, free: 9.438 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002581/0.4178, allocations: 1.551 MB / 0.5518 GB, free: 7.871 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.212e-05/0.4179, allocations: 3.984 kB / 0.5518 GB, free: 7.867 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.025e-06/0.4179, allocations: 0 / 0.5518 GB, free: 7.867 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001519/0.418, allocations: 144.7 kB / 0.5519 GB, free: 7.707 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.996e-05/0.4181, allocations: 16 kB / 0.5519 GB, free: 7.691 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004066/0.4186, allocations: 43.94 kB / 0.552 GB, free: 7.648 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001657/0.4187, allocations: 84.86 kB / 0.5521 GB, free: 7.566 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002961/0.4217, allocations: 1.708 MB / 0.5537 GB, free: 5.848 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00234/0.424, allocations: 1.92 MB / 0.5556 GB, free: 3.906 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006735/0.4247, allocations: 0.523 MB / 0.5561 GB, free: 3.387 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002713/0.425, allocations: 263.1 kB / 0.5564 GB, free: 3.129 MB / 414.1 MB Notification: Performance of Backend: time 5.31e-07/0.425, allocations: 0 / 0.5564 GB, free: 3.129 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.00362/0.4286, allocations: 1.618 MB / 0.5579 GB, free: 1.492 MB / 414.1 MB Notification: Performance of SimCode: time 0.002577/0.4312, allocations: 2.02 MB / 0.5599 GB, free: 15.42 MB / 430.1 MB Notification: Performance of Templates: time 0.02576/0.457, allocations: 16.67 MB / 0.5762 GB, free: 14.74 MB / 446.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.Generic.Network.NetworkOpened.makefile (rm -f PowerSystems_PowerSystems.Examples.Generic.Network.NetworkOpened.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Generic.Network.NetworkOpened.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Generic.Network.NetworkOpened.pipe >> ../files/PowerSystems_PowerSystems.Examples.Generic.Network.NetworkOpened.sim & ./PowerSystems_PowerSystems.Examples.Generic.Network.NetworkOpened -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Generic.Network.NetworkOpened.pipe 2>&1)