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.001304/0.001304, allocations: 112.2 kB / 21.19 MB, free: 0.7578 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.001433/0.001433, allocations: 209.8 kB / 24.5 MB, free: 4.133 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.383/1.383, allocations: 230.6 MB / 258.3 MB, free: 8.031 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.1766/0.1766, allocations: 38.53 MB / 353.2 MB, free: 12.62 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.002026/0.002026, allocations: 67.89 kB / 493.8 MB, free: 4.391 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2944/0.2964, allocations: 62.47 MB / 0.5432 GB, free: 0.6094 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkOpened): time 0.008997/0.3054, allocations: 7.866 MB / 0.5509 GB, free: 10.41 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00697/0.3124, allocations: 4.84 MB / 0.5556 GB, free: 6.543 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005151/0.3129, allocations: 26.03 kB / 0.5557 GB, free: 6.531 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002778/0.3157, allocations: 1.134 MB / 0.5568 GB, free: 5.66 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003062/0.3187, allocations: 1.262 MB / 0.558 GB, free: 4.688 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001063/0.3198, allocations: 371.1 kB / 0.5584 GB, free: 4.41 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002026/0.3218, allocations: 1.47 MB / 0.5598 GB, free: 3.48 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008619/0.3227, allocations: 0.5133 MB / 0.5603 GB, free: 2.961 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001259/0.3239, allocations: 0.6536 MB / 0.5609 GB, free: 2.305 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001245/0.3252, allocations: 0.7709 MB / 0.5617 GB, free: 1.531 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001606/0.3253, allocations: 75.98 kB / 0.5618 GB, free: 1.457 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002814/0.3281, allocations: 1.473 MB / 0.5632 GB, free: 15.98 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005866/0.3287, allocations: 0.5026 MB / 0.5637 GB, free: 15.48 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007108/0.3294, allocations: 449.9 kB / 0.5641 GB, free: 15.04 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002829/0.3323, allocations: 1.546 MB / 0.5656 GB, free: 13.48 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.3323, allocations: 0 / 0.5656 GB, free: 13.48 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.3323, allocations: 0 / 0.5656 GB, free: 13.48 MB / 414.1 MB Notification: Performance of Transformations before backend: time 3.533e-05/0.3323, allocations: 0 / 0.5656 GB, free: 13.48 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.002079/0.3344, allocations: 1.127 MB / 0.5667 GB, free: 12.32 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.663e-05/0.3344, allocations: 15.98 kB / 0.5667 GB, free: 12.31 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003299/0.3377, allocations: 411.8 kB / 0.5671 GB, free: 11.91 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009813/0.3387, allocations: 449.7 kB / 0.5676 GB, free: 11.44 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.145e-05/0.3388, allocations: 54.36 kB / 0.5676 GB, free: 11.39 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001692/0.3389, allocations: 76.31 kB / 0.5677 GB, free: 11.31 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00207/0.341, allocations: 1.231 MB / 0.5689 GB, free: 10.05 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.032e-05/0.341, allocations: 4 kB / 0.5689 GB, free: 10.05 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.951e-05/0.3411, allocations: 35.98 kB / 0.5689 GB, free: 10.02 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001032/0.3412, allocations: 73.95 kB / 0.569 GB, free: 9.945 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002121/0.3434, allocations: 1.312 MB / 0.5703 GB, free: 8.629 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005971/0.3493, allocations: 3.606 MB / 0.5738 GB, free: 4.926 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001807/0.3511, allocations: 1.016 MB / 0.5748 GB, free: 3.887 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008504/0.352, allocations: 0.5785 MB / 0.5753 GB, free: 3.305 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.289e-05/0.352, allocations: 13.16 kB / 0.5754 GB, free: 3.289 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.583e-05/0.3521, allocations: 39.56 kB / 0.5754 GB, free: 3.242 MB / 414.1 MB Notification: Performance of pre-optimization done (n=92): time 2.495e-06/0.3521, allocations: 4 kB / 0.5754 GB, free: 3.238 MB / 414.1 MB Notification: Performance of matching and sorting (n=93): time 0.007124/0.3592, allocations: 3.072 MB / 0.5784 GB, free: 164 kB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.427e-05/0.3593, allocations: 90.23 kB / 0.5785 GB, free: 56 kB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00047/0.3597, allocations: 377.6 kB / 0.5788 GB, free: 15.68 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.135e-05/0.3598, allocations: 41.7 kB / 0.5789 GB, free: 15.63 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002335/0.36, allocations: 332.8 kB / 0.5792 GB, free: 15.3 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003044/0.3603, allocations: 333.1 kB / 0.5795 GB, free: 14.97 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002535/0.3606, allocations: 162.6 kB / 0.5797 GB, free: 14.81 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001802/0.3608, allocations: 370.8 kB / 0.58 GB, free: 14.44 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007168/0.3615, allocations: 469.7 kB / 0.5805 GB, free: 13.98 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008128/0.3623, allocations: 0.5782 MB / 0.581 GB, free: 13.37 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001663/0.364, allocations: 1.122 MB / 0.5821 GB, free: 12.21 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/0.364, allocations: 4 kB / 0.5821 GB, free: 12.21 MB / 430.1 MB Notification: Performance of matching and sorting (n=109) (initialization): time 0.0026/0.3666, allocations: 1.466 MB / 0.5836 GB, free: 10.73 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.266e-05/0.3666, allocations: 10.8 kB / 0.5836 GB, free: 10.72 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.024e-05/0.3666, allocations: 4 kB / 0.5836 GB, free: 10.72 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001011/0.3676, allocations: 340.8 kB / 0.5839 GB, free: 10.38 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007056/0.3683, allocations: 183.7 kB / 0.5841 GB, free: 10.2 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005713/0.374, allocations: 4.062 MB / 0.5881 GB, free: 6.004 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005191/0.3746, allocations: 43.95 kB / 0.5881 GB, free: 5.961 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001013/0.3747, allocations: 39.98 kB / 0.5881 GB, free: 5.922 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.0004794/0.3751, allocations: 312.3 kB / 0.5884 GB, free: 5.609 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001362/0.3753, allocations: 67.62 kB / 0.5885 GB, free: 5.543 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002782/0.3781, allocations: 1.532 MB / 0.59 GB, free: 3.996 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.19e-05/0.3781, allocations: 12 kB / 0.59 GB, free: 3.984 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.707e-06/0.3781, allocations: 4 kB / 0.59 GB, free: 3.98 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.031e-05/0.3781, allocations: 11.92 kB / 0.59 GB, free: 3.969 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.005217/0.3833, allocations: 2.968 MB / 0.5929 GB, free: 0.8828 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.944e-06/0.3833, allocations: 8.062 kB / 0.5929 GB, free: 0.875 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006173/0.3839, allocations: 163.8 kB / 0.5931 GB, free: 0.7148 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007939/0.3847, allocations: 284.5 kB / 0.5934 GB, free: 444 kB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.458e-05/0.3848, allocations: 28 kB / 0.5934 GB, free: 416 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00517/0.39, allocations: 3.799 MB / 0.5971 GB, free: 12.48 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.899e-06/0.39, allocations: 4 kB / 0.5971 GB, free: 12.47 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00256/0.3925, allocations: 1.575 MB / 0.5986 GB, free: 10.83 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001627/0.3927, allocations: 63.61 kB / 0.5987 GB, free: 10.77 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.733e-05/0.3928, allocations: 20 kB / 0.5987 GB, free: 10.75 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004208/0.3932, allocations: 51.89 kB / 0.5988 GB, free: 10.7 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001423/0.3933, allocations: 80.8 kB / 0.5988 GB, free: 10.62 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.728e-05/0.3934, allocations: 35.98 kB / 0.5989 GB, free: 10.59 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003002/0.3937, allocations: 271.1 kB / 0.5991 GB, free: 10.32 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3937, allocations: 0 / 0.5991 GB, free: 10.32 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0009725/0.3947, allocations: 308 kB / 0.5994 GB, free: 10.02 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.0001833/0.3949, allocations: 127.1 kB / 0.5995 GB, free: 9.887 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002143/0.397, allocations: 1.331 MB / 0.6008 GB, free: 8.543 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/0.397, allocations: 0 / 0.6008 GB, free: 8.543 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00122/0.3982, allocations: 0.7927 MB / 0.6016 GB, free: 7.746 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006927/0.3989, allocations: 109.6 kB / 0.6017 GB, free: 7.641 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003036/0.402, allocations: 1.931 MB / 0.6036 GB, free: 5.621 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008103/0.4028, allocations: 1.083 MB / 0.6047 GB, free: 4.508 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002534/0.403, allocations: 67.41 kB / 0.6047 GB, free: 4.441 MB / 446.1 MB Notification: Performance of SimCode: time 7.61e-07/0.403, allocations: 0 / 0.6047 GB, free: 4.441 MB / 446.1 MB Notification: Performance of Templates: time 0.01833/0.4213, allocations: 12.79 MB / 0.6172 GB, free: 7.629 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.226961409207433] Failed to read output from testmodel.py, exit status != 0: 0.4308642791584134 0.44480955399999994 0.10925664599999994 Calling exit ...