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.001569/0.001569, allocations: 84.45 kB / 20.68 MB, free: 1.047 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.001815/0.001815, allocations: 168 kB / 23.96 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.495/1.495, allocations: 177.1 MB / 204.3 MB, free: 9.172 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.1762/0.1762, allocations: 29.43 MB / 290.1 MB, free: 3.27 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: Performance of FrontEnd - loaded program: time 1.542e-06/1.542e-06, allocations: 0 / 430.7 MB, free: 1.938 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.221e-05/3.375e-05, allocations: 9.656 kB / 430.7 MB, free: 1.93 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop_dq0): time 0.009189/0.009223, allocations: 6.95 MB / 437.7 MB, free: 10.94 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.006835/0.01606, allocations: 4.124 MB / 441.8 MB, free: 6.801 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004174/0.01648, allocations: 19.94 kB / 441.8 MB, free: 6.781 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002893/0.01937, allocations: 1.019 MB / 442.8 MB, free: 5.758 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003546/0.02291, allocations: 1.33 MB / 444.2 MB, free: 4.422 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001155/0.02407, allocations: 346.7 kB / 444.5 MB, free: 4.082 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001969/0.02604, allocations: 1.429 MB / 445.9 MB, free: 2.648 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001008/0.02705, allocations: 0.5704 MB / 446.5 MB, free: 2.066 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001391/0.02844, allocations: 0.8566 MB / 447.4 MB, free: 1.207 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001194/0.02963, allocations: 0.7401 MB / 448.1 MB, free: 476 kB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001383/0.02977, allocations: 80 kB / 448.2 MB, free: 396 kB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2297/0.2594, allocations: 1.418 MB / 449.6 MB, free: 16.81 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009186/0.2603, allocations: 0.651 MB / 450.3 MB, free: 16.81 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006178/0.261, allocations: 409.1 kB / 450.7 MB, free: 16.81 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003859/0.2648, allocations: 1.989 MB / 452.6 MB, free: 16.76 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.2648, allocations: 0.6094 kB / 452.6 MB, free: 16.76 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.2648, allocations: 0 / 452.6 MB, free: 16.76 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.054e-05/0.2649, allocations: 1.406 kB / 452.6 MB, free: 16.76 MB / 366.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.00231/0.2672, allocations: 1.277 MB / 453.9 MB, free: 16.08 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.98e-05/0.2672, allocations: 12.67 kB / 453.9 MB, free: 16.07 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004319/0.2715, allocations: 0.5516 MB / 454.5 MB, free: 16.02 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009951/0.2725, allocations: 0.5089 MB / 455 MB, free: 15.8 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.588e-05/0.2726, allocations: 67.31 kB / 455.1 MB, free: 15.8 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001671/0.2727, allocations: 85.66 kB / 455.1 MB, free: 15.8 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002383/0.2751, allocations: 1.499 MB / 456.6 MB, free: 15.68 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.284e-05/0.2752, allocations: 1.719 kB / 456.6 MB, free: 15.68 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001274/0.2753, allocations: 44.61 kB / 456.7 MB, free: 15.68 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001325/0.2754, allocations: 102.8 kB / 456.8 MB, free: 15.67 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00246/0.2779, allocations: 1.543 MB / 458.3 MB, free: 15.65 MB / 366.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.007602/0.2855, allocations: 4.204 MB / 462.5 MB, free: 13.99 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001841/0.2873, allocations: 1.092 MB / 463.6 MB, free: 13.59 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001008/0.2883, allocations: 0.6881 MB / 464.3 MB, free: 13.35 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.093e-05/0.2884, allocations: 13.97 kB / 464.3 MB, free: 13.34 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.132e-05/0.2884, allocations: 49.86 kB / 464.4 MB, free: 13.3 MB / 366.1 MB Notification: Performance of pre-optimization done (n=107): time 3.436e-06/0.2884, allocations: 1.75 kB / 464.4 MB, free: 13.3 MB / 366.1 MB Notification: Performance of matching and sorting (n=108): time 0.008133/0.2966, allocations: 3.525 MB / 467.9 MB, free: 12.02 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.438e-05/0.2966, allocations: 89.67 kB / 468 MB, free: 11.92 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005863/0.2972, allocations: 478.1 kB / 468.5 MB, free: 11.7 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 7.367e-05/0.2973, allocations: 46.58 kB / 468.5 MB, free: 11.66 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002028/0.2975, allocations: 436.5 kB / 468.9 MB, free: 11.31 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002691/0.2978, allocations: 385 kB / 469.3 MB, free: 11.01 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003091/0.2981, allocations: 196.9 kB / 469.5 MB, free: 10.92 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001025/0.2982, allocations: 388.9 kB / 469.9 MB, free: 10.57 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007428/0.2989, allocations: 0.5353 MB / 470.4 MB, free: 10.39 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009308/0.2998, allocations: 0.7543 MB / 471.2 MB, free: 9.98 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001798/0.3016, allocations: 1.399 MB / 472.6 MB, free: 9.289 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.789e-06/0.3016, allocations: 0 / 472.6 MB, free: 9.289 MB / 366.1 MB Notification: Performance of matching and sorting (n=139) (initialization): time 0.00283/0.3045, allocations: 1.796 MB / 474.4 MB, free: 8.656 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.526e-05/0.3045, allocations: 7.688 kB / 474.4 MB, free: 8.656 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.22e-05/0.3045, allocations: 3.781 kB / 474.4 MB, free: 8.656 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001002/0.3055, allocations: 405.1 kB / 474.8 MB, free: 8.559 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008499/0.3064, allocations: 238.2 kB / 475 MB, free: 8.551 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005826/0.3122, allocations: 5.627 MB / 480.6 MB, free: 4.344 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009507/0.3131, allocations: 63.73 kB / 480.7 MB, free: 4.309 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.206e-05/0.3132, allocations: 46.2 kB / 480.7 MB, free: 4.297 MB / 366.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.0006509/0.3139, allocations: 363.7 kB / 481.1 MB, free: 4.047 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001358/0.314, allocations: 73.22 kB / 481.2 MB, free: 4.008 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002712/0.3167, allocations: 1.797 MB / 483 MB, free: 2.617 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.448e-06/0.3167, allocations: 16.69 kB / 483 MB, free: 2.602 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/0.3168, allocations: 4 kB / 483 MB, free: 2.598 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.21e-05/0.3168, allocations: 7.922 kB / 483 MB, free: 2.59 MB / 366.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.004803/0.3216, allocations: 3.066 MB / 486.1 MB, free: 15.51 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.556e-06/0.3216, allocations: 4 kB / 486.1 MB, free: 15.51 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008906/0.3225, allocations: 190.8 kB / 486.2 MB, free: 15.33 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001028/0.3235, allocations: 349.4 kB / 486.6 MB, free: 14.98 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.17e-05/0.3236, allocations: 27.98 kB / 486.6 MB, free: 14.96 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007323/0.3309, allocations: 5.401 MB / 492 MB, free: 9.387 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.194e-05/0.3309, allocations: 11.22 kB / 492 MB, free: 9.379 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003477/0.3344, allocations: 1.803 MB / 493.8 MB, free: 7.527 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002275/0.3346, allocations: 88.5 kB / 493.9 MB, free: 7.445 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001331/0.3347, allocations: 31.94 kB / 494 MB, free: 7.414 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005831/0.3353, allocations: 47.95 kB / 494 MB, free: 7.367 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002002/0.3355, allocations: 98.45 kB / 494.1 MB, free: 7.277 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.194e-05/0.3356, allocations: 39.92 kB / 494.1 MB, free: 7.238 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004339/0.3361, allocations: 323.1 kB / 494.4 MB, free: 6.922 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3361, allocations: 0 / 494.4 MB, free: 6.922 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001341/0.3374, allocations: 396 kB / 494.8 MB, free: 6.535 MB / 382.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.0001998/0.3376, allocations: 124.7 kB / 495 MB, free: 6.414 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002936/0.3405, allocations: 1.689 MB / 496.6 MB, free: 4.742 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/0.3405, allocations: 0 / 496.6 MB, free: 4.742 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001643/0.3422, allocations: 1.016 MB / 497.7 MB, free: 3.727 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000844/0.343, allocations: 127 kB / 497.8 MB, free: 3.602 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004118/0.3471, allocations: 2.227 MB / 0.4883 GB, free: 1.312 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007608/0.3479, allocations: 0.5692 MB / 0.4888 GB, free: 0.7148 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0005626/0.3485, allocations: 233.3 kB / 0.4891 GB, free: 496 kB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002654/0.3487, allocations: 72.47 kB / 0.4891 GB, free: 424 kB / 382.1 MB Notification: Performance of SimCode: time 5.81e-07/0.3487, allocations: 0 / 0.4891 GB, free: 424 kB / 382.1 MB Notification: Performance of Templates: time 0.02374/0.3725, allocations: 12.67 MB / 0.5015 GB, free: 3.863 MB / 398.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: 5.3459725715219975] Failed to read output from testmodel.py, exit status != 0: 0.3821607641875744 0.398075398 0.12947366700000001 Calling exit ...