Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3.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.0008103/0.0008103, 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.003609/0.003609, allocations: 161.2 kB / 24.7 MB, free: 9.426 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.8412/0.8412, allocations: 177.2 MB / 205 MB, free: 5.723 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.2109/0.2109, allocations: 29.41 MB / 290.9 MB, free: 2.438 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_matrixTrDat3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3") translateModel(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.883e-06/1.883e-06, allocations: 0 / 431.5 MB, free: 13.1 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.136e-05/3.324e-05, allocations: 12.05 kB / 431.5 MB, free: 13.09 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3): time 0.003336/0.003369, allocations: 2.195 MB / 433.7 MB, free: 10.87 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003082/0.006451, allocations: 1.903 MB / 435.6 MB, free: 8.957 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.407e-05/0.006515, allocations: 4 kB / 435.6 MB, free: 8.953 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001586/0.006674, allocations: 15.92 kB / 435.6 MB, free: 8.938 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001048/0.006779, allocations: 23.83 kB / 435.6 MB, free: 8.914 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002434/0.009213, allocations: 0.9739 MB / 436.6 MB, free: 7.938 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001389/0.009352, allocations: 79.67 kB / 436.7 MB, free: 7.859 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.62e-05/0.009398, allocations: 4.125 kB / 436.7 MB, free: 7.855 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001572/0.009555, allocations: 51.77 kB / 436.7 MB, free: 7.805 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.388e-05/0.009649, allocations: 51.86 kB / 436.8 MB, free: 7.754 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.526e-05/0.009664, allocations: 4 kB / 436.8 MB, free: 7.75 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002788/0.01245, allocations: 1.886 MB / 438.7 MB, free: 5.859 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 7.074e-05/0.01252, allocations: 51.83 kB / 438.7 MB, free: 5.809 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 5.018e-05/0.01257, allocations: 23.88 kB / 438.8 MB, free: 5.785 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001954/0.01453, allocations: 1.535 MB / 440.3 MB, free: 4.246 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.01453, allocations: 0 / 440.3 MB, free: 4.246 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.01453, allocations: 3.938 kB / 440.3 MB, free: 4.242 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.572e-06/0.01454, allocations: 0 / 440.3 MB, free: 4.242 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.0008464/0.01539, allocations: 0.5408 MB / 440.8 MB, free: 3.664 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.257e-05/0.01543, allocations: 11.98 kB / 440.8 MB, free: 3.652 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.975e-05/0.01548, allocations: 16.8 kB / 440.9 MB, free: 3.637 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002032/0.01568, allocations: 161.4 kB / 441 MB, free: 3.453 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.44e-05/0.0157, allocations: 4.375 kB / 441 MB, free: 3.449 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.39e-05/0.01571, allocations: 7.875 kB / 441 MB, free: 3.441 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002859/0.016, allocations: 232.2 kB / 441.3 MB, free: 3.203 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.015e-05/0.01601, allocations: 4 kB / 441.3 MB, free: 3.199 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.195e-05/0.01602, allocations: 0 / 441.3 MB, free: 3.199 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.179e-06/0.01602, allocations: 0 / 441.3 MB, free: 3.199 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001835/0.01621, allocations: 190 kB / 441.4 MB, free: 3.008 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001583/0.01636, allocations: 133.8 kB / 441.6 MB, free: 2.848 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000571/0.01694, allocations: 212.5 kB / 441.8 MB, free: 2.625 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001856/0.01712, allocations: 194.8 kB / 442 MB, free: 2.426 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.286e-05/0.01713, allocations: 3.938 kB / 442 MB, free: 2.422 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.403e-05/0.01717, allocations: 38.55 kB / 442 MB, free: 2.375 MB / 410.7 MB Notification: Performance of pre-optimization done (n=40): time 1.042e-06/0.01717, allocations: 3.938 kB / 442 MB, free: 2.371 MB / 410.7 MB Notification: Performance of matching and sorting (n=40): time 0.0007673/0.01794, allocations: 0.7053 MB / 442.7 MB, free: 1.641 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.014e-05/0.018, allocations: 109.1 kB / 442.8 MB, free: 1.516 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001127/0.01811, allocations: 162.3 kB / 443 MB, free: 1.348 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.232e-05/0.01812, allocations: 25.7 kB / 443 MB, free: 1.316 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.578e-05/0.01817, allocations: 108.7 kB / 443.1 MB, free: 1.207 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.268e-05/0.01825, allocations: 138.8 kB / 443.3 MB, free: 1.07 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.824e-05/0.01829, allocations: 29.7 kB / 443.3 MB, free: 1.035 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.359e-05/0.01838, allocations: 338.8 kB / 443.6 MB, free: 0.6953 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001368/0.01852, allocations: 185.6 kB / 443.8 MB, free: 0.5078 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001257/0.01864, allocations: 189.6 kB / 444 MB, free: 324 kB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1687/0.1873, allocations: 448.2 kB / 444.4 MB, free: 54 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.91e-06/0.1873, allocations: 2.844 kB / 444.4 MB, free: 54 MB / 410.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0003548/0.1877, allocations: 463.5 kB / 444.9 MB, free: 53.9 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.019e-05/0.1877, allocations: 86.48 kB / 445 MB, free: 53.87 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/0.1877, allocations: 3.516 kB / 445 MB, free: 53.87 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.709e-05/0.1877, allocations: 0 / 445 MB, free: 53.87 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.51e-07/0.1877, allocations: 0 / 445 MB, free: 53.87 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.031e-06/0.1877, allocations: 0 / 445 MB, free: 53.87 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.504e-05/0.1878, allocations: 25.84 kB / 445 MB, free: 53.87 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.114e-05/0.1878, allocations: 9 kB / 445 MB, free: 53.87 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 0.0001088/0.1879, allocations: 237 kB / 445.2 MB, free: 53.72 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.772e-05/0.1879, allocations: 27.48 kB / 445.3 MB, free: 53.71 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.502e-05/0.188, allocations: 14.78 kB / 445.3 MB, free: 53.7 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.188, allocations: 0 / 445.3 MB, free: 53.7 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.188, allocations: 5.266 kB / 445.3 MB, free: 53.7 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.364e-06/0.188, allocations: 0.5 kB / 445.3 MB, free: 53.7 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.565e-05/0.188, allocations: 157.9 kB / 445.4 MB, free: 53.57 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.12e-07/0.188, allocations: 0 / 445.4 MB, free: 53.57 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.82e-07/0.188, allocations: 1.594 kB / 445.4 MB, free: 53.57 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.313e-06/0.188, allocations: 3.312 kB / 445.4 MB, free: 53.57 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.23e-05/0.1881, allocations: 6.969 kB / 445.4 MB, free: 53.57 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.123e-06/0.1881, allocations: 0 / 445.4 MB, free: 53.57 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.1881, allocations: 3.812 kB / 445.4 MB, free: 53.57 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004619/0.1885, allocations: 0.7749 MB / 446.2 MB, free: 53.43 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.343e-05/0.1885, allocations: 22.64 kB / 446.2 MB, free: 53.41 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.793e-05/0.1885, allocations: 5.812 kB / 446.2 MB, free: 53.41 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.924e-05/0.1886, allocations: 5.844 kB / 446.3 MB, free: 53.41 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.156e-05/0.1886, allocations: 10.55 kB / 446.3 MB, free: 53.41 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.128e-05/0.1886, allocations: 9.344 kB / 446.3 MB, free: 53.41 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.596e-05/0.1887, allocations: 125 kB / 446.4 MB, free: 53.34 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1887, allocations: 0 / 446.4 MB, free: 53.34 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0007862/0.1894, allocations: 357.4 kB / 446.7 MB, free: 53.34 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.0005994/0.19, allocations: 422.5 kB / 447.2 MB, free: 53.23 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004645/0.1905, allocations: 0.7612 MB / 447.9 MB, free: 53.02 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.1905, allocations: 0 / 447.9 MB, free: 53.02 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002198/0.1907, allocations: 438 kB / 448.3 MB, free: 52.87 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001676/0.1909, allocations: 23.81 kB / 448.4 MB, free: 52.86 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005859/0.1915, allocations: 0.7882 MB / 449.2 MB, free: 52.54 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.015e-05/0.1915, allocations: 145.2 kB / 449.3 MB, free: 52.46 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.115e-05/0.1916, allocations: 8.5 kB / 449.3 MB, free: 52.46 MB / 410.7 MB Notification: Performance of SimCode: time 6.11e-07/0.1916, allocations: 2.297 kB / 449.3 MB, free: 52.46 MB / 410.7 MB Notification: Performance of Templates: time 0.005468/0.197, allocations: 7.174 MB / 456.5 MB, free: 52.03 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.459139189682901] Failed to read output from testmodel.py, exit status != 0: 0.20290607772767544 0.20749999400000002 0.191613528 Calling exit ...