Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop.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.001467/0.001467, allocations: 103.6 kB / 21.19 MB, free: 0.5156 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.001785/0.001785, allocations: 209.2 kB / 24.48 MB, free: 3.836 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.447/1.447, allocations: 230.6 MB / 258.2 MB, free: 7.809 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.186/0.186, allocations: 38.57 MB / 353.2 MB, free: 12.33 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.NetworkLoop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop") translateModel(PowerSystems.Examples.Generic.Network.NetworkLoop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop") [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.002156/0.002156, allocations: 63.89 kB / 493.7 MB, free: 4.219 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3086/0.3108, allocations: 62.47 MB / 0.5432 GB, free: 448 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop): time 0.008664/0.3194, allocations: 7.026 MB / 0.55 GB, free: 11.06 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00671/0.3261, allocations: 4.107 MB / 0.554 GB, free: 7.891 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004702/0.3266, allocations: 16.78 kB / 0.5541 GB, free: 7.887 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002839/0.3294, allocations: 1.028 MB / 0.5551 GB, free: 7.109 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003136/0.3326, allocations: 1.215 MB / 0.5562 GB, free: 6.172 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009756/0.3335, allocations: 317.7 kB / 0.5565 GB, free: 5.934 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001844/0.3354, allocations: 1.401 MB / 0.5579 GB, free: 5.121 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008817/0.3363, allocations: 0.509 MB / 0.5584 GB, free: 4.605 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001154/0.3374, allocations: 0.642 MB / 0.559 GB, free: 3.961 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001044/0.3385, allocations: 0.7124 MB / 0.5597 GB, free: 3.246 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001191/0.3386, allocations: 60 kB / 0.5598 GB, free: 3.188 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002425/0.341, allocations: 1.122 MB / 0.5609 GB, free: 2.062 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005419/0.3416, allocations: 486.7 kB / 0.5614 GB, free: 1.586 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000462/0.342, allocations: 382.4 kB / 0.5617 GB, free: 1.211 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002372/0.3444, allocations: 1.464 MB / 0.5631 GB, free: 15.74 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.3444, allocations: 0 / 0.5631 GB, free: 15.74 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.294e-06/0.3444, allocations: 0 / 0.5631 GB, free: 15.74 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.918e-05/0.3444, allocations: 0 / 0.5631 GB, free: 15.74 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: 203 * Number of variables: 203 Notification: Performance of Generate backend data structure: time 0.001785/0.3462, allocations: 1.074 MB / 0.5642 GB, free: 14.63 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.336e-05/0.3462, allocations: 15.98 kB / 0.5642 GB, free: 14.62 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003082/0.3493, allocations: 403.8 kB / 0.5646 GB, free: 14.22 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009655/0.3503, allocations: 425.7 kB / 0.565 GB, free: 13.78 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.174e-05/0.3504, allocations: 54.36 kB / 0.5651 GB, free: 13.73 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001381/0.3505, allocations: 72.36 kB / 0.5651 GB, free: 13.66 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001918/0.3524, allocations: 1.176 MB / 0.5663 GB, free: 12.45 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.99e-05/0.3524, allocations: 0 / 0.5663 GB, free: 12.45 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.003e-05/0.3525, allocations: 31.98 kB / 0.5663 GB, free: 12.42 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000116/0.3526, allocations: 77.95 kB / 0.5664 GB, free: 12.35 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001982/0.3546, allocations: 1.233 MB / 0.5676 GB, free: 11.11 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005611/0.3602, allocations: 3.116 MB / 0.5706 GB, free: 7.922 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001729/0.362, allocations: 0.9757 MB / 0.5716 GB, free: 6.93 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009266/0.3629, allocations: 0.5939 MB / 0.5722 GB, free: 6.332 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.275e-05/0.3629, allocations: 20.98 kB / 0.5722 GB, free: 6.309 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.799e-05/0.363, allocations: 39.56 kB / 0.5722 GB, free: 6.262 MB / 414.1 MB Notification: Performance of pre-optimization done (n=91): time 3.386e-06/0.363, allocations: 0 / 0.5722 GB, free: 6.262 MB / 414.1 MB Notification: Performance of matching and sorting (n=92): time 0.006732/0.3697, allocations: 3.016 MB / 0.5752 GB, free: 3.238 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.382e-05/0.3698, allocations: 98.03 kB / 0.5753 GB, free: 3.125 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004349/0.3702, allocations: 353.6 kB / 0.5756 GB, free: 2.773 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 6.593e-05/0.3703, allocations: 37.7 kB / 0.5756 GB, free: 2.73 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000232/0.3705, allocations: 320.9 kB / 0.5759 GB, free: 2.41 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003177/0.3708, allocations: 333.1 kB / 0.5762 GB, free: 2.082 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002487/0.3711, allocations: 158.7 kB / 0.5764 GB, free: 1.922 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001946/0.3713, allocations: 366.8 kB / 0.5767 GB, free: 1.555 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007191/0.372, allocations: 469.7 kB / 0.5772 GB, free: 1.094 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008296/0.3728, allocations: 0.5696 MB / 0.5778 GB, free: 0.4961 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001673/0.3745, allocations: 1.113 MB / 0.5788 GB, free: 15.35 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/0.3745, allocations: 0 / 0.5788 GB, free: 15.35 MB / 430.1 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.002663/0.3772, allocations: 1.466 MB / 0.5803 GB, free: 13.88 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.16e-05/0.3772, allocations: 4 kB / 0.5803 GB, free: 13.87 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.445e-05/0.3772, allocations: 8 kB / 0.5803 GB, free: 13.86 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009814/0.3782, allocations: 340.8 kB / 0.5806 GB, free: 13.53 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007279/0.3789, allocations: 179.7 kB / 0.5808 GB, free: 13.35 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00582/0.3847, allocations: 3.876 MB / 0.5846 GB, free: 9.379 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006055/0.3853, allocations: 43.95 kB / 0.5846 GB, free: 9.336 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.225e-05/0.3854, allocations: 39.92 kB / 0.5846 GB, free: 9.297 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (80): * Single equations (assignments): 79 * 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.0005112/0.3859, allocations: 301.6 kB / 0.5849 GB, free: 8.992 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001308/0.3861, allocations: 59.62 kB / 0.585 GB, free: 8.934 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002771/0.3888, allocations: 1.555 MB / 0.5865 GB, free: 7.363 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.312e-05/0.3889, allocations: 8 kB / 0.5865 GB, free: 7.355 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.917e-06/0.3889, allocations: 4 kB / 0.5865 GB, free: 7.352 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.319e-05/0.3889, allocations: 11.98 kB / 0.5865 GB, free: 7.34 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.005122/0.394, allocations: 2.661 MB / 0.5891 GB, free: 4.594 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.618e-06/0.394, allocations: 7.938 kB / 0.5891 GB, free: 4.586 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000644/0.3947, allocations: 167.8 kB / 0.5893 GB, free: 4.422 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008255/0.3955, allocations: 281.5 kB / 0.5896 GB, free: 4.145 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.47e-05/0.3955, allocations: 27.98 kB / 0.5896 GB, free: 4.117 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005358/0.4009, allocations: 3.674 MB / 0.5932 GB, free: 348 kB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.973e-06/0.4009, allocations: 7.938 kB / 0.5932 GB, free: 340 kB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00268/0.4036, allocations: 1.587 MB / 0.5947 GB, free: 14.68 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001905/0.4038, allocations: 75.53 kB / 0.5948 GB, free: 14.61 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.069e-05/0.4039, allocations: 20 kB / 0.5948 GB, free: 14.59 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004364/0.4043, allocations: 39.97 kB / 0.5949 GB, free: 14.55 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001711/0.4045, allocations: 84.72 kB / 0.5949 GB, free: 14.47 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.774e-05/0.4046, allocations: 39.98 kB / 0.595 GB, free: 14.43 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002951/0.4048, allocations: 247.2 kB / 0.5952 GB, free: 14.19 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4049, allocations: 4 kB / 0.5952 GB, free: 14.18 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0009989/0.4058, allocations: 304 kB / 0.5955 GB, free: 13.89 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.0001849/0.406, allocations: 136.4 kB / 0.5956 GB, free: 13.75 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002255/0.4083, allocations: 1.346 MB / 0.597 GB, free: 12.39 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.987e-06/0.4083, allocations: 0 / 0.597 GB, free: 12.39 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001259/0.4096, allocations: 0.7892 MB / 0.5977 GB, free: 11.59 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007067/0.4103, allocations: 114 kB / 0.5978 GB, free: 11.48 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003102/0.4134, allocations: 1.896 MB / 0.5997 GB, free: 9.5 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005878/0.4139, allocations: 472.8 kB / 0.6001 GB, free: 9.012 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002561/0.4142, allocations: 75.39 kB / 0.6002 GB, free: 8.938 MB / 446.1 MB Notification: Performance of SimCode: time 8.42e-07/0.4142, allocations: 0 / 0.6002 GB, free: 8.938 MB / 446.1 MB Notification: Performance of Templates: time 0.01983/0.434, allocations: 12.77 MB / 0.6127 GB, free: 12.15 MB / 462.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop.pipe >> ../files/PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop.sim & ./PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.651177774183452] Failed to read output from testmodel.py, exit status != 0: 0.4436756167560816 0.461855579 0.11338803 Calling exit ...