Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Generic.Test.FixedLoadTest.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.001423/0.001423, allocations: 71.75 kB / 21.24 MB, free: 400 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.001595/0.001595, allocations: 164.8 kB / 24.49 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.059 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.1747/0.1747, allocations: 29.44 MB / 290.7 MB, free: 3.297 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.Generic.Test.FixedLoadTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Test.FixedLoadTest") translateModel(PowerSystems.Examples.Generic.Test.FixedLoadTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Test.FixedLoadTest") [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.002037/0.002037, allocations: 67.89 kB / 431.2 MB, free: 3.254 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3562/0.3582, allocations: 62.44 MB / 493.6 MB, free: 37.8 MB / 446.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.FixedLoadTest): time 0.004292/0.3625, allocations: 3.447 MB / 497.1 MB, free: 35.44 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001805/0.3643, allocations: 1.461 MB / 498.5 MB, free: 34.47 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001253/0.3644, allocations: 7.062 kB / 498.5 MB, free: 34.47 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007772/0.3652, allocations: 243.2 kB / 498.8 MB, free: 34.34 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005627/0.3658, allocations: 287 kB / 499.1 MB, free: 34.18 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002887/0.3661, allocations: 125.5 kB / 499.2 MB, free: 34.12 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003178/0.3664, allocations: 350.9 kB / 499.5 MB, free: 33.97 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002656/0.3666, allocations: 124.2 kB / 499.6 MB, free: 33.91 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002522/0.3669, allocations: 157 kB / 499.8 MB, free: 33.84 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002297/0.3671, allocations: 162.7 kB / 500 MB, free: 33.79 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.603e-05/0.3671, allocations: 15.59 kB / 500 MB, free: 33.79 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004081/0.3676, allocations: 274.5 kB / 0.4885 GB, free: 33.69 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 9.935e-05/0.3677, allocations: 108.7 kB / 0.4886 GB, free: 33.65 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 9.479e-05/0.3677, allocations: 93.97 kB / 0.4887 GB, free: 33.6 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000379/0.3681, allocations: 358.9 kB / 0.4891 GB, free: 33.48 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/0.3681, allocations: 0 / 0.4891 GB, free: 33.48 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.3681, allocations: 0 / 0.4891 GB, free: 33.48 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.042e-06/0.3681, allocations: 0 / 0.4891 GB, free: 33.48 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0005637/0.3687, allocations: 455.9 kB / 0.4895 GB, free: 33.1 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.113e-05/0.3687, allocations: 13.52 kB / 0.4895 GB, free: 33.09 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009307/0.3697, allocations: 105.3 kB / 0.4896 GB, free: 33.08 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003039/0.37, allocations: 213.7 kB / 0.4898 GB, free: 32.9 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.356e-05/0.37, allocations: 17.5 kB / 0.4898 GB, free: 32.89 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.487e-05/0.37, allocations: 24.11 kB / 0.4898 GB, free: 32.88 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000454/0.3705, allocations: 330.8 kB / 0.4902 GB, free: 32.71 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.634e-05/0.3705, allocations: 0 / 0.4902 GB, free: 32.71 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.657e-05/0.3705, allocations: 14.83 kB / 0.4902 GB, free: 32.7 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.059e-05/0.3706, allocations: 12.81 kB / 0.4902 GB, free: 32.7 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003918/0.3709, allocations: 316.2 kB / 0.4905 GB, free: 32.61 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001251/0.3722, allocations: 1.133 MB / 0.4916 GB, free: 31.75 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002167/0.3724, allocations: 152.8 kB / 0.4917 GB, free: 31.67 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001222/0.3725, allocations: 94.3 kB / 0.4918 GB, free: 31.62 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.416e-05/0.3726, allocations: 6.812 kB / 0.4918 GB, free: 31.62 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.93e-05/0.3726, allocations: 37.66 kB / 0.4919 GB, free: 31.58 MB / 446.1 MB Notification: Performance of pre-optimization done (n=17): time 1.783e-06/0.3726, allocations: 0 / 0.4919 GB, free: 31.58 MB / 446.1 MB Notification: Performance of matching and sorting (n=18): time 0.001312/0.3739, allocations: 0.5833 MB / 0.4924 GB, free: 31.34 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.542e-05/0.3739, allocations: 88.23 kB / 0.4925 GB, free: 31.23 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001418/0.3741, allocations: 177.7 kB / 0.4927 GB, free: 31.11 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.335e-05/0.3741, allocations: 29.7 kB / 0.4927 GB, free: 31.08 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.207e-05/0.3741, allocations: 154.8 kB / 0.4929 GB, free: 30.95 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.663e-05/0.3742, allocations: 68.58 kB / 0.4929 GB, free: 30.89 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.111e-05/0.3742, allocations: 47.89 kB / 0.493 GB, free: 30.86 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.315e-05/0.3743, allocations: 328 kB / 0.4933 GB, free: 30.54 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001027/0.3744, allocations: 89.73 kB / 0.4934 GB, free: 30.5 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001265/0.3745, allocations: 145.8 kB / 0.4935 GB, free: 30.39 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002514/0.3748, allocations: 267.3 kB / 0.4938 GB, free: 30.23 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-06/0.3748, allocations: 0 / 0.4938 GB, free: 30.23 MB / 446.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005012/0.3753, allocations: 347.2 kB / 0.4941 GB, free: 30.08 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.528e-05/0.3753, allocations: 6.25 kB / 0.4941 GB, free: 30.08 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.3753, allocations: 3.938 kB / 0.4941 GB, free: 30.07 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003508/0.3757, allocations: 90.69 kB / 0.4942 GB, free: 30.05 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001402/0.3758, allocations: 35 kB / 0.4942 GB, free: 30.05 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001871/0.3777, allocations: 2.035 MB / 0.4962 GB, free: 28.43 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000138/0.3778, allocations: 13.8 kB / 0.4962 GB, free: 28.43 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.669e-05/0.3778, allocations: 6.406 kB / 0.4962 GB, free: 28.43 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (21): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0001346/0.378, allocations: 166.9 kB / 0.4964 GB, free: 28.29 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.535e-05/0.378, allocations: 17.83 kB / 0.4964 GB, free: 28.27 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005243/0.3785, allocations: 314 kB / 0.4967 GB, free: 28.14 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.3785, allocations: 0 / 0.4967 GB, free: 28.14 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.074e-06/0.3785, allocations: 3.188 kB / 0.4967 GB, free: 28.14 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.959e-06/0.3786, allocations: 3.469 kB / 0.4967 GB, free: 28.14 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008972/0.3795, allocations: 0.654 MB / 0.4974 GB, free: 27.73 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/0.3795, allocations: 0 / 0.4974 GB, free: 27.73 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001016/0.3796, allocations: 28.67 kB / 0.4974 GB, free: 27.73 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002389/0.3798, allocations: 75.81 kB / 0.4975 GB, free: 27.71 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.563e-05/0.3798, allocations: 10.75 kB / 0.4975 GB, free: 27.71 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001401/0.3812, allocations: 1.901 MB / 0.4993 GB, free: 26.13 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.3812, allocations: 0 / 0.4993 GB, free: 26.13 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004512/0.3817, allocations: 402.5 kB / 0.4997 GB, free: 25.88 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.355e-05/0.3817, allocations: 33.69 kB / 0.4997 GB, free: 25.86 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.287e-05/0.3817, allocations: 7.25 kB / 0.4998 GB, free: 25.86 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001232/0.3819, allocations: 14.66 kB / 0.4998 GB, free: 25.85 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.404e-05/0.3819, allocations: 17.33 kB / 0.4998 GB, free: 25.84 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.536e-05/0.3819, allocations: 6.062 kB / 0.4998 GB, free: 25.84 MB / 446.1 MB Notification: Performance of sorting global known variables: time 7.866e-05/0.382, allocations: 134.8 kB / 0.4999 GB, free: 25.75 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.382, allocations: 0 / 0.4999 GB, free: 25.75 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000449/0.3824, allocations: 68.47 kB / 0.5 GB, free: 25.74 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 simulation (16): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,3)} Notification: Performance of Backend phase and start with SimCode phase: time 9.237e-05/0.3825, allocations: 96.12 kB / 0.5001 GB, free: 25.65 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0005995/0.3831, allocations: 377.8 kB / 0.5004 GB, free: 25.45 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.3831, allocations: 0 / 0.5004 GB, free: 25.45 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003123/0.3835, allocations: 259.1 kB / 0.5007 GB, free: 25.29 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003608/0.3838, allocations: 38.64 kB / 0.5007 GB, free: 25.27 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006965/0.3845, allocations: 0.4916 MB / 0.5012 GB, free: 24.99 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001189/0.3846, allocations: 155.6 kB / 0.5013 GB, free: 24.9 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 8.445e-05/0.3847, allocations: 33.84 kB / 0.5014 GB, free: 24.9 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.731e-05/0.3848, allocations: 25.39 kB / 0.5014 GB, free: 24.89 MB / 446.1 MB Notification: Performance of SimCode: time 3.1e-07/0.3848, allocations: 0 / 0.5014 GB, free: 24.89 MB / 446.1 MB Notification: Performance of Templates: time 0.006122/0.3909, allocations: 2.831 MB / 0.5042 GB, free: 24.55 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.Generic.Test.FixedLoadTest.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.Generic.Test.FixedLoadTest.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Generic.Test.FixedLoadTest.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Generic.Test.FixedLoadTest.pipe >> ../files/PowerSystems_PowerSystems.Examples.Generic.Test.FixedLoadTest.sim & ./PowerSystems_PowerSystems.Examples.Generic.Test.FixedLoadTest -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Generic.Test.FixedLoadTest.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.934036486083642] Failed to read output from testmodel.py, exit status != 0: 0.3990099389338866 0.41584357600000005 0.043654593000000005 Calling exit ...