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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001319/0.001319, allocations: 103.6 kB / 21.18 MB, free: 0.6445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00208/0.00208, allocations: 209 kB / 24.48 MB, free: 3.938 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.466/1.466, allocations: 230.6 MB / 258.2 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.188/0.188, allocations: 38.55 MB / 353.2 MB, free: 12.3 MB / 286.1 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.Generic.Network.NetworkOpened,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Network.NetworkOpened") translateModel(PowerSystems.Examples.Generic.Network.NetworkOpened,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Network.NetworkOpened") [Timeout 660] "Notification: PowerSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002185/0.002185, allocations: 67.89 kB / 493.7 MB, free: 4.191 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3428/0.345, allocations: 62.46 MB / 0.5432 GB, free: 408 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkOpened): time 0.009116/0.3541, allocations: 7.266 MB / 0.5503 GB, free: 10.85 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.006997/0.3611, allocations: 4.428 MB / 0.5546 GB, free: 7.434 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005227/0.3616, allocations: 20.5 kB / 0.5546 GB, free: 7.426 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002919/0.3645, allocations: 1.079 MB / 0.5557 GB, free: 6.613 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003502/0.368, allocations: 1.268 MB / 0.5569 GB, free: 5.637 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001136/0.3692, allocations: 367.2 kB / 0.5572 GB, free: 5.363 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002094/0.3713, allocations: 1.475 MB / 0.5587 GB, free: 4.281 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008319/0.3721, allocations: 0.5055 MB / 0.5592 GB, free: 3.77 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001216/0.3733, allocations: 0.6615 MB / 0.5598 GB, free: 3.105 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001182/0.3745, allocations: 0.7319 MB / 0.5605 GB, free: 2.371 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001294/0.3746, allocations: 68 kB / 0.5606 GB, free: 2.305 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002624/0.3773, allocations: 1.215 MB / 0.5618 GB, free: 1.086 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005864/0.3778, allocations: 0.4987 MB / 0.5623 GB, free: 0.5859 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004752/0.3783, allocations: 382.3 kB / 0.5626 GB, free: 216 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002541/0.3809, allocations: 1.55 MB / 0.5642 GB, free: 14.66 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.361e-06/0.3809, allocations: 0 / 0.5642 GB, free: 14.66 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.224e-06/0.3809, allocations: 0 / 0.5642 GB, free: 14.66 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.161e-05/0.3809, allocations: 0 / 0.5642 GB, free: 14.66 MB / 414.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.001818/0.3827, allocations: 1.117 MB / 0.5652 GB, free: 13.5 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.282e-05/0.3827, allocations: 11.98 kB / 0.5653 GB, free: 13.49 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003208/0.386, allocations: 419.8 kB / 0.5657 GB, free: 13.08 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001008/0.387, allocations: 449.7 kB / 0.5661 GB, free: 12.61 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.287e-05/0.387, allocations: 54.36 kB / 0.5661 GB, free: 12.56 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001448/0.3872, allocations: 72.36 kB / 0.5662 GB, free: 12.49 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00194/0.3891, allocations: 1.234 MB / 0.5674 GB, free: 11.23 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.757e-05/0.3891, allocations: 0 / 0.5674 GB, free: 11.23 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.429e-05/0.3892, allocations: 35.98 kB / 0.5674 GB, free: 11.2 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001209/0.3893, allocations: 73.95 kB / 0.5675 GB, free: 11.12 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002007/0.3913, allocations: 1.304 MB / 0.5688 GB, free: 9.816 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005755/0.3971, allocations: 3.287 MB / 0.572 GB, free: 6.445 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001824/0.3989, allocations: 1.004 MB / 0.573 GB, free: 5.422 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008429/0.3998, allocations: 0.5785 MB / 0.5735 GB, free: 4.84 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.946e-05/0.3998, allocations: 16.98 kB / 0.5736 GB, free: 4.82 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.271e-05/0.3999, allocations: 43.56 kB / 0.5736 GB, free: 4.77 MB / 414.1 MB Notification: Performance of pre-optimization done (n=92): time 3.176e-06/0.3999, allocations: 0 / 0.5736 GB, free: 4.77 MB / 414.1 MB Notification: Performance of matching and sorting (n=93): time 0.007119/0.407, allocations: 3.068 MB / 0.5766 GB, free: 1.691 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.796e-05/0.4071, allocations: 94.05 kB / 0.5767 GB, free: 1.582 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000552/0.4076, allocations: 365.6 kB / 0.577 GB, free: 1.219 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 8.119e-05/0.4077, allocations: 41.7 kB / 0.5771 GB, free: 1.172 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000269/0.408, allocations: 336.9 kB / 0.5774 GB, free: 0.8359 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003496/0.4083, allocations: 341 kB / 0.5777 GB, free: 0.5 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002576/0.4086, allocations: 158.6 kB / 0.5779 GB, free: 348 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000209/0.4088, allocations: 370.8 kB / 0.5782 GB, free: 15.97 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007286/0.4095, allocations: 469.7 kB / 0.5787 GB, free: 15.51 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008119/0.4103, allocations: 0.5704 MB / 0.5792 GB, free: 14.91 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00166/0.412, allocations: 1.114 MB / 0.5803 GB, free: 13.76 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.33e-06/0.412, allocations: 7.938 kB / 0.5803 GB, free: 13.75 MB / 430.1 MB Notification: Performance of matching and sorting (n=109) (initialization): time 0.002662/0.4147, allocations: 1.47 MB / 0.5818 GB, free: 12.27 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.373e-05/0.4147, allocations: 4 kB / 0.5818 GB, free: 12.27 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.189e-05/0.4147, allocations: 4.219 kB / 0.5818 GB, free: 12.27 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009927/0.4157, allocations: 340.5 kB / 0.5821 GB, free: 11.93 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007307/0.4164, allocations: 187.7 kB / 0.5823 GB, free: 11.75 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005681/0.4221, allocations: 3.869 MB / 0.5861 GB, free: 7.781 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005844/0.4227, allocations: 47.89 kB / 0.5861 GB, free: 7.734 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.48e-05/0.4228, allocations: 39.97 kB / 0.5861 GB, free: 7.695 MB / 430.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.0004615/0.4232, allocations: 301.5 kB / 0.5864 GB, free: 7.391 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001211/0.4234, allocations: 59.62 kB / 0.5865 GB, free: 7.332 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002793/0.4262, allocations: 1.54 MB / 0.588 GB, free: 5.777 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.043e-05/0.4262, allocations: 8 kB / 0.588 GB, free: 5.77 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.499e-05/0.4262, allocations: 15.92 kB / 0.588 GB, free: 5.754 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.045e-05/0.4262, allocations: 3.984 kB / 0.588 GB, free: 5.75 MB / 430.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005218/0.4314, allocations: 2.646 MB / 0.5906 GB, free: 3.02 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.738e-06/0.4314, allocations: 4 kB / 0.5906 GB, free: 3.016 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006285/0.432, allocations: 163.8 kB / 0.5908 GB, free: 2.855 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008295/0.4329, allocations: 281.8 kB / 0.591 GB, free: 2.578 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.094e-05/0.4329, allocations: 31.98 kB / 0.5911 GB, free: 2.547 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005281/0.4382, allocations: 3.652 MB / 0.5946 GB, free: 14.79 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.786e-06/0.4382, allocations: 11.94 kB / 0.5946 GB, free: 14.78 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002661/0.4409, allocations: 1.563 MB / 0.5962 GB, free: 13.15 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001848/0.4411, allocations: 67.61 kB / 0.5962 GB, free: 13.09 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.313e-05/0.4412, allocations: 23.98 kB / 0.5962 GB, free: 13.06 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004385/0.4416, allocations: 39.97 kB / 0.5963 GB, free: 13.02 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001568/0.4418, allocations: 88.72 kB / 0.5964 GB, free: 12.94 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.191e-05/0.4418, allocations: 39.98 kB / 0.5964 GB, free: 12.9 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003091/0.4422, allocations: 251.2 kB / 0.5966 GB, free: 12.65 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4422, allocations: 4 kB / 0.5966 GB, free: 12.65 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0009759/0.4431, allocations: 308 kB / 0.5969 GB, free: 12.35 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 simulation (82): * Single equations (assignments): 80 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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,24,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001818/0.4433, allocations: 129.4 kB / 0.5971 GB, free: 12.21 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002286/0.4456, allocations: 1.335 MB / 0.5984 GB, free: 10.87 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.877e-06/0.4456, allocations: 0 / 0.5984 GB, free: 10.87 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001275/0.4469, allocations: 0.7929 MB / 0.5991 GB, free: 10.07 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006887/0.4476, allocations: 105.2 kB / 0.5992 GB, free: 9.969 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003178/0.4507, allocations: 1.931 MB / 0.6011 GB, free: 7.953 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006178/0.4514, allocations: 0.4893 MB / 0.6016 GB, free: 7.438 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002536/0.4516, allocations: 67.41 kB / 0.6017 GB, free: 7.371 MB / 446.1 MB Notification: Performance of SimCode: time 9.92e-07/0.4516, allocations: 0 / 0.6017 GB, free: 7.371 MB / 446.1 MB Notification: Performance of Templates: time 0.02079/0.4724, allocations: 13.06 MB / 0.6144 GB, free: 10.29 MB / 462.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.Generic.Network.NetworkOpened.makefile [Timeout 660] (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) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.652263359166682] Failed to read output from testmodel.py, exit status != 0: 0.4821626590564847 0.497415032 0.11323345000000001 Calling exit ...