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.001511/0.001511, 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.001698/0.001698, 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.406/1.406, allocations: 230.6 MB / 258.3 MB, free: 8.02 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.181/0.181, allocations: 38.52 MB / 353.2 MB, free: 12.55 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.001999/0.001999, allocations: 67.91 kB / 493.8 MB, free: 4.379 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3105/0.3125, allocations: 62.46 MB / 0.5432 GB, free: 0.5977 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop): time 0.008772/0.3212, allocations: 7.615 MB / 0.5507 GB, free: 10.59 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.006635/0.3279, allocations: 4.488 MB / 0.555 GB, free: 7.004 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005224/0.3284, allocations: 16.31 kB / 0.5551 GB, free: 7 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002778/0.3312, allocations: 1.079 MB / 0.5561 GB, free: 6.168 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003306/0.3345, allocations: 1.208 MB / 0.5573 GB, free: 5.234 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001066/0.3356, allocations: 315 kB / 0.5576 GB, free: 5 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002322/0.3379, allocations: 1.406 MB / 0.559 GB, free: 4.242 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001051/0.3389, allocations: 0.5104 MB / 0.5595 GB, free: 3.777 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001416/0.3403, allocations: 0.642 MB / 0.5601 GB, free: 3.133 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001392/0.3417, allocations: 0.7437 MB / 0.5608 GB, free: 2.387 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001853/0.3419, allocations: 64 kB / 0.5609 GB, free: 2.324 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002819/0.3447, allocations: 1.372 MB / 0.5622 GB, free: 0.9492 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006663/0.3454, allocations: 482.7 kB / 0.5627 GB, free: 488 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008399/0.3462, allocations: 445.9 kB / 0.5631 GB, free: 40 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003119/0.3494, allocations: 1.472 MB / 0.5645 GB, free: 14.56 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.129e-06/0.3494, allocations: 0 / 0.5645 GB, free: 14.56 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.3494, allocations: 0 / 0.5645 GB, free: 14.56 MB / 414.1 MB Notification: Performance of Transformations before backend: time 4.667e-05/0.3494, allocations: 0 / 0.5645 GB, free: 14.56 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.002216/0.3516, allocations: 1.08 MB / 0.5656 GB, free: 13.45 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.684e-05/0.3517, allocations: 11.98 kB / 0.5656 GB, free: 13.44 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003189/0.3549, allocations: 391.9 kB / 0.566 GB, free: 13.05 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009697/0.3558, allocations: 433.7 kB / 0.5664 GB, free: 12.6 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.127e-05/0.3559, allocations: 54.36 kB / 0.5664 GB, free: 12.55 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001785/0.3561, allocations: 72.36 kB / 0.5665 GB, free: 12.48 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002118/0.3582, allocations: 1.18 MB / 0.5677 GB, free: 11.27 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.468e-05/0.3582, allocations: 0 / 0.5677 GB, free: 11.27 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.527e-05/0.3583, allocations: 31.98 kB / 0.5677 GB, free: 11.24 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001019/0.3584, allocations: 77.89 kB / 0.5678 GB, free: 11.17 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002082/0.3605, allocations: 1.237 MB / 0.569 GB, free: 9.926 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006124/0.3666, allocations: 3.423 MB / 0.5723 GB, free: 6.418 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001716/0.3684, allocations: 0.9863 MB / 0.5733 GB, free: 5.414 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008949/0.3693, allocations: 0.5939 MB / 0.5739 GB, free: 4.816 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.432e-05/0.3693, allocations: 16.97 kB / 0.5739 GB, free: 4.797 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.999e-05/0.3694, allocations: 47.56 kB / 0.5739 GB, free: 4.742 MB / 414.1 MB Notification: Performance of pre-optimization done (n=91): time 2.495e-06/0.3694, allocations: 0 / 0.5739 GB, free: 4.742 MB / 414.1 MB Notification: Performance of matching and sorting (n=92): time 0.006878/0.3762, allocations: 3.017 MB / 0.5769 GB, free: 1.719 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.286e-05/0.3763, allocations: 86.11 kB / 0.577 GB, free: 1.617 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004542/0.3768, allocations: 361.6 kB / 0.5773 GB, free: 1.258 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 6.187e-05/0.3768, allocations: 41.73 kB / 0.5773 GB, free: 1.211 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002497/0.3771, allocations: 324.9 kB / 0.5776 GB, free: 0.8867 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003304/0.3774, allocations: 333.1 kB / 0.578 GB, free: 0.5586 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002501/0.3777, allocations: 154.6 kB / 0.5781 GB, free: 412 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001931/0.3779, allocations: 362.8 kB / 0.5785 GB, free: 40 kB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007571/0.3786, allocations: 469.7 kB / 0.5789 GB, free: 15.58 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008231/0.3794, allocations: 0.5734 MB / 0.5795 GB, free: 14.98 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001676/0.3811, allocations: 1.117 MB / 0.5806 GB, free: 13.83 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.145e-06/0.3811, allocations: 0 / 0.5806 GB, free: 13.83 MB / 430.1 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.002693/0.3838, allocations: 1.47 MB / 0.582 GB, free: 12.35 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.43e-05/0.3838, allocations: 4.188 kB / 0.582 GB, free: 12.34 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.191e-05/0.3838, allocations: 8 kB / 0.582 GB, free: 12.34 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001021/0.3849, allocations: 336.6 kB / 0.5823 GB, free: 12 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007139/0.3856, allocations: 179.7 kB / 0.5825 GB, free: 11.83 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005977/0.3916, allocations: 4.077 MB / 0.5865 GB, free: 7.613 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005794/0.3921, allocations: 48.02 kB / 0.5865 GB, free: 7.566 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001206/0.3923, allocations: 43.95 kB / 0.5866 GB, free: 7.523 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.0005165/0.3928, allocations: 289.6 kB / 0.5868 GB, free: 7.23 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001435/0.3929, allocations: 55.67 kB / 0.5869 GB, free: 7.176 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003028/0.3959, allocations: 1.559 MB / 0.5884 GB, free: 5.602 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.246e-05/0.396, allocations: 8 kB / 0.5884 GB, free: 5.594 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.291e-05/0.396, allocations: 4 kB / 0.5884 GB, free: 5.59 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.717e-05/0.396, allocations: 11.97 kB / 0.5884 GB, free: 5.578 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.005614/0.4016, allocations: 2.987 MB / 0.5914 GB, free: 2.473 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.167e-06/0.4016, allocations: 4 kB / 0.5914 GB, free: 2.469 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006603/0.4023, allocations: 175.7 kB / 0.5915 GB, free: 2.297 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008178/0.4031, allocations: 277 kB / 0.5918 GB, free: 2.023 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.286e-05/0.4032, allocations: 31.98 kB / 0.5918 GB, free: 1.992 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005572/0.4087, allocations: 3.81 MB / 0.5955 GB, free: 14.05 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.292e-06/0.4087, allocations: 7.938 kB / 0.5955 GB, free: 14.05 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002714/0.4115, allocations: 1.587 MB / 0.5971 GB, free: 12.39 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002037/0.4117, allocations: 75.59 kB / 0.5972 GB, free: 12.32 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000105/0.4118, allocations: 23.98 kB / 0.5972 GB, free: 12.3 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004685/0.4122, allocations: 39.91 kB / 0.5972 GB, free: 12.26 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001612/0.4124, allocations: 88.78 kB / 0.5973 GB, free: 12.17 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.249e-05/0.4125, allocations: 35.98 kB / 0.5974 GB, free: 12.14 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.000323/0.4128, allocations: 259.1 kB / 0.5976 GB, free: 11.88 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4128, allocations: 0 / 0.5976 GB, free: 11.88 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001033/0.4138, allocations: 311.9 kB / 0.5979 GB, free: 11.58 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.0001939/0.414, allocations: 131 kB / 0.598 GB, free: 11.44 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002406/0.4164, allocations: 1.338 MB / 0.5993 GB, free: 10.09 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.619e-06/0.4164, allocations: 0 / 0.5993 GB, free: 10.09 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001262/0.4177, allocations: 0.793 MB / 0.6001 GB, free: 9.289 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007194/0.4184, allocations: 106.4 kB / 0.6002 GB, free: 9.184 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003515/0.4219, allocations: 1.896 MB / 0.6021 GB, free: 7.203 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009576/0.4229, allocations: 1.072 MB / 0.6031 GB, free: 6.102 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003006/0.4232, allocations: 71.39 kB / 0.6032 GB, free: 6.031 MB / 446.1 MB Notification: Performance of SimCode: time 1.001e-06/0.4232, allocations: 0 / 0.6032 GB, free: 6.031 MB / 446.1 MB Notification: Performance of Templates: time 0.0205/0.4437, allocations: 12.5 MB / 0.6154 GB, free: 9.512 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.204210269963369] Failed to read output from testmodel.py, exit status != 0: 0.45299908495508134 0.46900073800000003 0.11623215 Calling exit ...