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.001544/0.001544, allocations: 103.6 kB / 21.18 MB, free: 0.6445 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.002034/0.002034, allocations: 209 kB / 24.48 MB, free: 3.938 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.495/1.495, allocations: 230.6 MB / 258.2 MB, free: 7.742 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.1916/0.1916, allocations: 38.54 MB / 353.2 MB, free: 12.3 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.002128/0.002128, allocations: 67.89 kB / 493.7 MB, free: 4.176 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.364/0.3661, allocations: 62.47 MB / 0.5432 GB, free: 412 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop_dq0): time 0.009306/0.3754, allocations: 7.042 MB / 0.55 GB, free: 11.01 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.007086/0.3825, allocations: 4.163 MB / 0.5541 GB, free: 7.812 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006616/0.3831, allocations: 21.16 kB / 0.5541 GB, free: 7.805 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002928/0.3861, allocations: 1.012 MB / 0.5551 GB, free: 7.043 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003992/0.3901, allocations: 1.289 MB / 0.5564 GB, free: 6.066 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00118/0.3912, allocations: 357.3 kB / 0.5567 GB, free: 5.801 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002122/0.3934, allocations: 1.407 MB / 0.5581 GB, free: 4.875 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009949/0.3943, allocations: 0.5627 MB / 0.5586 GB, free: 4.297 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001185/0.3955, allocations: 0.6615 MB / 0.5593 GB, free: 3.633 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001111/0.3966, allocations: 0.7708 MB / 0.56 GB, free: 2.859 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001233/0.3968, allocations: 80 kB / 0.5601 GB, free: 2.781 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00297/0.3997, allocations: 1.403 MB / 0.5615 GB, free: 1.375 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006407/0.4004, allocations: 0.6117 MB / 0.5621 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000566/0.4009, allocations: 485.9 kB / 0.5626 GB, free: 292 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002843/0.4038, allocations: 1.904 MB / 0.5644 GB, free: 14.38 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.4038, allocations: 0 / 0.5644 GB, free: 14.38 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.4038, allocations: 4 kB / 0.5644 GB, free: 14.37 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.768e-05/0.4038, allocations: 0 / 0.5644 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.002162/0.406, allocations: 1.28 MB / 0.5657 GB, free: 13.05 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.307e-05/0.406, allocations: 11.98 kB / 0.5657 GB, free: 13.04 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003917/0.4099, allocations: 0.5463 MB / 0.5662 GB, free: 12.5 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001216/0.4112, allocations: 0.5153 MB / 0.5667 GB, free: 11.95 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.923e-05/0.4112, allocations: 62.36 kB / 0.5668 GB, free: 11.89 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001661/0.4114, allocations: 92.34 kB / 0.5669 GB, free: 11.8 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00248/0.4139, allocations: 1.501 MB / 0.5683 GB, free: 10.27 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.376e-05/0.4139, allocations: 7.938 kB / 0.5683 GB, free: 10.26 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.951e-05/0.414, allocations: 35.98 kB / 0.5684 GB, free: 10.22 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001428/0.4141, allocations: 102 kB / 0.5685 GB, free: 10.12 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002489/0.4166, allocations: 1.542 MB / 0.57 GB, free: 8.57 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.007966/0.4246, allocations: 4.214 MB / 0.5741 GB, free: 4.223 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001894/0.4265, allocations: 1.087 MB / 0.5751 GB, free: 3.117 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001056/0.4275, allocations: 0.6865 MB / 0.5758 GB, free: 2.43 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.886e-05/0.4276, allocations: 20.98 kB / 0.5758 GB, free: 2.41 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.613e-05/0.4277, allocations: 47.5 kB / 0.5759 GB, free: 2.355 MB / 414.1 MB Notification: Performance of pre-optimization done (n=107): time 3.346e-06/0.4277, allocations: 0 / 0.5759 GB, free: 2.355 MB / 414.1 MB Notification: Performance of matching and sorting (n=108): time 0.007969/0.4356, allocations: 3.521 MB / 0.5793 GB, free: 14.82 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.525e-05/0.4357, allocations: 90.11 kB / 0.5794 GB, free: 14.71 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006408/0.4364, allocations: 473.7 kB / 0.5799 GB, free: 14.24 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 7.691e-05/0.4364, allocations: 41.7 kB / 0.5799 GB, free: 14.19 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003374/0.4368, allocations: 444.7 kB / 0.5803 GB, free: 13.75 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003862/0.4372, allocations: 392.7 kB / 0.5807 GB, free: 13.36 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003333/0.4375, allocations: 194.9 kB / 0.5809 GB, free: 13.17 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002332/0.4377, allocations: 382.8 kB / 0.5812 GB, free: 12.79 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008897/0.4386, allocations: 0.5413 MB / 0.5818 GB, free: 12.24 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001061/0.4397, allocations: 0.7539 MB / 0.5825 GB, free: 11.41 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002048/0.4417, allocations: 1.396 MB / 0.5839 GB, free: 9.938 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.013e-06/0.4417, allocations: 4 kB / 0.5839 GB, free: 9.934 MB / 430.1 MB Notification: Performance of matching and sorting (n=139) (initialization): time 0.00324/0.445, allocations: 1.794 MB / 0.5856 GB, free: 8.125 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.591e-05/0.445, allocations: 4 kB / 0.5856 GB, free: 8.121 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.428e-05/0.445, allocations: 12.48 kB / 0.5856 GB, free: 8.109 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001149/0.4462, allocations: 413.3 kB / 0.586 GB, free: 7.699 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009203/0.4471, allocations: 235.6 kB / 0.5863 GB, free: 7.469 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007582/0.4547, allocations: 5.626 MB / 0.5918 GB, free: 1.645 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008076/0.4555, allocations: 59.94 kB / 0.5918 GB, free: 1.586 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.413e-05/0.4556, allocations: 48.05 kB / 0.5919 GB, free: 1.539 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.0005977/0.4562, allocations: 365.4 kB / 0.5922 GB, free: 1.172 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001561/0.4563, allocations: 87.39 kB / 0.5923 GB, free: 1.086 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003262/0.4596, allocations: 1.791 MB / 0.594 GB, free: 15.28 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.302e-05/0.4596, allocations: 12 kB / 0.5941 GB, free: 15.27 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.678e-06/0.4596, allocations: 4 kB / 0.5941 GB, free: 15.27 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.168e-05/0.4596, allocations: 3.984 kB / 0.5941 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.00606/0.4657, allocations: 3.072 MB / 0.5971 GB, free: 12.1 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.046e-06/0.4657, allocations: 7.938 kB / 0.5971 GB, free: 12.09 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007585/0.4664, allocations: 191.7 kB / 0.5973 GB, free: 11.91 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000977/0.4674, allocations: 345.4 kB / 0.5976 GB, free: 11.56 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.537e-05/0.4675, allocations: 28 kB / 0.5976 GB, free: 11.54 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007107/0.4746, allocations: 5.406 MB / 0.6029 GB, free: 5.918 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.003e-06/0.4746, allocations: 7.938 kB / 0.6029 GB, free: 5.91 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003139/0.4778, allocations: 1.814 MB / 0.6047 GB, free: 4.027 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002257/0.478, allocations: 83.47 kB / 0.6047 GB, free: 3.945 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001111/0.4781, allocations: 24 kB / 0.6048 GB, free: 3.922 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005421/0.4786, allocations: 59.92 kB / 0.6048 GB, free: 3.863 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001925/0.4788, allocations: 96.7 kB / 0.6049 GB, free: 3.77 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.908e-05/0.4789, allocations: 36 kB / 0.605 GB, free: 3.734 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0004009/0.4793, allocations: 315.1 kB / 0.6053 GB, free: 3.426 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4793, allocations: 0 / 0.6053 GB, free: 3.426 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001275/0.4806, allocations: 400 kB / 0.6056 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.0002096/0.4808, allocations: 131 kB / 0.6058 GB, free: 2.898 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002824/0.4836, allocations: 1.681 MB / 0.6074 GB, free: 1.188 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.779e-06/0.4836, allocations: 0 / 0.6074 GB, free: 1.188 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001622/0.4852, allocations: 1.022 MB / 0.6084 GB, free: 148 kB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007902/0.486, allocations: 129.6 kB / 0.6085 GB, free: 24 kB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00426/0.4903, allocations: 2.348 MB / 0.6108 GB, free: 13.59 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00089/0.4912, allocations: 0.5755 MB / 0.6114 GB, free: 12.98 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003267/0.4915, allocations: 71.41 kB / 0.6114 GB, free: 12.91 MB / 462.1 MB Notification: Performance of SimCode: time 1.102e-06/0.4915, allocations: 0 / 0.6114 GB, free: 12.91 MB / 462.1 MB Notification: Performance of Templates: time 0.02949/0.521, allocations: 18.93 MB / 0.6299 GB, free: 9.938 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: 9.613920110277832] Failed to read output from testmodel.py, exit status != 0: 0.5306065999902785 0.54563734 0.138526791 Calling exit ...