Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.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.001395/0.001395, 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.001487/0.001487, allocations: 211.4 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.542/1.542, allocations: 230.6 MB / 257.5 MB, free: 7.785 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.1956/0.1956, 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_dq0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0") translateModel(PowerSystems.Examples.Generic.Network.NetworkLoop_dq0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0") [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.002148/0.002148, allocations: 67.91 kB / 493 MB, free: 4.168 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.38/0.3822, allocations: 62.47 MB / 0.5424 GB, free: 400 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop_dq0): time 0.008712/0.3909, allocations: 7.045 MB / 0.5493 GB, free: 11 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.006377/0.3973, allocations: 4.167 MB / 0.5534 GB, free: 7.793 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004002/0.3977, allocations: 16.69 kB / 0.5534 GB, free: 7.789 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002609/0.4003, allocations: 1.008 MB / 0.5544 GB, free: 7.031 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00332/0.4036, allocations: 1.296 MB / 0.5557 GB, free: 6.047 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001055/0.4046, allocations: 349.7 kB / 0.556 GB, free: 5.789 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001855/0.4065, allocations: 1.402 MB / 0.5574 GB, free: 4.879 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009561/0.4074, allocations: 0.5705 MB / 0.5579 GB, free: 4.293 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001476/0.4089, allocations: 0.6654 MB / 0.5586 GB, free: 3.625 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001336/0.4103, allocations: 0.767 MB / 0.5593 GB, free: 2.855 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001494/0.4104, allocations: 80 kB / 0.5594 GB, free: 2.777 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003964/0.4144, allocations: 1.407 MB / 0.5608 GB, free: 1.367 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000844/0.4152, allocations: 0.6117 MB / 0.5614 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007005/0.4159, allocations: 482 kB / 0.5618 GB, free: 288 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004119/0.42, allocations: 1.908 MB / 0.5637 GB, free: 14.37 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.823e-06/0.42, allocations: 0 / 0.5637 GB, free: 14.37 MB / 414.1 MB Notification: Performance of FrontEnd: time 3.276e-06/0.42, allocations: 0 / 0.5637 GB, free: 14.37 MB / 414.1 MB Notification: Performance of Transformations before backend: time 3.011e-05/0.4201, allocations: 0 / 0.5637 GB, free: 14.37 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: 267 * Number of variables: 267 Notification: Performance of Generate backend data structure: time 0.002541/0.4226, allocations: 1.288 MB / 0.5649 GB, free: 13.04 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.638e-05/0.4227, allocations: 11.98 kB / 0.565 GB, free: 13.03 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004038/0.4267, allocations: 0.5502 MB / 0.5655 GB, free: 12.48 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001486/0.4282, allocations: 0.5036 MB / 0.566 GB, free: 11.95 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.805e-05/0.4283, allocations: 70.36 kB / 0.5661 GB, free: 11.88 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001979/0.4285, allocations: 92.34 kB / 0.5661 GB, free: 11.79 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002565/0.431, allocations: 1.497 MB / 0.5676 GB, free: 10.26 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.641e-05/0.4311, allocations: 7.938 kB / 0.5676 GB, free: 10.25 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001132/0.4312, allocations: 35.98 kB / 0.5676 GB, free: 10.21 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001352/0.4313, allocations: 105.9 kB / 0.5677 GB, free: 10.11 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002516/0.4338, allocations: 1.534 MB / 0.5692 GB, free: 8.566 MB / 414.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 preOpt removeSimpleEquations (simulation): time 0.008105/0.4419, allocations: 4.222 MB / 0.5734 GB, free: 4.211 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002164/0.4441, allocations: 1.078 MB / 0.5744 GB, free: 3.113 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0011/0.4452, allocations: 0.6865 MB / 0.5751 GB, free: 2.426 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.437e-05/0.4453, allocations: 21.36 kB / 0.5751 GB, free: 2.406 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.289e-05/0.4453, allocations: 43.5 kB / 0.5751 GB, free: 2.355 MB / 414.1 MB Notification: Performance of pre-optimization done (n=107): time 3.406e-06/0.4453, allocations: 0 / 0.5751 GB, free: 2.355 MB / 414.1 MB Notification: Performance of matching and sorting (n=108): time 0.008174/0.4535, allocations: 3.525 MB / 0.5786 GB, free: 14.82 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.595e-05/0.4536, allocations: 86.11 kB / 0.5787 GB, free: 14.71 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006107/0.4542, allocations: 477.6 kB / 0.5791 GB, free: 14.23 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 7.585e-05/0.4542, allocations: 45.7 kB / 0.5792 GB, free: 14.18 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003407/0.4546, allocations: 444.6 kB / 0.5796 GB, free: 13.74 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003821/0.455, allocations: 384.7 kB / 0.58 GB, free: 13.36 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003505/0.4553, allocations: 202.9 kB / 0.5802 GB, free: 13.16 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002022/0.4555, allocations: 382.8 kB / 0.5805 GB, free: 12.78 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008958/0.4564, allocations: 0.5335 MB / 0.581 GB, free: 12.24 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001029/0.4574, allocations: 0.754 MB / 0.5818 GB, free: 11.41 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002049/0.4595, allocations: 1.4 MB / 0.5831 GB, free: 9.934 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.348e-06/0.4595, allocations: 8 kB / 0.5832 GB, free: 9.926 MB / 430.1 MB Notification: Performance of matching and sorting (n=139) (initialization): time 0.00328/0.4628, allocations: 1.794 MB / 0.5849 GB, free: 8.117 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.48e-05/0.4628, allocations: 8 kB / 0.5849 GB, free: 8.109 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.34e-05/0.4628, allocations: 4 kB / 0.5849 GB, free: 8.105 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001158/0.464, allocations: 405.6 kB / 0.5853 GB, free: 7.703 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009285/0.4649, allocations: 235.6 kB / 0.5855 GB, free: 7.473 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0076/0.4725, allocations: 5.634 MB / 0.591 GB, free: 1.641 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000795/0.4733, allocations: 59.94 kB / 0.5911 GB, free: 1.582 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.519e-05/0.4734, allocations: 51.92 kB / 0.5911 GB, free: 1.531 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * 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 (105): * Single equations (assignments): 103 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,26,100.0%), (1,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005803/0.474, allocations: 357.4 kB / 0.5915 GB, free: 1.172 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000149/0.4741, allocations: 79.45 kB / 0.5916 GB, free: 1.094 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003351/0.4775, allocations: 1.799 MB / 0.5933 GB, free: 15.28 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.394e-05/0.4775, allocations: 12 kB / 0.5933 GB, free: 15.27 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.727e-06/0.4775, allocations: 4 kB / 0.5933 GB, free: 15.27 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.26e-05/0.4775, allocations: 7.984 kB / 0.5933 GB, free: 15.26 MB / 446.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.005958/0.4835, allocations: 3.072 MB / 0.5963 GB, free: 12.1 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.906e-06/0.4835, allocations: 4 kB / 0.5963 GB, free: 12.09 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008746/0.4844, allocations: 187.7 kB / 0.5965 GB, free: 11.91 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001041/0.4854, allocations: 358.3 kB / 0.5969 GB, free: 11.55 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.278e-05/0.4855, allocations: 24 kB / 0.5969 GB, free: 11.53 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007483/0.493, allocations: 5.401 MB / 0.6022 GB, free: 5.918 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.315e-06/0.493, allocations: 7.938 kB / 0.6022 GB, free: 5.91 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003358/0.4963, allocations: 1.814 MB / 0.6039 GB, free: 4.027 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002833/0.4966, allocations: 83.47 kB / 0.604 GB, free: 3.945 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001237/0.4967, allocations: 28 kB / 0.604 GB, free: 3.918 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005617/0.4973, allocations: 47.94 kB / 0.6041 GB, free: 3.871 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002298/0.4975, allocations: 96.7 kB / 0.6042 GB, free: 3.777 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.38e-05/0.4976, allocations: 36 kB / 0.6042 GB, free: 3.742 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0004599/0.4981, allocations: 323.1 kB / 0.6045 GB, free: 3.426 MB / 446.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.4981, allocations: 4 kB / 0.6045 GB, free: 3.422 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001289/0.4994, allocations: 396 kB / 0.6049 GB, free: 3.035 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 (91): * Single equations (assignments): 88 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,7,100.0%), (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.000196/0.4996, allocations: 131 kB / 0.605 GB, free: 2.898 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002791/0.5023, allocations: 1.678 MB / 0.6067 GB, free: 1.191 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.28e-06/0.5023, allocations: 192 / 0.6067 GB, free: 1.191 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001617/0.504, allocations: 1.026 MB / 0.6077 GB, free: 148 kB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008639/0.5048, allocations: 130.6 kB / 0.6078 GB, free: 20 kB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003926/0.5088, allocations: 2.252 MB / 0.61 GB, free: 13.69 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007505/0.5095, allocations: 0.5755 MB / 0.6106 GB, free: 13.08 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0005933/0.5101, allocations: 233.3 kB / 0.6108 GB, free: 12.85 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002348/0.5103, allocations: 63.41 kB / 0.6108 GB, free: 12.79 MB / 462.1 MB Notification: Performance of SimCode: time 8.22e-07/0.5103, allocations: 0 / 0.6108 GB, free: 12.79 MB / 462.1 MB Notification: Performance of Templates: time 0.02567/0.536, allocations: 14.04 MB / 0.6245 GB, free: 14.81 MB / 478.1 MB " [Timeout remaining time 659] make -j1 -f PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.pipe >> ../files/PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.sim & ./PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0 -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.722033394500613] Failed to read output from testmodel.py, exit status != 0: 0.5462486483156681 0.5631212750000001 0.139430792 Calling exit ...