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.001447/0.001447, allocations: 111.1 kB / 20.44 MB, free: 1.352 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.001797/0.001797, allocations: 212.8 kB / 23.73 MB, free: 4.531 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.601/1.601, allocations: 230.6 MB / 257.5 MB, free: 7.816 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.2281/0.2281, allocations: 38.55 MB / 352.5 MB, free: 12.34 MB / 286.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.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.00222/0.00222, allocations: 63.91 kB / 493 MB, free: 4.227 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3585/0.3607, allocations: 62.46 MB / 0.5424 GB, free: 448 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop): time 0.009112/0.3699, allocations: 7.027 MB / 0.5493 GB, free: 11.06 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.006474/0.3763, allocations: 4.111 MB / 0.5533 GB, free: 7.887 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003867/0.3767, allocations: 16.53 kB / 0.5533 GB, free: 7.883 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002799/0.3795, allocations: 1.023 MB / 0.5543 GB, free: 7.109 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003179/0.3827, allocations: 1.214 MB / 0.5555 GB, free: 6.172 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001026/0.3837, allocations: 323.4 kB / 0.5558 GB, free: 5.93 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001914/0.3856, allocations: 1.395 MB / 0.5572 GB, free: 5.105 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001036/0.3867, allocations: 0.5129 MB / 0.5577 GB, free: 4.586 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001384/0.3881, allocations: 0.6381 MB / 0.5583 GB, free: 3.945 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001277/0.3893, allocations: 0.7124 MB / 0.559 GB, free: 3.23 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001882/0.3895, allocations: 64 kB / 0.5591 GB, free: 3.168 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002708/0.3922, allocations: 1.122 MB / 0.5601 GB, free: 2.043 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007789/0.393, allocations: 486.8 kB / 0.5606 GB, free: 1.566 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008056/0.3938, allocations: 378.4 kB / 0.561 GB, free: 1.195 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003084/0.3969, allocations: 1.46 MB / 0.5624 GB, free: 15.73 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.3969, allocations: 0 / 0.5624 GB, free: 15.73 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.724e-06/0.3969, allocations: 4 kB / 0.5624 GB, free: 15.73 MB / 414.1 MB Notification: Performance of Transformations before backend: time 3.534e-05/0.3969, allocations: 0 / 0.5624 GB, free: 15.73 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.002325/0.3993, allocations: 1.078 MB / 0.5635 GB, free: 14.61 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.625e-05/0.3993, allocations: 11.98 kB / 0.5635 GB, free: 14.6 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003302/0.4026, allocations: 395.9 kB / 0.5638 GB, free: 14.21 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001184/0.4038, allocations: 433.7 kB / 0.5643 GB, free: 13.76 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.577e-05/0.4039, allocations: 54.36 kB / 0.5643 GB, free: 13.71 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001769/0.404, allocations: 72.36 kB / 0.5644 GB, free: 13.64 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002198/0.4062, allocations: 1.176 MB / 0.5655 GB, free: 12.44 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.2e-05/0.4063, allocations: 0 / 0.5655 GB, free: 12.44 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.661e-05/0.4063, allocations: 31.98 kB / 0.5656 GB, free: 12.41 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001114/0.4065, allocations: 77.89 kB / 0.5656 GB, free: 12.33 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00228/0.4087, allocations: 1.237 MB / 0.5668 GB, free: 11.09 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00638/0.4151, allocations: 3.12 MB / 0.5699 GB, free: 7.898 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001851/0.417, allocations: 0.9797 MB / 0.5708 GB, free: 6.902 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009891/0.418, allocations: 0.59 MB / 0.5714 GB, free: 6.309 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.293e-05/0.418, allocations: 24.97 kB / 0.5714 GB, free: 6.281 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.53e-05/0.4181, allocations: 39.56 kB / 0.5715 GB, free: 6.234 MB / 414.1 MB Notification: Performance of pre-optimization done (n=91): time 3.316e-06/0.4181, allocations: 4 kB / 0.5715 GB, free: 6.23 MB / 414.1 MB Notification: Performance of matching and sorting (n=92): time 0.007249/0.4253, allocations: 3.013 MB / 0.5744 GB, free: 3.207 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.557e-05/0.4254, allocations: 90.09 kB / 0.5745 GB, free: 3.102 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004755/0.4259, allocations: 353.6 kB / 0.5749 GB, free: 2.75 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 6.207e-05/0.426, allocations: 41.7 kB / 0.5749 GB, free: 2.703 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002621/0.4262, allocations: 316.9 kB / 0.5752 GB, free: 2.387 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003614/0.4266, allocations: 337 kB / 0.5755 GB, free: 2.055 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002606/0.4268, allocations: 158.6 kB / 0.5757 GB, free: 1.895 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002227/0.4271, allocations: 366.8 kB / 0.576 GB, free: 1.527 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007578/0.4278, allocations: 465.7 kB / 0.5765 GB, free: 1.07 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008621/0.4287, allocations: 0.5696 MB / 0.577 GB, free: 484 kB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001765/0.4304, allocations: 1.117 MB / 0.5781 GB, free: 15.32 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.638e-06/0.4305, allocations: 0 / 0.5781 GB, free: 15.32 MB / 430.1 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.002756/0.4332, allocations: 1.462 MB / 0.5795 GB, free: 13.86 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.587e-05/0.4332, allocations: 8 kB / 0.5795 GB, free: 13.85 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.188e-06/0.4332, allocations: 0 / 0.5795 GB, free: 13.85 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001022/0.4343, allocations: 344.7 kB / 0.5799 GB, free: 13.51 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007591/0.435, allocations: 179.7 kB / 0.58 GB, free: 13.33 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006061/0.4411, allocations: 3.882 MB / 0.5838 GB, free: 9.352 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005352/0.4416, allocations: 43.95 kB / 0.5839 GB, free: 9.309 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000105/0.4417, allocations: 39.92 kB / 0.5839 GB, free: 9.27 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.0005208/0.4422, allocations: 293.6 kB / 0.5842 GB, free: 8.973 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001581/0.4424, allocations: 63.69 kB / 0.5843 GB, free: 8.91 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003015/0.4454, allocations: 1.551 MB / 0.5858 GB, free: 7.344 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.978e-05/0.4454, allocations: 12 kB / 0.5858 GB, free: 7.332 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.468e-06/0.4454, allocations: 4 kB / 0.5858 GB, free: 7.328 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.083e-05/0.4455, allocations: 3.984 kB / 0.5858 GB, free: 7.324 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.005514/0.451, allocations: 2.665 MB / 0.5884 GB, free: 4.574 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.156e-05/0.451, allocations: 8.094 kB / 0.5884 GB, free: 4.566 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006658/0.4517, allocations: 167.7 kB / 0.5886 GB, free: 4.402 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008513/0.4525, allocations: 289.2 kB / 0.5888 GB, free: 4.117 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.476e-05/0.4526, allocations: 23.98 kB / 0.5889 GB, free: 4.094 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005724/0.4583, allocations: 3.672 MB / 0.5924 GB, free: 324 kB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.283e-06/0.4583, allocations: 7.938 kB / 0.5925 GB, free: 316 kB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003162/0.4615, allocations: 1.587 MB / 0.594 GB, free: 14.66 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002549/0.4617, allocations: 67.55 kB / 0.5941 GB, free: 14.59 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001197/0.4619, allocations: 27.98 kB / 0.5941 GB, free: 14.56 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005018/0.4624, allocations: 43.91 kB / 0.5941 GB, free: 14.52 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001648/0.4625, allocations: 88.72 kB / 0.5942 GB, free: 14.43 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.476e-05/0.4626, allocations: 39.98 kB / 0.5943 GB, free: 14.39 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0004107/0.463, allocations: 247.2 kB / 0.5945 GB, free: 14.15 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.463, allocations: 0 / 0.5945 GB, free: 14.15 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001202/0.4642, allocations: 308 kB / 0.5948 GB, free: 13.85 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.0002414/0.4645, allocations: 119.1 kB / 0.5949 GB, free: 13.73 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002663/0.4671, allocations: 1.35 MB / 0.5962 GB, free: 12.36 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.47e-06/0.4671, allocations: 0.5625 kB / 0.5962 GB, free: 12.36 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001456/0.4686, allocations: 0.7881 MB / 0.597 GB, free: 11.57 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008167/0.4694, allocations: 110.4 kB / 0.5971 GB, free: 11.46 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003687/0.4731, allocations: 1.815 MB / 0.5989 GB, free: 9.574 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007979/0.4739, allocations: 476.8 kB / 0.5993 GB, free: 9.082 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0005399/0.4744, allocations: 180.6 kB / 0.5995 GB, free: 8.906 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002598/0.4747, allocations: 63.41 kB / 0.5996 GB, free: 8.844 MB / 446.1 MB Notification: Performance of SimCode: time 1.242e-06/0.4747, allocations: 0 / 0.5996 GB, free: 8.844 MB / 446.1 MB Notification: Performance of Templates: time 0.02314/0.4978, allocations: 11.36 MB / 0.6106 GB, free: 13.52 MB / 462.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.734413720667362] Failed to read output from testmodel.py, exit status != 0: 0.5086249299347401 0.524612556 0.12428330100000001 Calling exit ...