Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.VariableLoad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001619/0.001619, allocations: 118.7 kB / 17.85 MB, free: 5.074 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001784/0.001784, allocations: 191.8 kB / 20.79 MB, free: 2.141 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.549/1.549, allocations: 225.6 MB / 249.2 MB, free: 3.629 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.05229/0.05229, allocations: 8.229 MB / 312.3 MB, free: 2.062 MB / 238.1 MB " [Timeout remaining time 180] Using package PowerSysPro with version 2.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(PowerSysPro.Examples.VariableLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.VariableLoad") translateModel(PowerSysPro.Examples.VariableLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.VariableLoad") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001807/0.001807, allocations: 67.88 kB / 435.1 MB, free: 11.3 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2873/0.2891, allocations: 54.35 MB / 489.5 MB, free: 27.56 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.VariableLoad): time 0.003493/0.2926, allocations: 2.501 MB / 492 MB, free: 25.62 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003067/0.2957, allocations: 2.567 MB / 494.5 MB, free: 23.57 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001599/0.2958, allocations: 6.875 kB / 494.6 MB, free: 23.57 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000511/0.2963, allocations: 164.5 kB / 494.7 MB, free: 23.45 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006228/0.2969, allocations: 294.2 kB / 495 MB, free: 23.22 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001898/0.2988, allocations: 1.285 MB / 496.3 MB, free: 22.28 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004611/0.2993, allocations: 421.2 kB / 496.7 MB, free: 22.03 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001837/0.2995, allocations: 87.25 kB / 496.8 MB, free: 21.97 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001445/0.2996, allocations: 168.2 kB / 497 MB, free: 21.88 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002379/0.2999, allocations: 211.7 kB / 497.2 MB, free: 21.74 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 5.451e-05/0.2999, allocations: 29.84 kB / 497.2 MB, free: 21.74 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005747/0.3005, allocations: 353.6 kB / 497.5 MB, free: 21.58 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 8.588e-05/0.3006, allocations: 83.19 kB / 497.6 MB, free: 21.51 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001562/0.3007, allocations: 191.5 kB / 497.8 MB, free: 21.38 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007099/0.3015, allocations: 0.6342 MB / 498.4 MB, free: 20.96 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.725e-06/0.3015, allocations: 0 / 498.4 MB, free: 20.96 MB / 366.1 MB Notification: Performance of FrontEnd: time 9.72e-07/0.3015, allocations: 0 / 498.4 MB, free: 20.96 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.042e-05/0.3015, allocations: 4 kB / 498.4 MB, free: 20.95 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.003699/0.3052, allocations: 1.233 MB / 499.7 MB, free: 20.11 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.515e-05/0.3052, allocations: 13.27 kB / 499.7 MB, free: 20.11 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001044/0.3053, allocations: 48.09 kB / 499.7 MB, free: 20.09 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003215/0.3056, allocations: 332.9 kB / 0.4883 GB, free: 19.76 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.598e-05/0.3057, allocations: 52.36 kB / 0.4884 GB, free: 19.71 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.405e-05/0.3057, allocations: 33.19 kB / 0.4884 GB, free: 19.7 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006067/0.3063, allocations: 445.5 kB / 0.4888 GB, free: 19.42 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.448e-06/0.3063, allocations: 3.938 kB / 0.4888 GB, free: 19.41 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.382e-05/0.3064, allocations: 11.44 kB / 0.4889 GB, free: 19.41 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.856e-06/0.3064, allocations: 6.781 kB / 0.4889 GB, free: 19.41 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000554/0.3069, allocations: 384.6 kB / 0.4892 GB, free: 19.21 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001932/0.3089, allocations: 1.738 MB / 0.4909 GB, free: 17.61 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008053/0.3097, allocations: 457.6 kB / 0.4914 GB, free: 17.36 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000316/0.31, allocations: 223.2 kB / 0.4916 GB, free: 17.23 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.086e-05/0.3101, allocations: 14.22 kB / 0.4916 GB, free: 17.23 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000532/0.3106, allocations: 317.3 kB / 0.4919 GB, free: 17.02 MB / 366.1 MB Notification: Performance of pre-optimization done (n=43): time 2.565e-06/0.3106, allocations: 3.984 kB / 0.4919 GB, free: 17.02 MB / 366.1 MB Notification: Performance of matching and sorting (n=43): time 0.003854/0.3145, allocations: 1.341 MB / 0.4932 GB, free: 16.25 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.35e-05/0.3145, allocations: 110.9 kB / 0.4933 GB, free: 16.12 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002865/0.3148, allocations: 285 kB / 0.4936 GB, free: 15.93 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.008e-05/0.3148, allocations: 36.95 kB / 0.4936 GB, free: 15.89 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.816e-05/0.3149, allocations: 171.3 kB / 0.4938 GB, free: 15.73 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.644e-05/0.315, allocations: 152.5 kB / 0.4939 GB, free: 15.59 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001519/0.3152, allocations: 96.17 kB / 0.494 GB, free: 15.53 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 6.541e-05/0.3152, allocations: 342.3 kB / 0.4943 GB, free: 15.19 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003562/0.3156, allocations: 258 kB / 0.4946 GB, free: 15.05 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003955/0.316, allocations: 304.2 kB / 0.4949 GB, free: 14.88 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000776/0.3167, allocations: 0.5627 MB / 0.4954 GB, free: 14.56 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.3167, allocations: 0 / 0.4954 GB, free: 14.56 MB / 366.1 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.001833/0.3186, allocations: 0.9007 MB / 0.4963 GB, free: 14.05 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.668e-05/0.3186, allocations: 5.219 kB / 0.4963 GB, free: 14.05 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.142e-06/0.3186, allocations: 4 kB / 0.4963 GB, free: 14.05 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002487/0.3211, allocations: 0.61 MB / 0.4969 GB, free: 13.76 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002734/0.3214, allocations: 79.77 kB / 0.497 GB, free: 13.73 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001411/0.3228, allocations: 1.07 MB / 0.498 GB, free: 12.91 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003491/0.3231, allocations: 47.69 kB / 0.4981 GB, free: 12.87 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.233e-05/0.3232, allocations: 19.55 kB / 0.4981 GB, free: 12.86 MB / 366.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: 3 (varLoad.degradedMode,$PRE.varLoad.degradedMode,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 45 * 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 {(7,9)} Notification: Performance of prepare postOptimizeDAE: time 0.0001763/0.3233, allocations: 160.3 kB / 0.4983 GB, free: 12.71 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.131e-05/0.3234, allocations: 33.59 kB / 0.4983 GB, free: 12.7 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001218/0.3246, allocations: 0.7692 MB / 0.499 GB, free: 12.23 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.206e-06/0.3246, allocations: 9.5 kB / 0.499 GB, free: 12.22 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.039e-06/0.3246, allocations: 0 / 0.499 GB, free: 12.22 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.881e-06/0.3246, allocations: 3.984 kB / 0.499 GB, free: 12.22 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004739/0.3251, allocations: 0.56 MB / 0.4996 GB, free: 11.73 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.395e-06/0.3251, allocations: 0 / 0.4996 GB, free: 11.73 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001705/0.3253, allocations: 53.16 kB / 0.4996 GB, free: 11.71 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002264/0.3276, allocations: 0.5847 MB / 0.5002 GB, free: 11.43 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.695e-05/0.3276, allocations: 14.55 kB / 0.5002 GB, free: 11.42 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001325/0.3289, allocations: 1.075 MB / 0.5013 GB, free: 10.59 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.375e-06/0.3289, allocations: 3.938 kB / 0.5013 GB, free: 10.59 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001029/0.33, allocations: 0.7173 MB / 0.502 GB, free: 10.16 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.828e-05/0.33, allocations: 119.3 kB / 0.5021 GB, free: 10.04 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.248e-05/0.3301, allocations: 10.72 kB / 0.5021 GB, free: 10.03 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002876/0.3304, allocations: 27.92 kB / 0.5021 GB, free: 10.01 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.525e-05/0.3305, allocations: 29.3 kB / 0.5022 GB, free: 9.996 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.809e-05/0.3305, allocations: 14.03 kB / 0.5022 GB, free: 9.992 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001999/0.3307, allocations: 206 kB / 0.5024 GB, free: 9.855 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3307, allocations: 0 / 0.5024 GB, free: 9.855 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004622/0.3312, allocations: 130.3 kB / 0.5025 GB, free: 9.828 MB / 366.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: 2 ($whenCondition1,varLoad.degradedMode) * Number of discrete states: 1 (varLoad.degradedMode) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 32 * 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 {(7,10)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001454/0.3326, allocations: 441.1 kB / 0.5029 GB, free: 9.613 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001683/0.3343, allocations: 0.6553 MB / 0.5036 GB, free: 9.305 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.3343, allocations: 0 / 0.5036 GB, free: 9.305 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001098/0.3354, allocations: 375.4 kB / 0.5039 GB, free: 9.141 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003699/0.3358, allocations: 53.48 kB / 0.504 GB, free: 9.105 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00136/0.3371, allocations: 0.786 MB / 0.5047 GB, free: 8.598 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001907/0.3373, allocations: 0.7976 MB / 0.5055 GB, free: 7.809 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.468e-05/0.3374, allocations: 43.42 kB / 0.5056 GB, free: 7.766 MB / 366.1 MB Notification: Performance of SimCode: time 6.21e-07/0.3374, allocations: 0 / 0.5056 GB, free: 7.766 MB / 366.1 MB Notification: Performance of Templates: time 0.007673/0.3451, allocations: 7.081 MB / 0.5125 GB, free: 0.6875 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f PowerSysPro_PowerSysPro.Examples.VariableLoad.makefile [Timeout 660] (rm -f PowerSysPro_PowerSysPro.Examples.VariableLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.VariableLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.VariableLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.VariableLoad.sim & ./PowerSysPro_PowerSysPro.Examples.VariableLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.VariableLoad.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 7.6708493628539145] Failed to read output from testmodel.py, exit status != 0: 0.35270947497338057 0.36555532 0.061314567 Calling exit ...