Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2.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.0007429/0.0007429, allocations: 87.62 kB / 21.44 MB, free: 3.129 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.004159/0.004159, allocations: 160.4 kB / 24.7 MB, free: 9.43 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.8579/0.8579, allocations: 177.2 MB / 205 MB, free: 5.738 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.2269/0.2269, allocations: 29.4 MB / 290.8 MB, free: 2.402 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_matrixTrDat2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2") translateModel(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 431.5 MB, free: 13.06 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.538e-05/2.695e-05, allocations: 6.219 kB / 431.5 MB, free: 13.05 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2): time 0.002472/0.002499, allocations: 2.195 MB / 433.7 MB, free: 10.84 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002294/0.004792, allocations: 1.903 MB / 435.6 MB, free: 8.926 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.517e-05/0.004848, allocations: 0 / 435.6 MB, free: 8.926 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001444/0.004992, allocations: 15.91 kB / 435.6 MB, free: 8.91 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 8.567e-05/0.005078, allocations: 27.84 kB / 435.6 MB, free: 8.883 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002051/0.007129, allocations: 0.9777 MB / 436.6 MB, free: 7.902 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001392/0.007268, allocations: 75.64 kB / 436.7 MB, free: 7.828 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.161e-05/0.00732, allocations: 192 / 436.7 MB, free: 7.828 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001536/0.007473, allocations: 55.81 kB / 436.7 MB, free: 7.773 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.819e-05/0.007562, allocations: 39.88 kB / 436.8 MB, free: 7.734 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.305e-05/0.007575, allocations: 0 / 436.8 MB, free: 7.734 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002143/0.009718, allocations: 1.902 MB / 438.7 MB, free: 5.828 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 6.03e-05/0.009778, allocations: 35.86 kB / 438.7 MB, free: 5.793 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.948e-05/0.009817, allocations: 15.92 kB / 438.7 MB, free: 5.777 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001767/0.01158, allocations: 1.508 MB / 440.2 MB, free: 4.266 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.846e-06/0.01159, allocations: 0 / 440.2 MB, free: 4.266 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.01159, allocations: 0 / 440.2 MB, free: 4.266 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.412e-06/0.01159, allocations: 3.984 kB / 440.2 MB, free: 4.262 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0006719/0.01227, allocations: 0.5019 MB / 440.7 MB, free: 3.723 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.285e-05/0.01231, allocations: 11.98 kB / 440.8 MB, free: 3.711 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.552e-05/0.01235, allocations: 16.84 kB / 440.8 MB, free: 3.695 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001469/0.0125, allocations: 144.5 kB / 440.9 MB, free: 3.531 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.516e-05/0.01252, allocations: 4.375 kB / 440.9 MB, free: 3.527 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.181e-05/0.01253, allocations: 3.938 kB / 440.9 MB, free: 3.523 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001847/0.01271, allocations: 159.3 kB / 441.1 MB, free: 3.355 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.145e-06/0.01272, allocations: 4 kB / 441.1 MB, free: 3.352 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.568e-06/0.01273, allocations: 0 / 441.1 MB, free: 3.352 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.629e-06/0.01274, allocations: 0 / 441.1 MB, free: 3.352 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.113e-05/0.01283, allocations: 125.6 kB / 441.2 MB, free: 3.223 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001132/0.01294, allocations: 125.2 kB / 441.3 MB, free: 3.07 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001161/0.01306, allocations: 152.2 kB / 441.5 MB, free: 2.906 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.638e-05/0.01314, allocations: 130.5 kB / 441.6 MB, free: 2.77 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.636e-06/0.01315, allocations: 3.938 kB / 441.6 MB, free: 2.766 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.344e-05/0.01317, allocations: 34.56 kB / 441.6 MB, free: 2.723 MB / 410.7 MB Notification: Performance of pre-optimization done (n=24): time 9.02e-07/0.01318, allocations: 0 / 441.6 MB, free: 2.723 MB / 410.7 MB Notification: Performance of matching and sorting (n=24): time 0.0004443/0.01362, allocations: 474.8 kB / 442.1 MB, free: 2.234 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.549e-05/0.01367, allocations: 93.11 kB / 442.2 MB, free: 2.125 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.586e-05/0.01376, allocations: 148.3 kB / 442.3 MB, free: 1.973 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.29e-05/0.01377, allocations: 29.69 kB / 442.4 MB, free: 1.938 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.424e-05/0.01382, allocations: 100.6 kB / 442.5 MB, free: 1.836 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.741e-05/0.01388, allocations: 83.25 kB / 442.5 MB, free: 1.754 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.477e-05/0.01391, allocations: 33.69 kB / 442.6 MB, free: 1.715 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.789e-05/0.01401, allocations: 334.8 kB / 442.9 MB, free: 1.379 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.794e-05/0.0141, allocations: 121.7 kB / 443 MB, free: 1.254 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.445e-05/0.01418, allocations: 131.1 kB / 443.2 MB, free: 1.121 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002062/0.01439, allocations: 292.2 kB / 443.4 MB, free: 0.8203 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.01439, allocations: 0 / 443.4 MB, free: 0.8203 MB / 410.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002518/0.01464, allocations: 328.6 kB / 443.8 MB, free: 492 kB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.247e-05/0.01469, allocations: 69.66 kB / 443.8 MB, free: 416 kB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.0147, allocations: 0 / 443.8 MB, free: 416 kB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.41e-05/0.01471, allocations: 0 / 443.8 MB, free: 416 kB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.833e-06/0.01471, allocations: 4.062 kB / 443.8 MB, free: 412 kB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.392e-06/0.01472, allocations: 7.938 kB / 443.8 MB, free: 404 kB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.004e-05/0.01477, allocations: 19.83 kB / 443.9 MB, free: 384 kB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.073e-05/0.01479, allocations: 4 kB / 443.9 MB, free: 380 kB / 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 0.0001125/0.0149, allocations: 191.5 kB / 444 MB, free: 172 kB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.659e-05/0.01492, allocations: 23.84 kB / 444.1 MB, free: 148 kB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.537e-05/0.01494, allocations: 13.27 kB / 444.1 MB, free: 132 kB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.01494, allocations: 4 kB / 444.1 MB, free: 128 kB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.01494, allocations: 0 / 444.1 MB, free: 128 kB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.01495, allocations: 0 / 444.1 MB, free: 128 kB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.174/0.189, allocations: 126.9 kB / 444.2 MB, free: 54.23 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.547e-06/0.189, allocations: 1.781 kB / 444.2 MB, free: 54.23 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.175e-06/0.189, allocations: 3.688 kB / 444.2 MB, free: 54.23 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.33e-06/0.189, allocations: 4.125 kB / 444.2 MB, free: 54.23 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.175e-05/0.189, allocations: 5.188 kB / 444.2 MB, free: 54.23 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/0.189, allocations: 0.7188 kB / 444.2 MB, free: 54.23 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.189, allocations: 3.531 kB / 444.2 MB, free: 54.23 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004221/0.1895, allocations: 0.5043 MB / 444.7 MB, free: 54.11 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.568e-05/0.1895, allocations: 20.48 kB / 444.8 MB, free: 54.11 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.736e-05/0.1895, allocations: 7.172 kB / 444.8 MB, free: 54.11 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.252e-05/0.1895, allocations: 3.25 kB / 444.8 MB, free: 54.11 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.076e-05/0.1895, allocations: 6.094 kB / 444.8 MB, free: 54.11 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.242e-05/0.1896, allocations: 6.188 kB / 444.8 MB, free: 54.11 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.493e-05/0.1896, allocations: 122.4 kB / 444.9 MB, free: 54.04 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1896, allocations: 0 / 444.9 MB, free: 54.04 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0009018/0.1905, allocations: 338 kB / 445.2 MB, free: 54.04 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.0007267/0.1912, allocations: 412.2 kB / 445.6 MB, free: 53.95 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004019/0.1916, allocations: 0.5043 MB / 446.1 MB, free: 53.82 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.1916, allocations: 0 / 446.1 MB, free: 53.82 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001592/0.1918, allocations: 297 kB / 446.4 MB, free: 53.73 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001781/0.192, allocations: 12.84 kB / 446.4 MB, free: 53.73 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005571/0.1925, allocations: 0.5459 MB / 447 MB, free: 53.52 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.922e-05/0.1926, allocations: 120.7 kB / 447.1 MB, free: 53.44 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.199e-05/0.1926, allocations: 8.5 kB / 447.1 MB, free: 53.43 MB / 410.7 MB Notification: Performance of SimCode: time 5.71e-07/0.1926, allocations: 3.406 kB / 447.1 MB, free: 53.43 MB / 410.7 MB Notification: Performance of Templates: time 0.006702/0.1993, allocations: 6.532 MB / 453.6 MB, free: 53.06 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.254162840545177] Failed to read output from testmodel.py, exit status != 0: 0.2049963241443038 0.21124125800000002 0.19824713900000002 Calling exit ...