Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.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.001816/0.001816, 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.002231/0.002231, 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.452/1.452, allocations: 230.6 MB / 258.2 MB, free: 7.746 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.1896/0.1896, allocations: 38.54 MB / 353.2 MB, free: 12.29 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_dq,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq") translateModel(PowerSystems.Examples.Generic.Network.NetworkLoop_dq,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq") [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.002203/0.002203, allocations: 67.89 kB / 493.8 MB, free: 4.156 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3034/0.3056, allocations: 62.46 MB / 0.5432 GB, free: 392 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop_dq): time 0.00874/0.3143, allocations: 7.03 MB / 0.55 GB, free: 11 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.006773/0.3211, allocations: 4.114 MB / 0.5541 GB, free: 7.824 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006572/0.3218, allocations: 20.41 kB / 0.5541 GB, free: 7.816 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002774/0.3245, allocations: 1.012 MB / 0.5551 GB, free: 7.055 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003266/0.3278, allocations: 1.216 MB / 0.5563 GB, free: 6.117 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009577/0.3288, allocations: 318.2 kB / 0.5566 GB, free: 5.879 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.00183/0.3306, allocations: 1.41 MB / 0.5579 GB, free: 5.031 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008734/0.3315, allocations: 0.509 MB / 0.5584 GB, free: 4.516 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001303/0.3328, allocations: 0.6302 MB / 0.559 GB, free: 3.883 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001104/0.3339, allocations: 0.7086 MB / 0.5597 GB, free: 3.172 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001197/0.334, allocations: 64 kB / 0.5598 GB, free: 3.109 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002292/0.3363, allocations: 1.13 MB / 0.5609 GB, free: 1.977 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005492/0.3368, allocations: 486.7 kB / 0.5614 GB, free: 1.5 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004605/0.3373, allocations: 370.4 kB / 0.5617 GB, free: 1.137 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00238/0.3397, allocations: 1.476 MB / 0.5632 GB, free: 15.66 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/0.3397, allocations: 0 / 0.5632 GB, free: 15.66 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.3397, allocations: 0 / 0.5632 GB, free: 15.66 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.231e-05/0.3397, allocations: 0 / 0.5632 GB, free: 15.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: 203 * Number of variables: 203 Notification: Performance of Generate backend data structure: time 0.00173/0.3414, allocations: 1.074 MB / 0.5642 GB, free: 14.55 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.68e-05/0.3415, allocations: 11.98 kB / 0.5642 GB, free: 14.54 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002991/0.3444, allocations: 399.8 kB / 0.5646 GB, free: 14.14 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009113/0.3454, allocations: 429.7 kB / 0.565 GB, free: 13.7 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.185e-05/0.3454, allocations: 54.36 kB / 0.5651 GB, free: 13.64 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000144/0.3456, allocations: 76.36 kB / 0.5651 GB, free: 13.57 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00189/0.3474, allocations: 1.184 MB / 0.5663 GB, free: 12.36 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.009e-05/0.3475, allocations: 7.922 kB / 0.5663 GB, free: 12.35 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.91e-05/0.3476, allocations: 28 kB / 0.5663 GB, free: 12.32 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001023/0.3477, allocations: 65.97 kB / 0.5664 GB, free: 12.26 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001919/0.3496, allocations: 1.233 MB / 0.5676 GB, free: 11.02 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00553/0.3551, allocations: 3.116 MB / 0.5706 GB, free: 7.836 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001698/0.3568, allocations: 0.9874 MB / 0.5716 GB, free: 6.832 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008768/0.3577, allocations: 0.5901 MB / 0.5722 GB, free: 6.238 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.682e-05/0.3578, allocations: 16.98 kB / 0.5722 GB, free: 6.219 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.218e-05/0.3578, allocations: 43.56 kB / 0.5722 GB, free: 6.168 MB / 414.1 MB Notification: Performance of pre-optimization done (n=91): time 3.356e-06/0.3578, allocations: 0 / 0.5722 GB, free: 6.168 MB / 414.1 MB Notification: Performance of matching and sorting (n=92): time 0.006775/0.3646, allocations: 3.013 MB / 0.5752 GB, free: 3.145 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.661e-05/0.3646, allocations: 86.11 kB / 0.5753 GB, free: 3.043 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004475/0.3651, allocations: 357.7 kB / 0.5756 GB, free: 2.688 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 6.184e-05/0.3651, allocations: 41.7 kB / 0.5756 GB, free: 2.641 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002384/0.3654, allocations: 316.9 kB / 0.5759 GB, free: 2.324 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003214/0.3657, allocations: 333.1 kB / 0.5763 GB, free: 1.996 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002491/0.366, allocations: 154.6 kB / 0.5764 GB, free: 1.84 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002009/0.3662, allocations: 366.8 kB / 0.5768 GB, free: 1.473 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000707/0.3669, allocations: 465.7 kB / 0.5772 GB, free: 1.016 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008271/0.3677, allocations: 0.5773 MB / 0.5778 GB, free: 420 kB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001661/0.3694, allocations: 1.109 MB / 0.5789 GB, free: 15.27 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/0.3694, allocations: 0 / 0.5789 GB, free: 15.27 MB / 430.1 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.00259/0.3719, allocations: 1.47 MB / 0.5803 GB, free: 13.79 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.266e-05/0.372, allocations: 10.81 kB / 0.5803 GB, free: 13.78 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.797e-06/0.372, allocations: 4.188 kB / 0.5803 GB, free: 13.78 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009894/0.373, allocations: 332.6 kB / 0.5806 GB, free: 13.45 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006997/0.3737, allocations: 183.7 kB / 0.5808 GB, free: 13.27 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005674/0.3793, allocations: 3.878 MB / 0.5846 GB, free: 9.297 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005582/0.3799, allocations: 47.95 kB / 0.5846 GB, free: 9.25 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.234e-05/0.38, allocations: 35.92 kB / 0.5847 GB, free: 9.215 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.0004783/0.3804, allocations: 295.5 kB / 0.5849 GB, free: 8.918 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001279/0.3806, allocations: 59.62 kB / 0.585 GB, free: 8.859 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002771/0.3833, allocations: 1.555 MB / 0.5865 GB, free: 7.289 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.312e-05/0.3834, allocations: 12 kB / 0.5865 GB, free: 7.277 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.124e-06/0.3834, allocations: 4 kB / 0.5865 GB, free: 7.273 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.775e-05/0.3834, allocations: 3.984 kB / 0.5865 GB, free: 7.27 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.005194/0.3886, allocations: 2.677 MB / 0.5892 GB, free: 4.508 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.043e-05/0.3886, allocations: 4 kB / 0.5892 GB, free: 4.504 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006192/0.3892, allocations: 163.8 kB / 0.5893 GB, free: 4.344 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008085/0.39, allocations: 289.6 kB / 0.5896 GB, free: 4.059 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.438e-05/0.3901, allocations: 23.98 kB / 0.5896 GB, free: 4.035 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005357/0.3954, allocations: 3.676 MB / 0.5932 GB, free: 260 kB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.684e-06/0.3954, allocations: 7.938 kB / 0.5932 GB, free: 252 kB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002729/0.3982, allocations: 1.587 MB / 0.5948 GB, free: 14.6 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001873/0.3984, allocations: 67.55 kB / 0.5948 GB, free: 14.53 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.187e-05/0.3985, allocations: 28 kB / 0.5948 GB, free: 14.5 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004349/0.3989, allocations: 43.95 kB / 0.5949 GB, free: 14.46 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001612/0.3991, allocations: 84.73 kB / 0.595 GB, free: 14.38 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.474e-05/0.3991, allocations: 35.98 kB / 0.595 GB, free: 14.34 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002975/0.3994, allocations: 251.2 kB / 0.5952 GB, free: 14.1 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3994, allocations: 0 / 0.5952 GB, free: 14.1 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0009688/0.4004, allocations: 308 kB / 0.5955 GB, free: 13.8 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.0001679/0.4006, allocations: 127 kB / 0.5957 GB, free: 13.66 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002282/0.4028, allocations: 1.342 MB / 0.597 GB, free: 12.31 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 9.829e-06/0.4029, allocations: 0 / 0.597 GB, free: 12.31 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001292/0.4041, allocations: 0.793 MB / 0.5977 GB, free: 11.51 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006893/0.4048, allocations: 112.6 kB / 0.5979 GB, free: 11.4 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003224/0.4081, allocations: 1.896 MB / 0.5997 GB, free: 9.422 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005776/0.4086, allocations: 472.8 kB / 0.6002 GB, free: 8.934 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002457/0.4089, allocations: 71.39 kB / 0.6002 GB, free: 8.863 MB / 446.1 MB Notification: Performance of SimCode: time 8.61e-07/0.4089, allocations: 4 kB / 0.6002 GB, free: 8.859 MB / 446.1 MB Notification: Performance of Templates: time 0.01917/0.4281, allocations: 12.78 MB / 0.6127 GB, free: 12.06 MB / 462.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.pipe >> ../files/PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.sim & ./PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.550731517840177] Failed to read output from testmodel.py, exit status != 0: 0.43799148593097925 0.45297711999999996 0.10986314000000001 Calling exit ...