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.001395/0.001395, allocations: 71.75 kB / 21.24 MB, free: 404 kB / 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.001492/0.001492, allocations: 169.5 kB / 24.5 MB, free: 3.453 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.482/1.482, allocations: 177.2 MB / 204.9 MB, free: 9.043 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.1741/0.1741, allocations: 29.42 MB / 290.7 MB, free: 3.305 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_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: PowerSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002145/0.002145, allocations: 71.83 kB / 431.2 MB, free: 3.25 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3666/0.3688, allocations: 62.45 MB / 493.6 MB, free: 37.81 MB / 446.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1): time 0.004009/0.3728, allocations: 2.141 MB / 495.8 MB, free: 36.29 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009874/0.3738, allocations: 0.5185 MB / 496.3 MB, free: 35.96 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.705e-05/0.3738, allocations: 0 / 496.3 MB, free: 35.96 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001781/0.374, allocations: 10.31 kB / 496.3 MB, free: 35.96 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000164/0.3742, allocations: 32.94 kB / 496.3 MB, free: 35.94 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004193/0.3746, allocations: 72.53 kB / 496.4 MB, free: 35.92 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001467/0.3747, allocations: 63.3 kB / 496.5 MB, free: 35.89 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.767e-05/0.3748, allocations: 6.562 kB / 496.5 MB, free: 35.89 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001749/0.375, allocations: 35.11 kB / 496.5 MB, free: 35.88 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.807e-05/0.375, allocations: 34.45 kB / 496.5 MB, free: 35.86 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.115e-05/0.375, allocations: 0 / 496.5 MB, free: 35.86 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002474/0.3753, allocations: 101.1 kB / 496.6 MB, free: 35.84 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 5.034e-05/0.3753, allocations: 17.73 kB / 496.7 MB, free: 35.83 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.261e-05/0.3754, allocations: 18.22 kB / 496.7 MB, free: 35.82 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002178/0.3756, allocations: 109.5 kB / 496.8 MB, free: 35.8 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.223e-06/0.3756, allocations: 4 kB / 496.8 MB, free: 35.79 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.833e-06/0.3756, allocations: 0 / 496.8 MB, free: 35.79 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.321e-05/0.3756, allocations: 0 / 496.8 MB, free: 35.79 MB / 446.1 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.000406/0.376, allocations: 323.2 kB / 497.1 MB, free: 35.48 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.647e-05/0.3761, allocations: 9.25 kB / 497.1 MB, free: 35.48 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.566e-05/0.3761, allocations: 7.953 kB / 497.1 MB, free: 35.47 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001714/0.3763, allocations: 123.8 kB / 497.2 MB, free: 35.34 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.47e-05/0.3763, allocations: 3.438 kB / 497.2 MB, free: 35.34 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.54e-05/0.3763, allocations: 4.125 kB / 497.2 MB, free: 35.33 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001757/0.3765, allocations: 115 kB / 497.4 MB, free: 35.25 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.103e-05/0.3765, allocations: 3.938 kB / 497.4 MB, free: 35.25 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.28e-05/0.3765, allocations: 3.312 kB / 497.4 MB, free: 35.25 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.791e-06/0.3765, allocations: 0 / 497.4 MB, free: 35.25 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.938e-05/0.3766, allocations: 74.84 kB / 497.4 MB, free: 35.21 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001175/0.3767, allocations: 110.9 kB / 497.6 MB, free: 35.08 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000123/0.3768, allocations: 97.73 kB / 497.6 MB, free: 35.02 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.126e-05/0.3769, allocations: 80.19 kB / 497.7 MB, free: 34.97 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.091e-05/0.3769, allocations: 0 / 497.7 MB, free: 34.97 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.094e-05/0.377, allocations: 41.83 kB / 497.8 MB, free: 34.92 MB / 446.1 MB Notification: Performance of pre-optimization done (n=12): time 1.112e-06/0.377, allocations: 4 kB / 497.8 MB, free: 34.92 MB / 446.1 MB Notification: Performance of matching and sorting (n=12): time 0.0003848/0.3773, allocations: 296.9 kB / 498.1 MB, free: 34.75 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.211e-05/0.3774, allocations: 89.62 kB / 498.1 MB, free: 34.66 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.81e-05/0.3775, allocations: 120 kB / 498.3 MB, free: 34.55 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 9.057e-06/0.3775, allocations: 25.7 kB / 498.3 MB, free: 34.52 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.796e-05/0.3775, allocations: 91.09 kB / 498.4 MB, free: 34.43 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.152e-05/0.3776, allocations: 38.02 kB / 498.4 MB, free: 34.4 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.511e-05/0.3776, allocations: 26.19 kB / 498.4 MB, free: 34.38 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 7.266e-05/0.3777, allocations: 325.1 kB / 498.8 MB, free: 34.06 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.24e-05/0.3778, allocations: 74.89 kB / 498.8 MB, free: 34.02 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.599e-05/0.3778, allocations: 80.08 kB / 498.9 MB, free: 33.98 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001839/0.378, allocations: 180.3 kB / 499.1 MB, free: 33.88 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.378, allocations: 0 / 499.1 MB, free: 33.88 MB / 446.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002165/0.3783, allocations: 212.6 kB / 499.3 MB, free: 33.76 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.447e-05/0.3783, allocations: 48.31 kB / 499.3 MB, free: 33.72 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.3783, allocations: 0 / 499.3 MB, free: 33.72 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.944e-05/0.3783, allocations: 3.328 kB / 499.3 MB, free: 33.72 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.432e-06/0.3783, allocations: 0 / 499.3 MB, free: 33.72 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.117e-06/0.3783, allocations: 3.219 kB / 499.3 MB, free: 33.72 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.736e-05/0.3784, allocations: 3.938 kB / 499.3 MB, free: 33.72 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.26e-05/0.3784, allocations: 7.219 kB / 499.4 MB, free: 33.71 MB / 446.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.0001456/0.3785, allocations: 164.7 kB / 499.5 MB, free: 33.57 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.506e-05/0.3786, allocations: 17.47 kB / 499.5 MB, free: 33.56 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.997e-05/0.3786, allocations: 8.438 kB / 499.5 MB, free: 33.55 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.3786, allocations: 0 / 499.5 MB, free: 33.55 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.079e-06/0.3786, allocations: 3.188 kB / 499.5 MB, free: 33.55 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.3786, allocations: 0 / 499.5 MB, free: 33.55 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.08e-05/0.3787, allocations: 117.6 kB / 499.7 MB, free: 33.42 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.3787, allocations: 0 / 499.7 MB, free: 33.42 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.41e-07/0.3787, allocations: 0 / 499.7 MB, free: 33.42 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.634e-06/0.3787, allocations: 3.938 kB / 499.7 MB, free: 33.42 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.306e-05/0.3787, allocations: 10.97 kB / 499.7 MB, free: 33.41 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.482e-06/0.3787, allocations: 0 / 499.7 MB, free: 33.41 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.3787, allocations: 0 / 499.7 MB, free: 33.41 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003122/0.379, allocations: 316.6 kB / 500 MB, free: 33.24 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.433e-05/0.379, allocations: 11.31 kB / 500 MB, free: 33.23 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.019e-05/0.379, allocations: 7.188 kB / 0.4883 GB, free: 33.23 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.415e-05/0.3791, allocations: 3.344 kB / 0.4883 GB, free: 33.23 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.64e-05/0.3791, allocations: 6.719 kB / 0.4883 GB, free: 33.23 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.038e-05/0.3791, allocations: 3.062 kB / 0.4883 GB, free: 33.23 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.422e-05/0.3792, allocations: 96.41 kB / 0.4884 GB, free: 33.14 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3792, allocations: 0 / 0.4884 GB, free: 33.14 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002957/0.3794, allocations: 37.25 kB / 0.4884 GB, free: 33.14 MB / 446.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.0001633/0.3796, allocations: 116.6 kB / 0.4885 GB, free: 33.04 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002987/0.3799, allocations: 305.9 kB / 0.4888 GB, free: 32.88 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.255e-06/0.3799, allocations: 0 / 0.4888 GB, free: 32.88 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001289/0.38, allocations: 192.4 kB / 0.489 GB, free: 32.77 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002821/0.3803, allocations: 12.94 kB / 0.489 GB, free: 32.77 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004774/0.3808, allocations: 326.7 kB / 0.4893 GB, free: 32.57 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.262e-05/0.3809, allocations: 83.89 kB / 0.4894 GB, free: 32.5 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 1.629e-05/0.3809, allocations: 0 / 0.4894 GB, free: 32.5 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.513e-05/0.3809, allocations: 11.78 kB / 0.4894 GB, free: 32.5 MB / 446.1 MB Notification: Performance of SimCode: time 2.91e-07/0.3809, allocations: 0 / 0.4894 GB, free: 32.5 MB / 446.1 MB Notification: Performance of Templates: time 0.004262/0.3851, allocations: 1.383 MB / 0.4908 GB, free: 32.31 MB / 446.1 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 -s ida -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.829763234010898] Failed to read output from testmodel.py, exit status != 0: 0.3939501990098506 0.40461037200000005 0.026528928 Calling exit ...