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.001564/0.001564, allocations: 112.2 kB / 21.19 MB, free: 0.7812 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.001726/0.001726, allocations: 214.5 kB / 24.49 MB, free: 4.18 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.402/1.402, allocations: 230.6 MB / 258.3 MB, free: 7.977 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.1743/0.1743, allocations: 38.53 MB / 353.2 MB, free: 12.51 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.002039/0.002039, allocations: 71.84 kB / 493.8 MB, free: 4.34 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2919/0.294, allocations: 62.46 MB / 0.5432 GB, free: 0.5898 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop_dq0): time 0.009271/0.3032, allocations: 7.616 MB / 0.5507 GB, free: 10.58 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.006851/0.3101, allocations: 4.543 MB / 0.5551 GB, free: 6.965 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005444/0.3106, allocations: 21.09 kB / 0.5551 GB, free: 6.957 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002839/0.3135, allocations: 1.075 MB / 0.5562 GB, free: 6.133 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003692/0.3172, allocations: 1.299 MB / 0.5574 GB, free: 5.145 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001293/0.3184, allocations: 346 kB / 0.5578 GB, free: 4.891 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.00212/0.3206, allocations: 1.404 MB / 0.5591 GB, free: 4.098 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001103/0.3217, allocations: 0.5705 MB / 0.5597 GB, free: 3.512 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001293/0.323, allocations: 0.6654 MB / 0.5604 GB, free: 2.844 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001128/0.3241, allocations: 0.7983 MB / 0.5611 GB, free: 2.043 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001368/0.3242, allocations: 80 kB / 0.5612 GB, free: 1.965 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003235/0.3275, allocations: 1.656 MB / 0.5628 GB, free: 312 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007228/0.3282, allocations: 0.6117 MB / 0.5634 GB, free: 15.69 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007212/0.3289, allocations: 0.5677 MB / 0.564 GB, free: 15.12 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003841/0.3327, allocations: 1.892 MB / 0.5658 GB, free: 13.22 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.333e-06/0.3328, allocations: 0 / 0.5658 GB, free: 13.22 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.3328, allocations: 0 / 0.5658 GB, free: 13.22 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.658e-05/0.3328, allocations: 4 kB / 0.5658 GB, free: 13.22 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.002343/0.3351, allocations: 1.286 MB / 0.5671 GB, free: 11.9 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.055e-05/0.3352, allocations: 11.98 kB / 0.5671 GB, free: 11.89 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003933/0.3391, allocations: 0.5502 MB / 0.5676 GB, free: 11.34 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001228/0.3403, allocations: 0.5036 MB / 0.5681 GB, free: 10.8 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.334e-05/0.3404, allocations: 70.3 kB / 0.5682 GB, free: 10.74 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001959/0.3406, allocations: 96.34 kB / 0.5683 GB, free: 10.64 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002417/0.343, allocations: 1.497 MB / 0.5697 GB, free: 9.109 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.529e-05/0.343, allocations: 7.922 kB / 0.5698 GB, free: 9.102 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.675e-05/0.3431, allocations: 35.98 kB / 0.5698 GB, free: 9.066 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001243/0.3433, allocations: 98 kB / 0.5699 GB, free: 8.969 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00249/0.3457, allocations: 1.55 MB / 0.5714 GB, free: 7.41 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.00847/0.3542, allocations: 4.837 MB / 0.5761 GB, free: 2.371 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001791/0.356, allocations: 1.09 MB / 0.5772 GB, free: 1.262 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001022/0.357, allocations: 0.6908 MB / 0.5779 GB, free: 0.5664 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.882e-05/0.3571, allocations: 16.98 kB / 0.5779 GB, free: 0.5508 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.51e-05/0.3571, allocations: 47.5 kB / 0.5779 GB, free: 0.4961 MB / 414.1 MB Notification: Performance of pre-optimization done (n=107): time 2.845e-06/0.3571, allocations: 0 / 0.5779 GB, free: 0.4961 MB / 414.1 MB Notification: Performance of matching and sorting (n=108): time 0.00784/0.365, allocations: 3.521 MB / 0.5814 GB, free: 12.96 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.543e-05/0.365, allocations: 94.05 kB / 0.5815 GB, free: 12.86 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005546/0.3656, allocations: 473.8 kB / 0.5819 GB, free: 12.38 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 8.053e-05/0.3657, allocations: 41.7 kB / 0.5819 GB, free: 12.33 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003139/0.366, allocations: 440.6 kB / 0.5824 GB, free: 11.89 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003683/0.3664, allocations: 404.6 kB / 0.5827 GB, free: 11.5 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003148/0.3667, allocations: 194.9 kB / 0.5829 GB, free: 11.3 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001974/0.3669, allocations: 378.8 kB / 0.5833 GB, free: 10.92 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008427/0.3677, allocations: 0.5413 MB / 0.5838 GB, free: 10.38 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001045/0.3688, allocations: 0.754 MB / 0.5846 GB, free: 9.547 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001994/0.3707, allocations: 1.4 MB / 0.5859 GB, free: 8.066 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.998e-06/0.3708, allocations: 7.938 kB / 0.5859 GB, free: 8.059 MB / 430.1 MB Notification: Performance of matching and sorting (n=139) (initialization): time 0.003185/0.3739, allocations: 1.786 MB / 0.5877 GB, free: 6.262 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.474e-05/0.374, allocations: 10.81 kB / 0.5877 GB, free: 6.254 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.275e-05/0.374, allocations: 4 kB / 0.5877 GB, free: 6.25 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001103/0.3751, allocations: 409.8 kB / 0.5881 GB, free: 5.844 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009013/0.376, allocations: 235.6 kB / 0.5883 GB, free: 5.613 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007475/0.3835, allocations: 5.861 MB / 0.594 GB, free: 15.5 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007718/0.3842, allocations: 67.94 kB / 0.5941 GB, free: 15.43 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.908e-05/0.3843, allocations: 48 kB / 0.5941 GB, free: 15.39 MB / 446.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.0005536/0.3849, allocations: 365.4 kB / 0.5945 GB, free: 15.02 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001482/0.385, allocations: 75.53 kB / 0.5946 GB, free: 14.95 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003188/0.3882, allocations: 1.795 MB / 0.5963 GB, free: 13.13 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.23e-05/0.3882, allocations: 12 kB / 0.5963 GB, free: 13.12 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.209e-05/0.3882, allocations: 7.938 kB / 0.5963 GB, free: 13.11 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.468e-05/0.3882, allocations: 7.969 kB / 0.5963 GB, free: 13.11 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.00607/0.3943, allocations: 3.433 MB / 0.5997 GB, free: 9.547 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.165e-06/0.3943, allocations: 4 kB / 0.5997 GB, free: 9.543 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007481/0.3951, allocations: 187.7 kB / 0.5999 GB, free: 9.359 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009353/0.396, allocations: 353.5 kB / 0.6002 GB, free: 9.008 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.51e-05/0.3961, allocations: 27.94 kB / 0.6002 GB, free: 8.98 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00702/0.4031, allocations: 5.575 MB / 0.6057 GB, free: 3.156 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.252e-06/0.4031, allocations: 12 kB / 0.6057 GB, free: 3.145 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003125/0.4062, allocations: 1.814 MB / 0.6075 GB, free: 1.262 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002907/0.4065, allocations: 87.45 kB / 0.6076 GB, free: 1.176 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001172/0.4067, allocations: 24 kB / 0.6076 GB, free: 1.152 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000526/0.4072, allocations: 47.95 kB / 0.6076 GB, free: 1.105 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002094/0.4074, allocations: 100.7 kB / 0.6077 GB, free: 1.008 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.659e-05/0.4075, allocations: 39.98 kB / 0.6078 GB, free: 0.9688 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003995/0.4079, allocations: 327 kB / 0.6081 GB, free: 0.6484 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4079, allocations: 0 / 0.6081 GB, free: 0.6484 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001152/0.409, allocations: 400 kB / 0.6084 GB, free: 264 kB / 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.0001817/0.4092, allocations: 130.9 kB / 0.6086 GB, free: 124 kB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002683/0.4119, allocations: 1.685 MB / 0.6102 GB, free: 14.41 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.709e-06/0.4119, allocations: 0 / 0.6102 GB, free: 14.41 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001555/0.4134, allocations: 1.022 MB / 0.6112 GB, free: 13.36 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007492/0.4142, allocations: 125.7 kB / 0.6113 GB, free: 13.24 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003771/0.418, allocations: 2.348 MB / 0.6136 GB, free: 10.81 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009508/0.4189, allocations: 1.174 MB / 0.6148 GB, free: 9.609 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003029/0.4192, allocations: 71.41 kB / 0.6148 GB, free: 9.539 MB / 462.1 MB Notification: Performance of SimCode: time 7.12e-07/0.4192, allocations: 4 kB / 0.6148 GB, free: 9.535 MB / 462.1 MB Notification: Performance of Templates: time 0.02505/0.4443, allocations: 18.56 MB / 0.633 GB, free: 6.93 MB / 478.1 MB " [Timeout remaining time 660] 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: 9.07129930704832] Failed to read output from testmodel.py, exit status != 0: 0.453729378990829 0.468115819 0.131995907 Calling exit ...