Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.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.0008059/0.0008059, allocations: 87.62 kB / 21.43 MB, free: 3.133 MB / 18.57 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.003755/0.003755, allocations: 160.9 kB / 24.7 MB, free: 9.41 MB / 18.57 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 0.8509/0.8509, allocations: 177.1 MB / 205 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] 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.2128/0.2128, allocations: 29.41 MB / 290.8 MB, free: 2.43 MB / 266.7 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.AC3ph.Precalculation.Z_matrixEqCirc1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1") translateModel(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.262e-06/1.262e-06, allocations: 0 / 431.5 MB, free: 13.09 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.069e-05/2.195e-05, allocations: 10.22 kB / 431.5 MB, free: 13.08 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1): time 0.002393/0.002415, allocations: 2.136 MB / 433.6 MB, free: 10.92 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005282/0.002944, allocations: 0.5376 MB / 434.2 MB, free: 10.38 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.497e-05/0.002979, allocations: 3.938 kB / 434.2 MB, free: 10.38 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001161/0.003095, allocations: 15.92 kB / 434.2 MB, free: 10.36 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001027/0.003197, allocations: 23.84 kB / 434.2 MB, free: 10.34 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002669/0.003464, allocations: 75.69 kB / 434.3 MB, free: 10.27 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 9.282e-05/0.003557, allocations: 63.75 kB / 434.3 MB, free: 10.2 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.087e-05/0.003598, allocations: 8 kB / 434.3 MB, free: 10.2 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000117/0.003715, allocations: 39.83 kB / 434.4 MB, free: 10.16 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.027e-05/0.003755, allocations: 27.91 kB / 434.4 MB, free: 10.13 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 8.546e-06/0.003764, allocations: 0 / 434.4 MB, free: 10.13 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001318/0.003896, allocations: 99.72 kB / 434.5 MB, free: 10.03 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 3.932e-05/0.003935, allocations: 19.92 kB / 434.5 MB, free: 10.01 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 1.842e-05/0.003953, allocations: 11.94 kB / 434.5 MB, free: 10 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001339/0.004087, allocations: 107.7 kB / 434.6 MB, free: 9.895 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.004e-06/0.004089, allocations: 0 / 434.6 MB, free: 9.895 MB / 410.7 MB Notification: Performance of FrontEnd: time 8.31e-07/0.00409, allocations: 4 kB / 434.7 MB, free: 9.891 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.536e-06/0.004094, allocations: 4 kB / 434.7 MB, free: 9.887 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0002664/0.00436, allocations: 323.7 kB / 435 MB, free: 9.535 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.245e-05/0.004392, allocations: 15.98 kB / 435 MB, free: 9.52 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.009e-05/0.004423, allocations: 4.891 kB / 435 MB, free: 9.516 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001077/0.00453, allocations: 125.6 kB / 435.1 MB, free: 9.367 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.594e-06/0.004538, allocations: 384 / 435.1 MB, free: 9.367 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.726e-06/0.004547, allocations: 4.375 kB / 435.1 MB, free: 9.363 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001091/0.004656, allocations: 103.9 kB / 435.2 MB, free: 9.25 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.334e-06/0.004663, allocations: 3.938 kB / 435.2 MB, free: 9.246 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.905e-06/0.004671, allocations: 0 / 435.2 MB, free: 9.246 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.057e-06/0.004675, allocations: 4 kB / 435.2 MB, free: 9.242 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.172e-05/0.004727, allocations: 89.59 kB / 435.3 MB, free: 9.148 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.327e-05/0.00481, allocations: 105.3 kB / 435.4 MB, free: 9.016 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.98e-05/0.00488, allocations: 96.19 kB / 435.5 MB, free: 8.906 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.634e-05/0.004926, allocations: 78.58 kB / 435.6 MB, free: 8.82 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.981e-06/0.004932, allocations: 3.984 kB / 435.6 MB, free: 8.816 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.833e-05/0.00495, allocations: 34.56 kB / 435.6 MB, free: 8.773 MB / 410.7 MB Notification: Performance of pre-optimization done (n=12): time 5.31e-07/0.004951, allocations: 0 / 435.6 MB, free: 8.773 MB / 410.7 MB Notification: Performance of matching and sorting (n=12): time 0.0002237/0.005175, allocations: 286.6 kB / 435.9 MB, free: 8.469 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.547e-05/0.00521, allocations: 89.09 kB / 436 MB, free: 8.363 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.479e-05/0.005275, allocations: 121.8 kB / 436.1 MB, free: 8.234 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.585e-06/0.005282, allocations: 29.73 kB / 436.1 MB, free: 8.199 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.867e-05/0.005311, allocations: 88.14 kB / 436.2 MB, free: 8.109 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.486e-05/0.005346, allocations: 51.5 kB / 436.3 MB, free: 8.059 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.513e-05/0.005371, allocations: 21.94 kB / 436.3 MB, free: 8.031 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.208e-05/0.005443, allocations: 318.8 kB / 436.6 MB, free: 7.711 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.511e-05/0.005488, allocations: 77.61 kB / 436.7 MB, free: 7.629 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.942e-05/0.005528, allocations: 74.45 kB / 436.8 MB, free: 7.551 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001005/0.005628, allocations: 184.2 kB / 436.9 MB, free: 7.355 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.00563, allocations: 3.984 kB / 436.9 MB, free: 7.352 MB / 410.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001144/0.005745, allocations: 200.9 kB / 437.1 MB, free: 7.137 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.004e-05/0.005775, allocations: 49.75 kB / 437.2 MB, free: 7.082 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.507e-06/0.005778, allocations: 0 / 437.2 MB, free: 7.082 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.568e-06/0.005788, allocations: 3.938 kB / 437.2 MB, free: 7.078 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.41e-07/0.005788, allocations: 0 / 437.2 MB, free: 7.078 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.067e-06/0.005792, allocations: 4 kB / 437.2 MB, free: 7.074 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.438e-05/0.005807, allocations: 3.953 kB / 437.2 MB, free: 7.07 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.153e-05/0.005818, allocations: 4 kB / 437.2 MB, free: 7.066 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.107e-05/0.005889, allocations: 167.5 kB / 437.4 MB, free: 6.887 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.736e-06/0.005898, allocations: 11.95 kB / 437.4 MB, free: 6.875 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.557e-06/0.005907, allocations: 8.375 kB / 437.4 MB, free: 6.867 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.405e-06/0.005909, allocations: 7.938 kB / 437.4 MB, free: 6.859 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.005913, allocations: 0 / 437.4 MB, free: 6.859 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.134e-06/0.005915, allocations: 0 / 437.4 MB, free: 6.859 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.823e-05/0.005973, allocations: 117.2 kB / 437.5 MB, free: 6.715 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.005975, allocations: 3.984 kB / 437.5 MB, free: 6.711 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.6e-07/0.005975, allocations: 0 / 437.5 MB, free: 6.711 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.71e-07/0.005976, allocations: 0 / 437.5 MB, free: 6.711 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.373e-06/0.005983, allocations: 4 kB / 437.5 MB, free: 6.707 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.91e-07/0.005983, allocations: 0 / 437.5 MB, free: 6.707 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.005985, allocations: 3.938 kB / 437.5 MB, free: 6.703 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001971/0.006182, allocations: 316.3 kB / 437.8 MB, free: 6.363 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.943e-06/0.006189, allocations: 7.984 kB / 437.8 MB, free: 6.355 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.085e-05/0.0062, allocations: 4 kB / 437.8 MB, free: 6.352 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.708e-06/0.006209, allocations: 4 kB / 437.8 MB, free: 6.348 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.256e-05/0.006222, allocations: 3.938 kB / 437.8 MB, free: 6.344 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.291e-06/0.006228, allocations: 8 kB / 437.9 MB, free: 6.336 MB / 410.7 MB Notification: Performance of sorting global known variables: time 3.163e-05/0.00626, allocations: 91.27 kB / 437.9 MB, free: 6.246 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.00626, allocations: 0 / 437.9 MB, free: 6.246 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000143/0.006403, allocations: 39.86 kB / 438 MB, free: 6.207 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * 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.000118/0.006521, allocations: 115.2 kB / 438.1 MB, free: 6.086 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002111/0.006732, allocations: 302.7 kB / 438.4 MB, free: 5.766 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.272e-06/0.006733, allocations: 0 / 438.4 MB, free: 5.766 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 9.892e-05/0.006832, allocations: 193 kB / 438.6 MB, free: 5.559 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001456/0.006978, allocations: 18.59 kB / 438.6 MB, free: 5.543 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003286/0.007306, allocations: 336.5 kB / 438.9 MB, free: 5.176 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.84e-05/0.007355, allocations: 87.31 kB / 439 MB, free: 5.07 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.071e-05/0.007366, allocations: 8.5 kB / 439 MB, free: 5.062 MB / 410.7 MB Notification: Performance of SimCode: time 5.61e-07/0.007366, allocations: 4.125 kB / 439 MB, free: 5.059 MB / 410.7 MB Notification: Performance of Templates: time 0.001978/0.009344, allocations: 1.29 MB / 440.3 MB, free: 3.77 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.7057579243555665] Failed to read output from testmodel.py, exit status != 0: 0.013890927657485008 0.17357771100000002 0.16818592500000001 Calling exit ...