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.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.001359/0.001359, allocations: 109.5 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.00135/0.00135, allocations: 187.4 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.454/1.454, 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.2752/0.2752, allocations: 38.53 MB / 346.3 MB, free: 2.066 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.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: Performance of FrontEnd - loaded program: time 0.001971/0.001971, allocations: 63.89 kB / 484.5 MB, free: 11.14 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.379/0.381, allocations: 61.29 MB / 0.533 GB, free: 5.574 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop): time 0.007449/0.3884, allocations: 7.591 MB / 0.5404 GB, free: 15.89 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.007093/0.3955, allocations: 4.456 MB / 0.5448 GB, free: 12.33 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005728/0.3961, allocations: 16.59 kB / 0.5448 GB, free: 12.33 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002904/0.399, allocations: 1.078 MB / 0.5459 GB, free: 11.5 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003414/0.4024, allocations: 1.214 MB / 0.547 GB, free: 10.56 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001229/0.4036, allocations: 322.2 kB / 0.5473 GB, free: 10.32 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002199/0.4058, allocations: 1.402 MB / 0.5487 GB, free: 9.566 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000892/0.4067, allocations: 457.8 kB / 0.5492 GB, free: 9.285 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001364/0.4081, allocations: 0.6306 MB / 0.5498 GB, free: 8.914 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00125/0.4093, allocations: 0.7439 MB / 0.5505 GB, free: 8.473 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001263/0.4095, allocations: 63.12 kB / 0.5506 GB, free: 8.473 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002997/0.4125, allocations: 1.367 MB / 0.5519 GB, free: 7.703 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005508/0.413, allocations: 497.7 kB / 0.5524 GB, free: 7.402 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005166/0.4135, allocations: 442.1 kB / 0.5528 GB, free: 7.125 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002427/0.4159, allocations: 1.458 MB / 0.5542 GB, free: 6.262 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.416, allocations: 4 kB / 0.5542 GB, free: 6.258 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.013e-06/0.416, allocations: 1.156 kB / 0.5542 GB, free: 6.258 MB / 398.1 MB Notification: Performance of Transformations before backend: time 2.084e-05/0.416, allocations: 0 / 0.5542 GB, free: 6.258 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: 203 * Number of variables: 203 Notification: Performance of Generate backend data structure: time 0.001951/0.4179, allocations: 1.083 MB / 0.5553 GB, free: 5.289 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.793e-05/0.418, allocations: 15.97 kB / 0.5553 GB, free: 5.273 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00322/0.4212, allocations: 391.9 kB / 0.5557 GB, free: 4.891 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00105/0.4223, allocations: 429.7 kB / 0.5561 GB, free: 4.441 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.583e-05/0.4223, allocations: 54.36 kB / 0.5561 GB, free: 4.391 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001637/0.4225, allocations: 76.31 kB / 0.5562 GB, free: 4.316 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002121/0.4246, allocations: 1.18 MB / 0.5574 GB, free: 3.109 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.832e-05/0.4246, allocations: 4 kB / 0.5574 GB, free: 3.105 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.292e-05/0.4247, allocations: 27.98 kB / 0.5574 GB, free: 3.078 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001311/0.4248, allocations: 69.95 kB / 0.5574 GB, free: 3.012 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002104/0.427, allocations: 1.245 MB / 0.5587 GB, free: 1.766 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006244/0.4332, allocations: 3.416 MB / 0.562 GB, free: 14.27 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001819/0.435, allocations: 0.9836 MB / 0.563 GB, free: 13.27 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000926/0.4359, allocations: 0.594 MB / 0.5635 GB, free: 12.67 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.326e-05/0.436, allocations: 16.98 kB / 0.5636 GB, free: 12.65 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.22e-05/0.4361, allocations: 47.69 kB / 0.5636 GB, free: 12.59 MB / 414.1 MB Notification: Performance of pre-optimization done (n=91): time 2.585e-06/0.4361, allocations: 0 / 0.5636 GB, free: 12.59 MB / 414.1 MB Notification: Performance of matching and sorting (n=92): time 0.0079/0.444, allocations: 3.01 MB / 0.5665 GB, free: 9.574 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.573e-05/0.444, allocations: 90.11 kB / 0.5666 GB, free: 9.469 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005101/0.4445, allocations: 357.7 kB / 0.567 GB, free: 9.113 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 7.577e-05/0.4446, allocations: 41.7 kB / 0.567 GB, free: 9.066 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003235/0.4449, allocations: 332.9 kB / 0.5673 GB, free: 8.734 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003851/0.4453, allocations: 325.1 kB / 0.5676 GB, free: 8.414 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003001/0.4456, allocations: 158.6 kB / 0.5678 GB, free: 8.254 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002178/0.4458, allocations: 370.8 kB / 0.5681 GB, free: 7.883 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007506/0.4466, allocations: 473.7 kB / 0.5686 GB, free: 7.418 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008707/0.4475, allocations: 0.5696 MB / 0.5691 GB, free: 6.82 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001747/0.4492, allocations: 1.109 MB / 0.5702 GB, free: 5.68 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.045e-06/0.4492, allocations: 0 / 0.5702 GB, free: 5.68 MB / 414.1 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.002832/0.452, allocations: 1.466 MB / 0.5717 GB, free: 4.207 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.355e-05/0.4521, allocations: 8 kB / 0.5717 GB, free: 4.199 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.009e-05/0.4521, allocations: 192 / 0.5717 GB, free: 4.199 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001038/0.4531, allocations: 332.6 kB / 0.572 GB, free: 3.871 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007967/0.4539, allocations: 187.7 kB / 0.5722 GB, free: 3.688 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006321/0.4602, allocations: 4.095 MB / 0.5762 GB, free: 15.46 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006883/0.4609, allocations: 43.95 kB / 0.5762 GB, free: 15.41 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.228e-05/0.461, allocations: 40.05 kB / 0.5762 GB, free: 15.38 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.0005296/0.4615, allocations: 289.6 kB / 0.5765 GB, free: 15.08 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001507/0.4617, allocations: 63.61 kB / 0.5766 GB, free: 15.02 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003016/0.4647, allocations: 1.555 MB / 0.5781 GB, free: 13.45 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.248e-05/0.4647, allocations: 12 kB / 0.5781 GB, free: 13.44 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.057e-06/0.4647, allocations: 7.938 kB / 0.5781 GB, free: 13.43 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.423e-05/0.4647, allocations: 3.984 kB / 0.5781 GB, free: 13.43 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.00572/0.4705, allocations: 2.995 MB / 0.5811 GB, free: 10.31 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.157e-06/0.4705, allocations: 4 kB / 0.5811 GB, free: 10.3 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000658/0.4711, allocations: 163.8 kB / 0.5812 GB, free: 10.14 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008759/0.472, allocations: 289.6 kB / 0.5815 GB, free: 9.859 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.859e-05/0.4721, allocations: 27.98 kB / 0.5815 GB, free: 9.832 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005852/0.4779, allocations: 3.807 MB / 0.5852 GB, free: 5.895 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.102e-06/0.4779, allocations: 4 kB / 0.5852 GB, free: 5.891 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002851/0.4808, allocations: 1.583 MB / 0.5868 GB, free: 4.246 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002382/0.481, allocations: 75.56 kB / 0.5869 GB, free: 4.172 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001043/0.4811, allocations: 24 kB / 0.5869 GB, free: 4.148 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004872/0.4816, allocations: 43.89 kB / 0.5869 GB, free: 4.105 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001693/0.4818, allocations: 88.78 kB / 0.587 GB, free: 4.02 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.8e-05/0.4819, allocations: 32 kB / 0.587 GB, free: 3.988 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003515/0.4822, allocations: 267 kB / 0.5873 GB, free: 3.727 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4822, allocations: 0 / 0.5873 GB, free: 3.727 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001172/0.4834, allocations: 308 kB / 0.5876 GB, free: 3.426 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.0001962/0.4836, allocations: 127 kB / 0.5877 GB, free: 3.293 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002619/0.4862, allocations: 1.342 MB / 0.589 GB, free: 1.938 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.629e-06/0.4862, allocations: 0 / 0.589 GB, free: 1.938 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001325/0.4875, allocations: 0.793 MB / 0.5898 GB, free: 1.137 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007666/0.4883, allocations: 106.3 kB / 0.5899 GB, free: 1.031 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003232/0.4915, allocations: 1.828 MB / 0.5917 GB, free: 15.12 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001033/0.4926, allocations: 1.064 MB / 0.5927 GB, free: 14.03 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0004673/0.493, allocations: 180.6 kB / 0.5929 GB, free: 13.86 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002131/0.4932, allocations: 59.41 kB / 0.5929 GB, free: 13.8 MB / 446.1 MB Notification: Performance of SimCode: time 6.41e-07/0.4932, allocations: 0 / 0.5929 GB, free: 13.8 MB / 446.1 MB Notification: Performance of Templates: time 0.02165/0.5149, allocations: 11.32 MB / 0.604 GB, free: 2.488 MB / 446.1 MB " [Timeout remaining time 659] 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: 5.570665366947651] Failed to read output from testmodel.py, exit status != 0: 0.5241745179519057 0.5392323600000001 0.11999925700000001 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7fb6e34257b0>