Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.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.002014/0.002014, allocations: 84.55 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.002266/0.002266, allocations: 163.9 kB / 23.95 MB, free: 4.156 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.515/1.515, allocations: 177.2 MB / 204.3 MB, free: 9.168 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.179/0.179, allocations: 29.43 MB / 290.1 MB, free: 3.266 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.AC3ph.Precalculation.Z_matrixEqCirc2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2") translateModel(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.233e-06/1.233e-06, allocations: 0 / 430.7 MB, free: 3.117 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.186e-05/2.309e-05, allocations: 6.219 kB / 430.7 MB, free: 3.109 MB / 398.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2): time 0.003248/0.003271, allocations: 2.133 MB / 432.9 MB, free: 0.957 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008719/0.004143, allocations: 0.5336 MB / 433.4 MB, free: 432 kB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.482e-05/0.004178, allocations: 0 / 433.4 MB, free: 432 kB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001491/0.004327, allocations: 19.91 kB / 433.4 MB, free: 412 kB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 8.321e-05/0.00441, allocations: 23.84 kB / 433.4 MB, free: 388 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003616/0.004772, allocations: 79.67 kB / 433.5 MB, free: 308 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001317/0.004903, allocations: 59.77 kB / 433.6 MB, free: 248 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.733e-05/0.004941, allocations: 8 kB / 433.6 MB, free: 240 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001486/0.005089, allocations: 39.83 kB / 433.6 MB, free: 200 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.928e-05/0.005149, allocations: 31.89 kB / 433.7 MB, free: 168 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.163e-05/0.00516, allocations: 0 / 433.7 MB, free: 168 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002172/0.005377, allocations: 99.72 kB / 433.8 MB, free: 68 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.525e-05/0.005433, allocations: 31.86 kB / 433.8 MB, free: 36 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.41e-05/0.005467, allocations: 15.94 kB / 433.8 MB, free: 20 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002224/0.005689, allocations: 123.6 kB / 433.9 MB, free: 15.9 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.863e-06/0.005691, allocations: 0 / 433.9 MB, free: 15.9 MB / 414.1 MB Notification: Performance of FrontEnd: time 7.01e-07/0.005692, allocations: 0 / 433.9 MB, free: 15.9 MB / 414.1 MB Notification: Performance of Transformations before backend: time 3.186e-06/0.005695, allocations: 0 / 433.9 MB, free: 15.9 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0004314/0.006126, allocations: 363.5 kB / 434.3 MB, free: 15.51 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.756e-05/0.006164, allocations: 19.97 kB / 434.3 MB, free: 15.49 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.153e-05/0.006205, allocations: 12.84 kB / 434.3 MB, free: 15.48 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001688/0.006374, allocations: 133.5 kB / 434.4 MB, free: 15.32 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.082e-05/0.006385, allocations: 384 / 434.4 MB, free: 15.32 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.166e-05/0.006397, allocations: 4.375 kB / 434.4 MB, free: 15.32 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002151/0.006612, allocations: 155.8 kB / 434.6 MB, free: 15.15 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.382e-05/0.006626, allocations: 3.938 kB / 434.6 MB, free: 15.15 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.067e-06/0.006635, allocations: 3.938 kB / 434.6 MB, free: 15.14 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.506e-06/0.006638, allocations: 0 / 434.6 MB, free: 15.14 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001458/0.006784, allocations: 133.7 kB / 434.7 MB, free: 15.01 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001559/0.00694, allocations: 125.1 kB / 434.9 MB, free: 14.86 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001644/0.007104, allocations: 140.2 kB / 435 MB, free: 14.7 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001518/0.007256, allocations: 126.5 kB / 435.1 MB, free: 14.57 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.036e-05/0.007266, allocations: 0 / 435.1 MB, free: 14.57 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.676e-05/0.007303, allocations: 34.56 kB / 435.2 MB, free: 14.53 MB / 414.1 MB Notification: Performance of pre-optimization done (n=24): time 9.82e-07/0.007304, allocations: 0 / 435.2 MB, free: 14.53 MB / 414.1 MB Notification: Performance of matching and sorting (n=24): time 0.0005818/0.007886, allocations: 457.8 kB / 435.6 MB, free: 14.06 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.576e-05/0.007972, allocations: 97.09 kB / 435.7 MB, free: 13.95 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001385/0.00811, allocations: 133 kB / 435.8 MB, free: 13.81 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.964e-05/0.00813, allocations: 29.73 kB / 435.9 MB, free: 13.77 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.509e-05/0.008195, allocations: 96.62 kB / 435.9 MB, free: 13.68 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.941e-05/0.008274, allocations: 83.28 kB / 436 MB, free: 13.59 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.275e-05/0.008317, allocations: 29.64 kB / 436.1 MB, free: 13.56 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001685/0.008486, allocations: 322.8 kB / 436.4 MB, free: 13.23 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001314/0.008617, allocations: 125.7 kB / 436.5 MB, free: 13.11 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001356/0.008752, allocations: 125.5 kB / 436.6 MB, free: 12.98 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002944/0.009047, allocations: 282.4 kB / 436.9 MB, free: 12.69 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.009049, allocations: 0 / 436.9 MB, free: 12.69 MB / 414.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003424/0.009391, allocations: 312.8 kB / 437.2 MB, free: 12.36 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.606e-05/0.009467, allocations: 61.66 kB / 437.3 MB, free: 12.3 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.009473, allocations: 12 kB / 437.3 MB, free: 12.29 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.302e-05/0.009486, allocations: 0 / 437.3 MB, free: 12.29 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.32e-07/0.009487, allocations: 0 / 437.3 MB, free: 12.29 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.577e-06/0.00949, allocations: 0 / 437.3 MB, free: 12.29 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.924e-05/0.00953, allocations: 15.83 kB / 437.3 MB, free: 12.27 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.043e-05/0.00955, allocations: 4 kB / 437.3 MB, free: 12.27 MB / 414.1 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.0001776/0.009728, allocations: 195.5 kB / 437.5 MB, free: 12.06 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.624e-05/0.009754, allocations: 15.95 kB / 437.5 MB, free: 12.04 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.351e-05/0.009777, allocations: 13.22 kB / 437.5 MB, free: 12.03 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.293e-06/0.009779, allocations: 0 / 437.5 MB, free: 12.03 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.936e-06/0.009782, allocations: 4 kB / 437.5 MB, free: 12.02 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.904e-06/0.009783, allocations: 0 / 437.5 MB, free: 12.02 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001201/0.009903, allocations: 129.2 kB / 437.6 MB, free: 11.87 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.009904, allocations: 3.938 kB / 437.6 MB, free: 11.86 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.41e-07/0.009905, allocations: 0 / 437.6 MB, free: 11.86 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.362e-06/0.009906, allocations: 0 / 437.6 MB, free: 11.86 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.618e-05/0.009922, allocations: 8 kB / 437.7 MB, free: 11.86 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.925e-06/0.009925, allocations: 7.875 kB / 437.7 MB, free: 11.85 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.009928, allocations: 4 kB / 437.7 MB, free: 11.84 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006494/0.01058, allocations: 0.4901 MB / 438.2 MB, free: 11.32 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.096e-05/0.0106, allocations: 19.84 kB / 438.2 MB, free: 11.3 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.463e-05/0.01062, allocations: 8.031 kB / 438.2 MB, free: 11.3 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.891e-05/0.01065, allocations: 7.938 kB / 438.2 MB, free: 11.29 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.29e-05/0.01067, allocations: 7.938 kB / 438.2 MB, free: 11.28 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.711e-05/0.01069, allocations: 8 kB / 438.2 MB, free: 11.27 MB / 414.1 MB Notification: Performance of sorting global known variables: time 7.35e-05/0.01077, allocations: 107.2 kB / 438.3 MB, free: 11.17 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.01077, allocations: 0 / 438.3 MB, free: 11.17 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002511/0.01102, allocations: 43.94 kB / 438.4 MB, free: 11.12 MB / 414.1 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.0001834/0.0112, allocations: 115.2 kB / 438.5 MB, free: 11 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006133/0.01181, allocations: 0.4946 MB / 439 MB, free: 10.48 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.01182, allocations: 4.062 kB / 439 MB, free: 10.48 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002981/0.01211, allocations: 289 kB / 439.2 MB, free: 10.18 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002222/0.01234, allocations: 19.97 kB / 439.3 MB, free: 10.16 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006792/0.01301, allocations: 0.4917 MB / 439.8 MB, free: 9.637 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001118/0.01313, allocations: 109.1 kB / 439.9 MB, free: 9.508 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 1.962e-05/0.01315, allocations: 3.984 kB / 439.9 MB, free: 9.504 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.518e-05/0.01316, allocations: 16.56 kB / 439.9 MB, free: 9.484 MB / 414.1 MB Notification: Performance of SimCode: time 3.41e-07/0.01316, allocations: 0 / 439.9 MB, free: 9.484 MB / 414.1 MB Notification: Performance of Templates: time 0.005261/0.01842, allocations: 1.993 MB / 441.9 MB, free: 7.508 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.680622950196266] Failed to read output from testmodel.py, exit status != 0: 0.026968929916620255 0.042702925 0.033728483000000004 Calling exit ...