Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Introductory.InitialSteadyState.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.001582/0.001582, allocations: 84.7 kB / 20.68 MB, free: 1.023 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.001604/0.001604, allocations: 166.5 kB / 23.95 MB, free: 4.16 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.456/1.456, allocations: 177.1 MB / 204.3 MB, free: 9.176 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.42 MB / 290.1 MB, free: 3.277 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.Introductory.InitialSteadyState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Introductory.InitialSteadyState") translateModel(PowerSystems.Examples.Introductory.InitialSteadyState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Introductory.InitialSteadyState") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 0 / 430.7 MB, free: 1.957 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.47e-05/2.635e-05, allocations: 5.516 kB / 430.7 MB, free: 1.953 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.InitialSteadyState): time 0.00606/0.006086, allocations: 4.319 MB / 435 MB, free: 13.6 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002482/0.008568, allocations: 1.379 MB / 436.4 MB, free: 12.22 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001566/0.008725, allocations: 19.81 kB / 436.4 MB, free: 12.2 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001116/0.009841, allocations: 370.4 kB / 436.8 MB, free: 11.84 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005545/0.0104, allocations: 266.5 kB / 437 MB, free: 11.57 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006783/0.01107, allocations: 255.3 kB / 437.3 MB, free: 11.32 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007119/0.01179, allocations: 0.5727 MB / 437.9 MB, free: 10.75 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000399/0.01218, allocations: 221.5 kB / 438.1 MB, free: 10.54 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005348/0.01272, allocations: 351 kB / 438.4 MB, free: 10.19 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005364/0.01326, allocations: 343.2 kB / 438.7 MB, free: 9.855 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 7.47e-05/0.01333, allocations: 36 kB / 438.8 MB, free: 9.82 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005476/0.01388, allocations: 231.5 kB / 439 MB, free: 9.594 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003/0.01418, allocations: 255.3 kB / 439.3 MB, free: 9.344 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002583/0.01444, allocations: 179.6 kB / 439.4 MB, free: 9.168 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009143/0.01535, allocations: 0.6972 MB / 440.1 MB, free: 8.469 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.586e-06/0.01535, allocations: 0 / 440.1 MB, free: 8.469 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.522e-06/0.01536, allocations: 3.938 kB / 440.1 MB, free: 8.465 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.316e-05/0.01537, allocations: 4 kB / 440.1 MB, free: 8.461 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: 118 * Number of variables: 118 Notification: Performance of Generate backend data structure: time 0.001477/0.01685, allocations: 0.7133 MB / 440.9 MB, free: 7.719 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.745e-05/0.01689, allocations: 11.98 kB / 440.9 MB, free: 7.707 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008149/0.01771, allocations: 128.5 kB / 441 MB, free: 7.582 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007315/0.01844, allocations: 363.9 kB / 441.3 MB, free: 7.199 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.65e-05/0.01848, allocations: 29.38 kB / 441.4 MB, free: 7.172 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001632/0.01864, allocations: 52.72 kB / 441.4 MB, free: 7.121 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001156/0.0198, allocations: 0.6805 MB / 442.1 MB, free: 6.402 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.785e-05/0.01982, allocations: 7.953 kB / 442.1 MB, free: 6.395 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.017e-05/0.01988, allocations: 19.98 kB / 442.1 MB, free: 6.375 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001967/0.02008, allocations: 56.95 kB / 442.2 MB, free: 6.32 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001151/0.02123, allocations: 0.6635 MB / 442.9 MB, free: 5.656 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003741/0.02497, allocations: 2.214 MB / 445.1 MB, free: 3.348 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000618/0.02559, allocations: 329.7 kB / 445.4 MB, free: 3.008 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003816/0.02597, allocations: 226 kB / 445.6 MB, free: 2.781 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.579e-05/0.02601, allocations: 8.281 kB / 445.6 MB, free: 2.773 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.404e-05/0.02605, allocations: 42.78 kB / 445.7 MB, free: 2.723 MB / 366.1 MB Notification: Performance of pre-optimization done (n=45): time 2.224e-06/0.02605, allocations: 0 / 445.7 MB, free: 2.723 MB / 366.1 MB Notification: Performance of matching and sorting (n=46): time 0.002652/0.02871, allocations: 1.398 MB / 447.1 MB, free: 1.289 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.663e-05/0.02878, allocations: 89.05 kB / 447.1 MB, free: 1.184 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003285/0.02911, allocations: 276.1 kB / 447.4 MB, free: 0.9062 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.299e-05/0.02915, allocations: 33.7 kB / 447.4 MB, free: 0.8672 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002068/0.02936, allocations: 256.2 kB / 447.7 MB, free: 0.6094 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001551/0.02952, allocations: 166.7 kB / 447.9 MB, free: 456 kB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001604/0.02968, allocations: 98.17 kB / 448 MB, free: 352 kB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002006/0.02988, allocations: 342.8 kB / 448.3 MB, free: 0 / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005071/0.03038, allocations: 216 kB / 448.5 MB, free: 30.04 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000399/0.03078, allocations: 362.2 kB / 448.9 MB, free: 29.89 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008034/0.03159, allocations: 0.6313 MB / 449.5 MB, free: 29.63 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.41e-06/0.03159, allocations: 1.891 kB / 449.5 MB, free: 29.63 MB / 366.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001448/0.03304, allocations: 0.7186 MB / 450.2 MB, free: 29.38 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.394e-05/0.03306, allocations: 9.031 kB / 450.2 MB, free: 29.38 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0009536/0.03402, allocations: 0.5221 MB / 450.7 MB, free: 29.21 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004047/0.03442, allocations: 76.66 kB / 450.8 MB, free: 29.19 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004399/0.03486, allocations: 105.5 kB / 450.9 MB, free: 29.18 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001517/0.03638, allocations: 1.59 MB / 452.5 MB, free: 27.84 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000315/0.03669, allocations: 32.88 kB / 452.5 MB, free: 27.84 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.35e-05/0.03675, allocations: 29.81 kB / 452.6 MB, free: 27.83 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (54): * Single equations (assignments): 51 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002877/0.03704, allocations: 218.4 kB / 452.8 MB, free: 27.67 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001305/0.03717, allocations: 35.05 kB / 452.8 MB, free: 27.67 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000966/0.03813, allocations: 0.5543 MB / 453.4 MB, free: 27.45 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.767e-05/0.03816, allocations: 16.78 kB / 453.4 MB, free: 27.45 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.755e-06/0.03816, allocations: 2.25 kB / 453.4 MB, free: 27.45 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.996e-06/0.03817, allocations: 6.859 kB / 453.4 MB, free: 27.45 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001724/0.0399, allocations: 1.069 MB / 454.5 MB, free: 26.95 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.868e-06/0.0399, allocations: 0 / 454.5 MB, free: 26.95 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004044/0.0403, allocations: 82.42 kB / 454.5 MB, free: 26.95 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.271e-06/0.04031, allocations: 2.75 kB / 454.5 MB, free: 26.95 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.404e-05/0.04034, allocations: 16.75 kB / 454.6 MB, free: 26.94 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.659e-06/0.04035, allocations: 6.688 kB / 454.6 MB, free: 26.93 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.04035, allocations: 2.031 kB / 454.6 MB, free: 26.93 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001133/0.04148, allocations: 0.9248 MB / 455.5 MB, free: 26.51 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.399e-05/0.04154, allocations: 39.86 kB / 455.5 MB, free: 26.5 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.304e-05/0.04159, allocations: 11.8 kB / 455.5 MB, free: 26.5 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000232/0.04182, allocations: 22.19 kB / 455.6 MB, free: 26.49 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.435e-05/0.0419, allocations: 26.02 kB / 455.6 MB, free: 26.49 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.204e-05/0.04193, allocations: 13.61 kB / 455.6 MB, free: 26.49 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001773/0.04211, allocations: 193.1 kB / 455.8 MB, free: 26.38 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.04211, allocations: 1.375 kB / 455.8 MB, free: 26.38 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005813/0.04269, allocations: 121.7 kB / 455.9 MB, free: 26.36 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 3 (load_dq0.i[1],load_dq0.i[2],load_dq0.i[3]) * 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 (39): * Single equations (assignments): 36 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002879/0.04298, allocations: 138 kB / 456 MB, free: 26.26 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00113/0.04411, allocations: 0.6451 MB / 456.7 MB, free: 26 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.04411, allocations: 0 / 456.7 MB, free: 26 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000376/0.04448, allocations: 232.3 kB / 456.9 MB, free: 25.93 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005624/0.04505, allocations: 68.67 kB / 457 MB, free: 25.91 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001896/0.04694, allocations: 1.091 MB / 458.1 MB, free: 25.37 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000325/0.04727, allocations: 277.2 kB / 458.3 MB, free: 25.27 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003238/0.04759, allocations: 125.5 kB / 458.5 MB, free: 25.25 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001179/0.04771, allocations: 34.28 kB / 458.5 MB, free: 25.24 MB / 366.1 MB Notification: Performance of SimCode: time 3.4e-07/0.04771, allocations: 2.344 kB / 458.5 MB, free: 25.24 MB / 366.1 MB Notification: Performance of Templates: time 0.01146/0.05917, allocations: 4.474 MB / 463 MB, free: 24.79 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.Introductory.InitialSteadyState.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.Introductory.InitialSteadyState.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Introductory.InitialSteadyState.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Introductory.InitialSteadyState.pipe >> ../files/PowerSystems_PowerSystems.Examples.Introductory.InitialSteadyState.sim & ./PowerSystems_PowerSystems.Examples.Introductory.InitialSteadyState -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Introductory.InitialSteadyState.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.907031625509262] Failed to read output from testmodel.py, exit status != 0: 0.2846475653350353 0.29528504 0.277724813 Calling exit ...