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.00141/0.00141, allocations: 69.72 kB / 21.24 MB, free: 0.5547 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.001459/0.001459, allocations: 162.5 kB / 24.5 MB, free: 3.715 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.484/1.484, allocations: 177.2 MB / 204.9 MB, free: 8.988 MB / 190.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.1782/0.1782, allocations: 29.43 MB / 290.7 MB, free: 3.242 MB / 270.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.003205/0.003205, allocations: 67.89 kB / 431.2 MB, free: 3.191 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3064/0.3096, allocations: 62.45 MB / 493.6 MB, free: 37.76 MB / 446.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop_dq0): time 0.005786/0.3154, allocations: 7.037 MB / 0.4889 GB, free: 33.01 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.004426/0.3198, allocations: 4.169 MB / 0.493 GB, free: 30.27 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002479/0.3201, allocations: 18.91 kB / 0.493 GB, free: 30.26 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002093/0.3222, allocations: 1.018 MB / 0.494 GB, free: 29.68 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002412/0.3246, allocations: 1.3 MB / 0.4953 GB, free: 29.03 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008569/0.3254, allocations: 342.8 kB / 0.4956 GB, free: 28.87 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001456/0.3269, allocations: 1.406 MB / 0.497 GB, free: 28.29 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007762/0.3277, allocations: 0.5701 MB / 0.4976 GB, free: 28.02 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008585/0.3285, allocations: 0.6631 MB / 0.4982 GB, free: 27.72 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000809/0.3293, allocations: 0.7651 MB / 0.499 GB, free: 27.46 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 9.698e-05/0.3294, allocations: 81.84 kB / 0.499 GB, free: 27.46 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002416/0.3319, allocations: 1.408 MB / 0.5004 GB, free: 26.99 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004467/0.3323, allocations: 0.6135 MB / 0.501 GB, free: 26.81 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004203/0.3327, allocations: 475.7 kB / 0.5015 GB, free: 26.59 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00272/0.3354, allocations: 1.911 MB / 0.5033 GB, free: 25.95 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.3354, allocations: 0 / 0.5033 GB, free: 25.95 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.3354, allocations: 0 / 0.5033 GB, free: 25.95 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.626e-05/0.3355, allocations: 3.938 kB / 0.5033 GB, free: 25.94 MB / 446.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.001772/0.3372, allocations: 1.289 MB / 0.5046 GB, free: 25.1 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.969e-05/0.3373, allocations: 12.14 kB / 0.5046 GB, free: 25.09 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003744/0.341, allocations: 0.5529 MB / 0.5051 GB, free: 25 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001105/0.3421, allocations: 0.5116 MB / 0.5056 GB, free: 24.68 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.88e-05/0.3422, allocations: 62.38 kB / 0.5057 GB, free: 24.65 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001511/0.3423, allocations: 85.23 kB / 0.5058 GB, free: 24.62 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002072/0.3444, allocations: 1.505 MB / 0.5072 GB, free: 24.04 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.053e-05/0.3444, allocations: 3.156 kB / 0.5073 GB, free: 24.04 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.881e-05/0.3445, allocations: 41.02 kB / 0.5073 GB, free: 24.01 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.282e-05/0.3446, allocations: 97.56 kB / 0.5074 GB, free: 24 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001875/0.3465, allocations: 1.537 MB / 0.5089 GB, free: 23.52 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 preOpt removeSimpleEquations (simulation): time 0.006648/0.3531, allocations: 4.213 MB / 0.513 GB, free: 21.34 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001584/0.3547, allocations: 1.089 MB / 0.5141 GB, free: 20.91 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009199/0.3556, allocations: 0.6904 MB / 0.5147 GB, free: 20.67 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.84e-05/0.3557, allocations: 14.56 kB / 0.5148 GB, free: 20.67 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.552e-05/0.3557, allocations: 45.61 kB / 0.5148 GB, free: 20.62 MB / 446.1 MB Notification: Performance of pre-optimization done (n=107): time 3.106e-06/0.3557, allocations: 0 / 0.5148 GB, free: 20.62 MB / 446.1 MB Notification: Performance of matching and sorting (n=108): time 0.007543/0.3633, allocations: 3.529 MB / 0.5182 GB, free: 19.31 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.945e-05/0.3633, allocations: 89.03 kB / 0.5183 GB, free: 19.21 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000509/0.3638, allocations: 474.4 kB / 0.5188 GB, free: 18.99 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.649e-05/0.3639, allocations: 41.7 kB / 0.5188 GB, free: 18.95 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000203/0.3641, allocations: 443.4 kB / 0.5192 GB, free: 18.59 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002664/0.3643, allocations: 390.7 kB / 0.5196 GB, free: 18.29 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003095/0.3647, allocations: 196.6 kB / 0.5198 GB, free: 18.2 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001176/0.3648, allocations: 382.6 kB / 0.5202 GB, free: 17.86 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007729/0.3655, allocations: 0.5421 MB / 0.5207 GB, free: 17.67 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008901/0.3664, allocations: 0.7531 MB / 0.5214 GB, free: 17.25 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001842/0.3683, allocations: 1.398 MB / 0.5228 GB, free: 16.54 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.67e-06/0.3683, allocations: 2.156 kB / 0.5228 GB, free: 16.54 MB / 446.1 MB Notification: Performance of matching and sorting (n=139) (initialization): time 0.003089/0.3714, allocations: 1.793 MB / 0.5245 GB, free: 15.85 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.43e-05/0.3714, allocations: 7.344 kB / 0.5246 GB, free: 15.85 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.448e-05/0.3714, allocations: 6.031 kB / 0.5246 GB, free: 15.85 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001102/0.3725, allocations: 409.8 kB / 0.525 GB, free: 15.75 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009155/0.3734, allocations: 239.8 kB / 0.5252 GB, free: 15.72 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006498/0.3799, allocations: 5.623 MB / 0.5307 GB, free: 11.92 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001183/0.3811, allocations: 62.33 kB / 0.5307 GB, free: 11.9 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001362/0.3812, allocations: 48.08 kB / 0.5308 GB, free: 11.89 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.0007298/0.382, allocations: 366.8 kB / 0.5311 GB, free: 11.66 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001574/0.3821, allocations: 88.28 kB / 0.5312 GB, free: 11.61 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003246/0.3854, allocations: 1.789 MB / 0.533 GB, free: 10.91 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.026e-05/0.3854, allocations: 13.06 kB / 0.533 GB, free: 10.91 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.102e-05/0.3854, allocations: 5.281 kB / 0.533 GB, free: 10.91 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.205e-05/0.3854, allocations: 7.625 kB / 0.533 GB, free: 10.91 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.006101/0.3915, allocations: 3.066 MB / 0.536 GB, free: 9.609 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.35e-05/0.3915, allocations: 5.203 kB / 0.536 GB, free: 9.609 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007829/0.3923, allocations: 193.1 kB / 0.5362 GB, free: 9.59 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009906/0.3933, allocations: 344.3 kB / 0.5365 GB, free: 9.504 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.08e-05/0.3934, allocations: 27.67 kB / 0.5365 GB, free: 9.488 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007066/0.4005, allocations: 5.409 MB / 0.5418 GB, free: 5.766 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.172e-06/0.4005, allocations: 8.438 kB / 0.5418 GB, free: 5.762 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00326/0.4037, allocations: 1.812 MB / 0.5436 GB, free: 4.91 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002932/0.404, allocations: 83.41 kB / 0.5437 GB, free: 4.863 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001034/0.4041, allocations: 26.02 kB / 0.5437 GB, free: 4.848 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005739/0.4047, allocations: 51.5 kB / 0.5437 GB, free: 4.832 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002542/0.405, allocations: 107 kB / 0.5438 GB, free: 4.805 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.548e-05/0.405, allocations: 37.31 kB / 0.5439 GB, free: 4.797 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0004417/0.4055, allocations: 314.6 kB / 0.5442 GB, free: 4.652 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4055, allocations: 0 / 0.5442 GB, free: 4.652 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001678/0.4072, allocations: 399.4 kB / 0.5446 GB, free: 4.398 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.0001855/0.4074, allocations: 128.8 kB / 0.5447 GB, free: 4.266 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002717/0.4101, allocations: 1.684 MB / 0.5463 GB, free: 2.77 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 7.944e-06/0.4101, allocations: 0 / 0.5463 GB, free: 2.77 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001416/0.4115, allocations: 1.024 MB / 0.5473 GB, free: 1.816 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000757/0.4122, allocations: 129.8 kB / 0.5474 GB, free: 1.691 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003477/0.4157, allocations: 2.254 MB / 0.5496 GB, free: 15.36 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007991/0.4165, allocations: 0.5678 MB / 0.5502 GB, free: 14.76 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0005823/0.4171, allocations: 237.3 kB / 0.5504 GB, free: 14.53 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002343/0.4173, allocations: 68.47 kB / 0.5505 GB, free: 14.46 MB / 462.1 MB Notification: Performance of SimCode: time 8.02e-07/0.4173, allocations: 0 / 0.5505 GB, free: 14.46 MB / 462.1 MB Notification: Performance of Templates: time 0.02365/0.441, allocations: 12.69 MB / 0.5629 GB, free: 1.848 MB / 462.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 -s ida -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.5465402089757845] Failed to read output from testmodel.py, exit status != 0: 0.4521250049583614 0.464417183 0.125800737 Calling exit ...