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.001339/0.001339, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.001529/0.001529, allocations: 210.5 kB / 23.73 MB, free: 4.387 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.543/1.543, allocations: 230.6 MB / 257.5 MB, free: 7.812 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.1889/0.1889, allocations: 38.55 MB / 352.5 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.002097/0.002097, allocations: 67.89 kB / 493 MB, free: 4.164 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3376/0.3396, allocations: 62.46 MB / 0.5424 GB, free: 408 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop_dq): time 0.01051/0.3502, allocations: 7.04 MB / 0.5493 GB, free: 11.01 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00715/0.3573, allocations: 4.119 MB / 0.5533 GB, free: 7.828 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004497/0.3578, allocations: 16 kB / 0.5534 GB, free: 7.824 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0028/0.3606, allocations: 1.015 MB / 0.5543 GB, free: 7.062 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003279/0.3638, allocations: 1.207 MB / 0.5555 GB, free: 6.133 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001099/0.3649, allocations: 331.1 kB / 0.5558 GB, free: 5.883 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.00183/0.3668, allocations: 1.402 MB / 0.5572 GB, free: 5.027 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000891/0.3677, allocations: 0.5051 MB / 0.5577 GB, free: 4.516 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001027/0.3687, allocations: 0.638 MB / 0.5583 GB, free: 3.875 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001101/0.3698, allocations: 0.7086 MB / 0.559 GB, free: 3.164 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001096/0.3699, allocations: 67.94 kB / 0.5591 GB, free: 3.098 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002355/0.3723, allocations: 1.122 MB / 0.5602 GB, free: 1.973 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000548/0.3728, allocations: 490.7 kB / 0.5606 GB, free: 1.492 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000459/0.3733, allocations: 370.4 kB / 0.561 GB, free: 1.129 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002444/0.3757, allocations: 1.472 MB / 0.5624 GB, free: 15.65 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.3757, allocations: 0 / 0.5624 GB, free: 15.65 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.893e-06/0.3757, allocations: 0 / 0.5624 GB, free: 15.65 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.26e-05/0.3757, allocations: 4 kB / 0.5624 GB, free: 15.65 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.001858/0.3776, allocations: 1.074 MB / 0.5635 GB, free: 14.54 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.349e-05/0.3776, allocations: 11.98 kB / 0.5635 GB, free: 14.53 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003104/0.3807, allocations: 395.9 kB / 0.5639 GB, free: 14.14 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009388/0.3817, allocations: 433.7 kB / 0.5643 GB, free: 13.69 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.009e-05/0.3817, allocations: 54.36 kB / 0.5643 GB, free: 13.64 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001414/0.3819, allocations: 76.34 kB / 0.5644 GB, free: 13.56 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001915/0.3838, allocations: 1.176 MB / 0.5656 GB, free: 12.36 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.901e-05/0.3838, allocations: 3.938 kB / 0.5656 GB, free: 12.36 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.529e-05/0.3839, allocations: 31.98 kB / 0.5656 GB, free: 12.32 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001185/0.384, allocations: 73.95 kB / 0.5657 GB, free: 12.25 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002013/0.386, allocations: 1.23 MB / 0.5669 GB, free: 11.02 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005801/0.3918, allocations: 3.108 MB / 0.5699 GB, free: 7.84 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001796/0.3936, allocations: 0.9835 MB / 0.5709 GB, free: 6.84 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000961/0.3946, allocations: 0.5978 MB / 0.5714 GB, free: 6.238 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.511e-05/0.3947, allocations: 17 kB / 0.5715 GB, free: 6.219 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.14e-05/0.3947, allocations: 39.56 kB / 0.5715 GB, free: 6.172 MB / 414.1 MB Notification: Performance of pre-optimization done (n=91): time 3.256e-06/0.3947, allocations: 0 / 0.5715 GB, free: 6.172 MB / 414.1 MB Notification: Performance of matching and sorting (n=92): time 0.006954/0.4017, allocations: 3.021 MB / 0.5745 GB, free: 3.141 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.821e-05/0.4017, allocations: 86.11 kB / 0.5745 GB, free: 3.039 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004242/0.4022, allocations: 357.5 kB / 0.5749 GB, free: 2.684 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 6.268e-05/0.4022, allocations: 41.7 kB / 0.5749 GB, free: 2.637 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002408/0.4025, allocations: 324.9 kB / 0.5752 GB, free: 2.312 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003202/0.4028, allocations: 329.1 kB / 0.5755 GB, free: 1.988 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000256/0.403, allocations: 154.6 kB / 0.5757 GB, free: 1.832 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001948/0.4032, allocations: 366.8 kB / 0.576 GB, free: 1.465 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007531/0.404, allocations: 469.7 kB / 0.5765 GB, free: 1.004 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008477/0.4048, allocations: 0.5695 MB / 0.577 GB, free: 416 kB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001737/0.4066, allocations: 1.113 MB / 0.5781 GB, free: 15.26 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.007e-06/0.4066, allocations: 0 / 0.5781 GB, free: 15.26 MB / 430.1 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.00279/0.4094, allocations: 1.47 MB / 0.5796 GB, free: 13.79 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.419e-05/0.4094, allocations: 8 kB / 0.5796 GB, free: 13.78 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.271e-05/0.4094, allocations: 8 kB / 0.5796 GB, free: 13.77 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001027/0.4104, allocations: 332.7 kB / 0.5799 GB, free: 13.44 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007685/0.4112, allocations: 179.7 kB / 0.5801 GB, free: 13.27 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006112/0.4173, allocations: 3.881 MB / 0.5839 GB, free: 9.289 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006255/0.4179, allocations: 43.95 kB / 0.5839 GB, free: 9.246 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.917e-05/0.418, allocations: 39.92 kB / 0.5839 GB, free: 9.207 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.0006058/0.4186, allocations: 293.5 kB / 0.5842 GB, free: 8.91 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001498/0.4188, allocations: 59.62 kB / 0.5843 GB, free: 8.852 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002917/0.4217, allocations: 1.559 MB / 0.5858 GB, free: 7.277 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.34e-05/0.4217, allocations: 12 kB / 0.5858 GB, free: 7.266 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.915e-06/0.4217, allocations: 4 kB / 0.5858 GB, free: 7.262 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.28e-05/0.4217, allocations: 7.969 kB / 0.5858 GB, free: 7.254 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.005281/0.427, allocations: 2.669 MB / 0.5884 GB, free: 4.5 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.967e-06/0.427, allocations: 4.438 kB / 0.5884 GB, free: 4.496 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006723/0.4277, allocations: 163.8 kB / 0.5886 GB, free: 4.336 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000846/0.4285, allocations: 289.2 kB / 0.5889 GB, free: 4.051 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.809e-05/0.4286, allocations: 27.98 kB / 0.5889 GB, free: 4.023 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00563/0.4342, allocations: 3.672 MB / 0.5925 GB, free: 252 kB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.414e-06/0.4342, allocations: 7.938 kB / 0.5925 GB, free: 244 kB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002672/0.4369, allocations: 1.587 MB / 0.594 GB, free: 14.59 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001844/0.4371, allocations: 67.55 kB / 0.5941 GB, free: 14.52 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.316e-05/0.4372, allocations: 20 kB / 0.5941 GB, free: 14.5 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004678/0.4377, allocations: 51.95 kB / 0.5942 GB, free: 14.45 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001606/0.4378, allocations: 80.73 kB / 0.5942 GB, free: 14.38 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.182e-05/0.4379, allocations: 39.98 kB / 0.5943 GB, free: 14.34 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003184/0.4382, allocations: 247.2 kB / 0.5945 GB, free: 14.09 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4382, allocations: 0 / 0.5945 GB, free: 14.09 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0009894/0.4392, allocations: 308 kB / 0.5948 GB, free: 13.79 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.000183/0.4394, allocations: 128.9 kB / 0.5949 GB, free: 13.66 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002284/0.4417, allocations: 1.346 MB / 0.5962 GB, free: 12.3 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.467e-06/0.4417, allocations: 0 / 0.5962 GB, free: 12.3 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001279/0.443, allocations: 0.7928 MB / 0.597 GB, free: 11.5 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000732/0.4437, allocations: 109.3 kB / 0.5971 GB, free: 11.39 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003143/0.4468, allocations: 1.805 MB / 0.5989 GB, free: 9.512 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005957/0.4474, allocations: 484.8 kB / 0.5993 GB, free: 9.012 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0005032/0.4479, allocations: 180.6 kB / 0.5995 GB, free: 8.836 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002076/0.4482, allocations: 63.41 kB / 0.5996 GB, free: 8.773 MB / 446.1 MB Notification: Performance of SimCode: time 7.22e-07/0.4482, allocations: 0 / 0.5996 GB, free: 8.773 MB / 446.1 MB Notification: Performance of Templates: time 0.02069/0.4688, allocations: 11.36 MB / 0.6107 GB, free: 13.46 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: 5.677727440372109] Failed to read output from testmodel.py, exit status != 0: 0.4787626527249813 0.49525272800000003 0.115934692 Calling exit ...