Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Introductory.ReferenceInertial.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.00142/0.00142, allocations: 76.44 kB / 21.24 MB, free: 0.5469 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.00144/0.00144, allocations: 160.4 kB / 24.5 MB, free: 3.723 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.474/1.474, allocations: 177.2 MB / 204.9 MB, free: 9 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.1984/0.1984, allocations: 29.43 MB / 290.7 MB, free: 3.27 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.Introductory.ReferenceInertial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Introductory.ReferenceInertial") translateModel(PowerSystems.Examples.Introductory.ReferenceInertial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Introductory.ReferenceInertial") [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.002112/0.002112, allocations: 67.89 kB / 431.2 MB, free: 3.227 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3446/0.3467, allocations: 62.45 MB / 493.6 MB, free: 37.82 MB / 446.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.ReferenceInertial): time 0.004578/0.3513, allocations: 4.323 MB / 497.9 MB, free: 34.89 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.00201/0.3533, allocations: 1.393 MB / 499.3 MB, free: 33.97 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002025/0.3535, allocations: 21.31 kB / 499.3 MB, free: 33.96 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001023/0.3545, allocations: 372 kB / 499.7 MB, free: 33.76 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005064/0.355, allocations: 223.6 kB / 499.9 MB, free: 33.63 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007455/0.3557, allocations: 252.7 kB / 0.4885 GB, free: 33.52 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006757/0.3564, allocations: 0.5329 MB / 0.489 GB, free: 33.29 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004652/0.3569, allocations: 217.7 kB / 0.4892 GB, free: 33.2 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000456/0.3573, allocations: 262.3 kB / 0.4894 GB, free: 33.08 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005043/0.3578, allocations: 299.1 kB / 0.4897 GB, free: 32.99 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 6.277e-05/0.3579, allocations: 35.25 kB / 0.4898 GB, free: 32.98 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003554/0.3583, allocations: 144.7 kB / 0.4899 GB, free: 32.96 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002684/0.3585, allocations: 238.1 kB / 0.4901 GB, free: 32.87 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002157/0.3587, allocations: 191.8 kB / 0.4903 GB, free: 32.78 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005782/0.3593, allocations: 0.5732 MB / 0.4909 GB, free: 32.57 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.284e-06/0.3593, allocations: 4 kB / 0.4909 GB, free: 32.56 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.384e-06/0.3593, allocations: 0 / 0.4909 GB, free: 32.56 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.987e-06/0.3593, allocations: 3.938 kB / 0.4909 GB, free: 32.56 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: 109 * Number of variables: 109 Notification: Performance of Generate backend data structure: time 0.0012/0.3605, allocations: 0.6741 MB / 0.4915 GB, free: 32.06 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.705e-05/0.3606, allocations: 13.27 kB / 0.4915 GB, free: 32.06 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006854/0.3613, allocations: 125.1 kB / 0.4917 GB, free: 32.03 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005815/0.3619, allocations: 347.2 kB / 0.492 GB, free: 31.8 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.618e-05/0.3619, allocations: 29 kB / 0.492 GB, free: 31.79 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001167/0.362, allocations: 53.84 kB / 0.4921 GB, free: 31.77 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007123/0.3627, allocations: 0.623 MB / 0.4927 GB, free: 31.41 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.292e-05/0.3627, allocations: 6.812 kB / 0.4927 GB, free: 31.41 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.938e-05/0.3628, allocations: 15 kB / 0.4927 GB, free: 31.4 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001072/0.3629, allocations: 36.84 kB / 0.4927 GB, free: 31.39 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000604/0.3635, allocations: 479.4 kB / 0.4932 GB, free: 31.24 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00238/0.3659, allocations: 2.66 MB / 0.4958 GB, free: 29.11 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003142/0.3662, allocations: 222.1 kB / 0.496 GB, free: 29 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001934/0.3664, allocations: 138.2 kB / 0.4961 GB, free: 28.95 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.021e-05/0.3664, allocations: 13.03 kB / 0.4961 GB, free: 28.94 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.322e-05/0.3664, allocations: 38.5 kB / 0.4962 GB, free: 28.89 MB / 446.1 MB Notification: Performance of pre-optimization done (n=27): time 1.974e-06/0.3664, allocations: 0 / 0.4962 GB, free: 28.89 MB / 446.1 MB Notification: Performance of matching and sorting (n=28): time 0.00132/0.3677, allocations: 0.8935 MB / 0.4971 GB, free: 28.41 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.314e-05/0.3678, allocations: 83.39 kB / 0.4971 GB, free: 28.32 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002379/0.368, allocations: 321.9 kB / 0.4974 GB, free: 28.14 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.946e-05/0.368, allocations: 32.89 kB / 0.4975 GB, free: 28.11 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001201/0.3682, allocations: 290.3 kB / 0.4977 GB, free: 27.87 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.826e-05/0.3682, allocations: 106 kB / 0.4978 GB, free: 27.79 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001046/0.3683, allocations: 97.61 kB / 0.4979 GB, free: 27.73 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.634e-05/0.3684, allocations: 346.5 kB / 0.4983 GB, free: 27.41 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001851/0.3686, allocations: 147 kB / 0.4984 GB, free: 27.36 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002637/0.3688, allocations: 340.9 kB / 0.4987 GB, free: 27.07 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004676/0.3693, allocations: 0.5217 MB / 0.4992 GB, free: 26.69 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.806e-06/0.3693, allocations: 0 / 0.4992 GB, free: 26.69 MB / 446.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.000622/0.3699, allocations: 0.5333 MB / 0.4998 GB, free: 26.47 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.698e-05/0.3699, allocations: 8.781 kB / 0.4998 GB, free: 26.47 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.027e-05/0.37, allocations: 6.406 kB / 0.4998 GB, free: 26.47 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.263e-05/0.37, allocations: 13.7 kB / 0.4998 GB, free: 26.46 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004033/0.3704, allocations: 119.5 kB / 0.4999 GB, free: 26.45 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.407e-05/0.3704, allocations: 16.33 kB / 0.4999 GB, free: 26.45 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002302/0.3706, allocations: 23.66 kB / 0.4999 GB, free: 26.44 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.723e-05/0.3707, allocations: 25.78 kB / 0.5 GB, free: 26.44 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (58): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * 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.0001822/0.3708, allocations: 221 kB / 0.5002 GB, free: 26.27 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.478e-05/0.3709, allocations: 31.5 kB / 0.5002 GB, free: 26.25 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000541/0.3714, allocations: 361.4 kB / 0.5006 GB, free: 26.1 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.639e-06/0.3714, allocations: 7.094 kB / 0.5006 GB, free: 26.1 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.133e-06/0.3714, allocations: 0 / 0.5006 GB, free: 26.1 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.843e-06/0.3715, allocations: 3.938 kB / 0.5006 GB, free: 26.09 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001211/0.3727, allocations: 0.7654 MB / 0.5013 GB, free: 25.66 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.424e-06/0.3727, allocations: 3.406 kB / 0.5013 GB, free: 25.66 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003011/0.373, allocations: 73.77 kB / 0.5014 GB, free: 25.64 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.346e-06/0.373, allocations: 0 / 0.5014 GB, free: 25.64 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.346e-05/0.373, allocations: 14.16 kB / 0.5014 GB, free: 25.64 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.405e-06/0.373, allocations: 0 / 0.5014 GB, free: 25.64 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.373, allocations: 3.281 kB / 0.5014 GB, free: 25.64 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000621/0.3736, allocations: 0.5868 MB / 0.502 GB, free: 25.31 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.339e-05/0.3737, allocations: 29.58 kB / 0.502 GB, free: 25.29 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.331e-05/0.3737, allocations: 7.375 kB / 0.502 GB, free: 25.29 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001744/0.3739, allocations: 10.41 kB / 0.502 GB, free: 25.29 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.765e-05/0.3739, allocations: 31.8 kB / 0.5021 GB, free: 25.27 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.04e-05/0.374, allocations: 6.719 kB / 0.5021 GB, free: 25.27 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001688/0.3741, allocations: 214.8 kB / 0.5023 GB, free: 25.16 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3741, allocations: 0 / 0.5023 GB, free: 25.16 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004357/0.3746, allocations: 88.94 kB / 0.5023 GB, free: 25.15 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 3 (load_dq0.i[1],load_dq0.i[2],load_dq0.i[3]) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (31): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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 9.724e-05/0.3747, allocations: 111.3 kB / 0.5025 GB, free: 25.04 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0005123/0.3752, allocations: 356.6 kB / 0.5028 GB, free: 24.93 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.975e-06/0.3752, allocations: 0 / 0.5028 GB, free: 24.93 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001708/0.3754, allocations: 133.8 kB / 0.5029 GB, free: 24.89 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005041/0.3759, allocations: 72 kB / 0.503 GB, free: 24.87 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001342/0.3772, allocations: 0.9938 MB / 0.504 GB, free: 24.28 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002168/0.3774, allocations: 262.6 kB / 0.5042 GB, free: 24.17 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002776/0.3777, allocations: 122.2 kB / 0.5043 GB, free: 24.16 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.723e-05/0.3778, allocations: 36.5 kB / 0.5044 GB, free: 24.15 MB / 446.1 MB Notification: Performance of SimCode: time 4.01e-07/0.3778, allocations: 0 / 0.5044 GB, free: 24.15 MB / 446.1 MB Notification: Performance of Templates: time 0.007523/0.3853, allocations: 3.25 MB / 0.5075 GB, free: 23.75 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.Introductory.ReferenceInertial.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.Introductory.ReferenceInertial.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Introductory.ReferenceInertial.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Introductory.ReferenceInertial.pipe >> ../files/PowerSystems_PowerSystems.Examples.Introductory.ReferenceInertial.sim & ./PowerSystems_PowerSystems.Examples.Introductory.ReferenceInertial -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Introductory.ReferenceInertial.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.06501209596172] Failed to read output from testmodel.py, exit status != 0: 0.3936247800011188 0.40751982699999995 0.045308314 Calling exit ...