Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Introductory.Units.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.001719/0.001719, allocations: 69.72 kB / 21.24 MB, free: 0.5547 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.001463/0.001463, allocations: 162.5 kB / 24.5 MB, free: 3.711 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.444/1.444, allocations: 177.2 MB / 204.9 MB, free: 8.988 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.1739/0.1739, allocations: 29.43 MB / 290.7 MB, free: 3.246 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.Units,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Introductory.Units") translateModel(PowerSystems.Examples.Introductory.Units,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Introductory.Units") [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.002192/0.002192, allocations: 63.91 kB / 431.2 MB, free: 3.227 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3085/0.3107, allocations: 62.44 MB / 493.6 MB, free: 37.74 MB / 446.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.Units): time 0.005645/0.3164, allocations: 5.826 MB / 499.4 MB, free: 33.82 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002524/0.3189, allocations: 1.893 MB / 0.4896 GB, free: 32.55 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002711/0.3192, allocations: 31.28 kB / 0.4896 GB, free: 32.54 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00149/0.3207, allocations: 0.6806 MB / 0.4903 GB, free: 32.14 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006971/0.3213, allocations: 385.8 kB / 0.4906 GB, free: 31.93 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008867/0.3222, allocations: 404.2 kB / 0.491 GB, free: 31.75 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007452/0.323, allocations: 0.9431 MB / 0.492 GB, free: 31.35 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000448/0.3234, allocations: 392.6 kB / 0.4923 GB, free: 31.16 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005262/0.324, allocations: 453.5 kB / 0.4928 GB, free: 30.97 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006/0.3246, allocations: 0.5393 MB / 0.4933 GB, free: 30.8 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 8.112e-05/0.3246, allocations: 59.62 kB / 0.4933 GB, free: 30.8 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004129/0.325, allocations: 238 kB / 0.4936 GB, free: 30.75 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000307/0.3254, allocations: 424.5 kB / 0.494 GB, free: 30.61 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00031/0.3257, allocations: 358.5 kB / 0.4943 GB, free: 30.44 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008356/0.3265, allocations: 1.043 MB / 0.4953 GB, free: 30.05 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.3265, allocations: 0 / 0.4953 GB, free: 30.05 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.983e-06/0.3265, allocations: 0 / 0.4953 GB, free: 30.05 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.86e-05/0.3265, allocations: 0 / 0.4953 GB, free: 30.05 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: 208 * Number of variables: 208 Notification: Performance of Generate backend data structure: time 0.001558/0.3281, allocations: 1.02 MB / 0.4963 GB, free: 29.38 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.69e-05/0.3281, allocations: 10.27 kB / 0.4963 GB, free: 29.38 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009685/0.3291, allocations: 208.5 kB / 0.4965 GB, free: 29.32 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007194/0.3298, allocations: 489.2 kB / 0.497 GB, free: 29.04 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.473e-05/0.3298, allocations: 59.27 kB / 0.4971 GB, free: 29.01 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.708e-05/0.3299, allocations: 77.16 kB / 0.4971 GB, free: 28.98 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001179/0.3311, allocations: 1.131 MB / 0.4982 GB, free: 28.38 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.117e-05/0.3312, allocations: 11.05 kB / 0.4983 GB, free: 28.37 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.482e-05/0.3312, allocations: 33.12 kB / 0.4983 GB, free: 28.34 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.196e-05/0.3313, allocations: 51.62 kB / 0.4983 GB, free: 28.34 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001037/0.3323, allocations: 0.8625 MB / 0.4992 GB, free: 28.06 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003634/0.3359, allocations: 4.712 MB / 0.5038 GB, free: 24.34 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000574/0.3365, allocations: 403.9 kB / 0.5042 GB, free: 24.18 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002481/0.3368, allocations: 197 kB / 0.5044 GB, free: 24.1 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.79e-05/0.3368, allocations: 6.219 kB / 0.5044 GB, free: 24.1 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.285e-05/0.3368, allocations: 41.11 kB / 0.5044 GB, free: 24.06 MB / 446.1 MB Notification: Performance of pre-optimization done (n=43): time 2.475e-06/0.3368, allocations: 0 / 0.5044 GB, free: 24.06 MB / 446.1 MB Notification: Performance of matching and sorting (n=44): time 0.001436/0.3383, allocations: 1.081 MB / 0.5055 GB, free: 23.55 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.945e-05/0.3383, allocations: 87.23 kB / 0.5055 GB, free: 23.45 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003519/0.3387, allocations: 498.1 kB / 0.506 GB, free: 23.21 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.333e-05/0.3387, allocations: 29.7 kB / 0.506 GB, free: 23.18 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001895/0.3389, allocations: 473.5 kB / 0.5065 GB, free: 22.8 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.633e-05/0.3389, allocations: 167.3 kB / 0.5066 GB, free: 22.67 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001404/0.3391, allocations: 160.1 kB / 0.5068 GB, free: 22.59 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.307e-05/0.3391, allocations: 360.8 kB / 0.5071 GB, free: 22.25 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002734/0.3394, allocations: 247.4 kB / 0.5074 GB, free: 22.18 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003854/0.3398, allocations: 0.6123 MB / 0.508 GB, free: 21.61 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007189/0.3405, allocations: 0.9421 MB / 0.5089 GB, free: 20.87 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.27e-06/0.3405, allocations: 6.094 kB / 0.5089 GB, free: 20.87 MB / 446.1 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.0009704/0.3415, allocations: 0.889 MB / 0.5098 GB, free: 20.52 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.999e-05/0.3415, allocations: 20.75 kB / 0.5098 GB, free: 20.51 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.213e-05/0.3415, allocations: 12.16 kB / 0.5098 GB, free: 20.51 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.63e-05/0.3416, allocations: 18 kB / 0.5098 GB, free: 20.51 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006277/0.3422, allocations: 220.6 kB / 0.51 GB, free: 20.49 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.01e-05/0.3422, allocations: 25.39 kB / 0.5101 GB, free: 20.48 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004113/0.3426, allocations: 53.28 kB / 0.5101 GB, free: 20.47 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.959e-05/0.3427, allocations: 40.38 kB / 0.5101 GB, free: 20.46 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 60 * 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 (99): * Single equations (assignments): 99 * 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.0002745/0.3429, allocations: 313.8 kB / 0.5104 GB, free: 20.26 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.756e-05/0.343, allocations: 55.7 kB / 0.5105 GB, free: 20.23 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007312/0.3437, allocations: 0.5518 MB / 0.511 GB, free: 20.01 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.33e-06/0.3438, allocations: 5.531 kB / 0.511 GB, free: 20.01 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.3438, allocations: 0 / 0.511 GB, free: 20.01 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.883e-06/0.3438, allocations: 6.125 kB / 0.511 GB, free: 20.01 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001753/0.3455, allocations: 1.161 MB / 0.5122 GB, free: 19.4 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.929e-06/0.3455, allocations: 1.406 kB / 0.5122 GB, free: 19.4 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004514/0.346, allocations: 110.3 kB / 0.5123 GB, free: 19.39 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.975e-06/0.346, allocations: 3.656 kB / 0.5123 GB, free: 19.39 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.977e-05/0.346, allocations: 8.906 kB / 0.5123 GB, free: 19.39 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.965e-06/0.346, allocations: 12.42 kB / 0.5123 GB, free: 19.39 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.44e-06/0.346, allocations: 6.875 kB / 0.5123 GB, free: 19.38 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008119/0.3468, allocations: 0.6514 MB / 0.513 GB, free: 18.99 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001028/0.3469, allocations: 52.62 kB / 0.513 GB, free: 18.96 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.076e-05/0.347, allocations: 13.3 kB / 0.513 GB, free: 18.95 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002629/0.3473, allocations: 28.42 kB / 0.513 GB, free: 18.94 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.925e-05/0.3473, allocations: 38.23 kB / 0.5131 GB, free: 18.93 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.159e-05/0.3474, allocations: 16.09 kB / 0.5131 GB, free: 18.93 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003238/0.3477, allocations: 309.3 kB / 0.5134 GB, free: 18.79 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3477, allocations: 0 / 0.5134 GB, free: 18.79 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0008202/0.3485, allocations: 165.3 kB / 0.5136 GB, free: 18.76 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (51): * Single equations (assignments): 50 * 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 0.0001203/0.3486, allocations: 113.8 kB / 0.5137 GB, free: 18.65 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0009949/0.3496, allocations: 0.5789 MB / 0.5142 GB, free: 18.47 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/0.3496, allocations: 0 / 0.5142 GB, free: 18.47 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003082/0.3499, allocations: 221.8 kB / 0.5144 GB, free: 18.41 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006615/0.3506, allocations: 121.4 kB / 0.5146 GB, free: 18.36 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002108/0.3527, allocations: 1.376 MB / 0.5159 GB, free: 17.63 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004535/0.3532, allocations: 407.3 kB / 0.5163 GB, free: 17.5 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0005516/0.3537, allocations: 228.8 kB / 0.5165 GB, free: 17.47 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001534/0.3539, allocations: 50.66 kB / 0.5165 GB, free: 17.46 MB / 446.1 MB Notification: Performance of SimCode: time 9.92e-07/0.3539, allocations: 0 / 0.5165 GB, free: 17.46 MB / 446.1 MB Notification: Performance of Templates: time 0.01204/0.3659, allocations: 5.42 MB / 0.5218 GB, free: 16.82 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.Introductory.Units.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.Introductory.Units.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Introductory.Units.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Introductory.Units.pipe >> ../files/PowerSystems_PowerSystems.Examples.Introductory.Units.sim & ./PowerSystems_PowerSystems.Examples.Introductory.Units -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Introductory.Units.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.1258210899541155] Failed to read output from testmodel.py, exit status != 0: 0.3741394670214504 0.385541142 0.056331214000000004 Calling exit ...