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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001347/0.001347, allocations: 112 kB / 20.43 MB, free: 1.449 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002032/0.002032, allocations: 187.8 kB / 23.72 MB, free: 4.68 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.546/1.546, allocations: 225.6 MB / 252.5 MB, free: 13.01 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.2252/0.2252, allocations: 38.53 MB / 346.3 MB, free: 2.074 MB / 270.1 MB " [Timeout remaining time 179] 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=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: Performance of FrontEnd - loaded program: time 0.002404/0.002404, allocations: 71.88 kB / 484.5 MB, free: 11.14 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.335/0.3374, allocations: 61.29 MB / 0.533 GB, free: 5.793 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkOpened): time 0.008666/0.3461, allocations: 7.865 MB / 0.5407 GB, free: 15.86 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.007055/0.3532, allocations: 4.812 MB / 0.5454 GB, free: 12.02 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003586/0.3535, allocations: 17.59 kB / 0.5454 GB, free: 12.01 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002893/0.3564, allocations: 1.119 MB / 0.5465 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002737/0.3592, allocations: 1.283 MB / 0.5478 GB, free: 10.16 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009833/0.3601, allocations: 361.9 kB / 0.5481 GB, free: 9.895 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001857/0.362, allocations: 1.473 MB / 0.5496 GB, free: 9.098 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007625/0.3628, allocations: 459.2 kB / 0.55 GB, free: 8.816 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001126/0.3639, allocations: 0.6558 MB / 0.5506 GB, free: 8.43 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001056/0.3649, allocations: 0.7735 MB / 0.5514 GB, free: 7.969 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001018/0.365, allocations: 66.16 kB / 0.5514 GB, free: 7.969 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002778/0.3678, allocations: 1.478 MB / 0.5529 GB, free: 7.133 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005442/0.3684, allocations: 0.4961 MB / 0.5534 GB, free: 6.828 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005524/0.3689, allocations: 460.4 kB / 0.5538 GB, free: 6.539 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002594/0.3715, allocations: 1.548 MB / 0.5553 GB, free: 5.422 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.93e-06/0.3715, allocations: 0 / 0.5553 GB, free: 5.422 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.3715, allocations: 0 / 0.5553 GB, free: 5.422 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.272e-05/0.3715, allocations: 0 / 0.5553 GB, free: 5.422 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.0021/0.3736, allocations: 1.117 MB / 0.5564 GB, free: 4.27 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.317e-05/0.3737, allocations: 8.031 kB / 0.5564 GB, free: 4.262 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003524/0.3772, allocations: 419.8 kB / 0.5568 GB, free: 3.852 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001048/0.3783, allocations: 441.7 kB / 0.5572 GB, free: 3.391 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.649e-05/0.3783, allocations: 58.36 kB / 0.5573 GB, free: 3.336 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001484/0.3785, allocations: 76.36 kB / 0.5574 GB, free: 3.262 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002139/0.3806, allocations: 1.231 MB / 0.5586 GB, free: 2.004 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.29e-05/0.3806, allocations: 3.953 kB / 0.5586 GB, free: 2 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.866e-05/0.3807, allocations: 31.98 kB / 0.5586 GB, free: 1.969 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001206/0.3808, allocations: 77.95 kB / 0.5587 GB, free: 1.895 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002164/0.383, allocations: 1.312 MB / 0.56 GB, free: 0.582 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006351/0.3894, allocations: 3.598 MB / 0.5635 GB, free: 12.89 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001906/0.3913, allocations: 1.015 MB / 0.5645 GB, free: 11.85 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000885/0.3922, allocations: 0.5861 MB / 0.565 GB, free: 11.26 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.824e-05/0.3922, allocations: 21.12 kB / 0.5651 GB, free: 11.24 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.021e-05/0.3923, allocations: 43.56 kB / 0.5651 GB, free: 11.19 MB / 414.1 MB Notification: Performance of pre-optimization done (n=92): time 3.056e-06/0.3923, allocations: 0 / 0.5651 GB, free: 11.19 MB / 414.1 MB Notification: Performance of matching and sorting (n=93): time 0.007446/0.3997, allocations: 3.072 MB / 0.5681 GB, free: 8.105 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.887e-05/0.3998, allocations: 90.11 kB / 0.5682 GB, free: 8 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000497/0.4003, allocations: 381.5 kB / 0.5686 GB, free: 7.621 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 6.706e-05/0.4004, allocations: 37.7 kB / 0.5686 GB, free: 7.578 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002737/0.4006, allocations: 328.9 kB / 0.5689 GB, free: 7.25 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003283/0.401, allocations: 337.1 kB / 0.5692 GB, free: 6.918 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002753/0.4012, allocations: 162.7 kB / 0.5694 GB, free: 6.754 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001952/0.4014, allocations: 366.8 kB / 0.5697 GB, free: 6.387 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007667/0.4022, allocations: 469.7 kB / 0.5702 GB, free: 5.926 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008505/0.4031, allocations: 0.5704 MB / 0.5707 GB, free: 5.324 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001708/0.4048, allocations: 1.118 MB / 0.5718 GB, free: 4.172 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/0.4048, allocations: 0 / 0.5718 GB, free: 4.172 MB / 414.1 MB Notification: Performance of matching and sorting (n=109) (initialization): time 0.002797/0.4076, allocations: 1.473 MB / 0.5733 GB, free: 2.691 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.638e-05/0.4076, allocations: 11.94 kB / 0.5733 GB, free: 2.68 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.249e-05/0.4076, allocations: 8.156 kB / 0.5733 GB, free: 2.672 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001064/0.4087, allocations: 333.3 kB / 0.5736 GB, free: 2.344 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007804/0.4094, allocations: 183.7 kB / 0.5738 GB, free: 2.164 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006172/0.4156, allocations: 4.076 MB / 0.5778 GB, free: 13.95 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006917/0.4163, allocations: 48.02 kB / 0.5778 GB, free: 13.9 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.454e-05/0.4164, allocations: 35.98 kB / 0.5778 GB, free: 13.87 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.0005627/0.417, allocations: 301.5 kB / 0.5781 GB, free: 13.56 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001337/0.4171, allocations: 59.62 kB / 0.5782 GB, free: 13.5 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002911/0.42, allocations: 1.543 MB / 0.5797 GB, free: 11.95 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.179e-05/0.42, allocations: 8 kB / 0.5797 GB, free: 11.94 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.094e-05/0.42, allocations: 4 kB / 0.5797 GB, free: 11.93 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.319e-05/0.42, allocations: 11.97 kB / 0.5797 GB, free: 11.92 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.005549/0.4256, allocations: 2.968 MB / 0.5826 GB, free: 8.832 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.027e-06/0.4256, allocations: 4 kB / 0.5826 GB, free: 8.828 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006617/0.4263, allocations: 159.8 kB / 0.5828 GB, free: 8.672 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008703/0.4271, allocations: 292.9 kB / 0.583 GB, free: 8.383 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.283e-05/0.4272, allocations: 23.98 kB / 0.5831 GB, free: 8.359 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005608/0.4328, allocations: 3.791 MB / 0.5868 GB, free: 4.441 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.472e-06/0.4328, allocations: 4 kB / 0.5868 GB, free: 4.438 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002794/0.4356, allocations: 1.575 MB / 0.5883 GB, free: 2.801 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002205/0.4358, allocations: 75.56 kB / 0.5884 GB, free: 2.727 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001168/0.4359, allocations: 24 kB / 0.5884 GB, free: 2.703 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005069/0.4365, allocations: 43.95 kB / 0.5885 GB, free: 2.66 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001652/0.4366, allocations: 92.7 kB / 0.5885 GB, free: 2.57 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.795e-05/0.4367, allocations: 32 kB / 0.5886 GB, free: 2.539 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003611/0.4371, allocations: 267.1 kB / 0.5888 GB, free: 2.277 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4371, allocations: 0 / 0.5888 GB, free: 2.277 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001204/0.4383, allocations: 316 kB / 0.5891 GB, free: 1.969 MB / 430.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.0002203/0.4385, allocations: 123 kB / 0.5892 GB, free: 1.84 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002457/0.4409, allocations: 1.335 MB / 0.5905 GB, free: 0.4922 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.879e-06/0.4409, allocations: 0 / 0.5905 GB, free: 0.4922 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001381/0.4423, allocations: 0.7968 MB / 0.5913 GB, free: 15.69 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007602/0.4431, allocations: 114.4 kB / 0.5914 GB, free: 15.58 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00344/0.4465, allocations: 1.832 MB / 0.5932 GB, free: 13.67 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00101/0.4475, allocations: 1.079 MB / 0.5943 GB, free: 12.56 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0004982/0.448, allocations: 188.7 kB / 0.5945 GB, free: 12.38 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002432/0.4483, allocations: 63.41 kB / 0.5945 GB, free: 12.31 MB / 446.1 MB Notification: Performance of SimCode: time 1.082e-06/0.4483, allocations: 0 / 0.5945 GB, free: 12.31 MB / 446.1 MB Notification: Performance of Templates: time 0.02215/0.4704, allocations: 11.33 MB / 0.6056 GB, free: 0.9922 MB / 446.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: 5.591753805987537] Failed to read output from testmodel.py, exit status != 0: 0.4803922697901726 0.49605362000000003 0.12108597500000001 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7ffa7486d7b0>