Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.DegradedModeForLoads.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.00178/0.00178, allocations: 71.05 kB / 19.97 MB, free: 1.746 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.002273/0.002273, allocations: 172.5 kB / 23.25 MB, free: 4.875 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.479/1.479, allocations: 177.2 MB / 203.6 MB, free: 9.16 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.1.3/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.1.3/package.mo): time 0.03747/0.03747, allocations: 4.482 MB / 264.5 MB, free: 12.2 MB / 254.1 MB " [Timeout remaining time 180] Using package PowerSysPro with version 2.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.1.3/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(PowerSysPro.Examples.DegradedModeForLoads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.DegradedModeForLoads") translateModel(PowerSysPro.Examples.DegradedModeForLoads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.DegradedModeForLoads") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.162e-06/1.162e-06, allocations: 0 / 390.1 MB, free: 12.63 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.538e-05/2.654e-05, allocations: 6.281 kB / 390.1 MB, free: 12.62 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.DegradedModeForLoads): time 0.002523/0.002549, allocations: 1.334 MB / 391.4 MB, free: 11.29 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002122/0.004671, allocations: 1.438 MB / 392.9 MB, free: 9.84 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.455e-05/0.004746, allocations: 0 / 392.9 MB, free: 9.84 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003386/0.005084, allocations: 115.2 kB / 393 MB, free: 9.727 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004533/0.005538, allocations: 155.1 kB / 393.1 MB, free: 9.574 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001686/0.007223, allocations: 0.8244 MB / 394 MB, free: 8.746 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003048/0.007528, allocations: 191.1 kB / 394.2 MB, free: 8.559 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001241/0.007652, allocations: 37.78 kB / 394.2 MB, free: 8.52 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001433/0.007795, allocations: 111.7 kB / 394.3 MB, free: 8.41 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001773/0.007973, allocations: 79.75 kB / 394.4 MB, free: 8.332 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.895e-05/0.008012, allocations: 20 kB / 394.4 MB, free: 8.312 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004032/0.008415, allocations: 227.5 kB / 394.6 MB, free: 8.09 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.939e-05/0.008474, allocations: 43.83 kB / 394.7 MB, free: 8.047 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 9.044e-05/0.008565, allocations: 55.84 kB / 394.7 MB, free: 7.992 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005534/0.009118, allocations: 390.9 kB / 395.1 MB, free: 7.609 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.224e-06/0.00912, allocations: 0 / 395.1 MB, free: 7.609 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.233e-06/0.009121, allocations: 0 / 395.1 MB, free: 7.609 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.849e-06/0.009126, allocations: 0 / 395.1 MB, free: 7.609 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.002188/0.01131, allocations: 0.6412 MB / 395.7 MB, free: 6.934 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.099e-05/0.01135, allocations: 16.03 kB / 395.8 MB, free: 6.918 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.377e-05/0.01143, allocations: 20.8 kB / 395.8 MB, free: 6.898 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002827/0.01171, allocations: 172.4 kB / 396 MB, free: 6.707 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001204/0.01183, allocations: 101.7 kB / 396 MB, free: 6.59 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.416e-05/0.01187, allocations: 16.38 kB / 396.1 MB, free: 6.574 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004491/0.01232, allocations: 281.6 kB / 396.3 MB, free: 6.281 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.417e-06/0.01232, allocations: 192 / 396.3 MB, free: 6.281 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.665e-05/0.01235, allocations: 4.375 kB / 396.3 MB, free: 6.277 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.144e-05/0.01236, allocations: 8.125 kB / 396.4 MB, free: 6.27 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003828/0.01275, allocations: 207.9 kB / 396.6 MB, free: 6.066 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001468/0.01421, allocations: 0.6869 MB / 397.2 MB, free: 5.348 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006066/0.01482, allocations: 214.5 kB / 397.5 MB, free: 5.129 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001956/0.01502, allocations: 100.8 kB / 397.6 MB, free: 5.027 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.063e-05/0.01511, allocations: 11.98 kB / 397.6 MB, free: 5.016 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003981/0.0155, allocations: 231 kB / 397.8 MB, free: 4.766 MB / 318.1 MB Notification: Performance of pre-optimization done (n=22): time 1.503e-06/0.01551, allocations: 0 / 397.8 MB, free: 4.766 MB / 318.1 MB Notification: Performance of matching and sorting (n=22): time 0.001889/0.0174, allocations: 0.5283 MB / 398.3 MB, free: 4.23 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.244e-05/0.01744, allocations: 59.34 kB / 398.4 MB, free: 4.16 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002152/0.01765, allocations: 183.4 kB / 398.6 MB, free: 3.973 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.808e-05/0.01769, allocations: 33.7 kB / 398.6 MB, free: 3.934 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001048/0.0178, allocations: 136.5 kB / 398.7 MB, free: 3.797 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.043e-05/0.01787, allocations: 79.31 kB / 398.8 MB, free: 3.719 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001178/0.01798, allocations: 57.97 kB / 398.9 MB, free: 3.652 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001632/0.01815, allocations: 326.8 kB / 399.2 MB, free: 3.324 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002291/0.01838, allocations: 116.5 kB / 399.3 MB, free: 3.211 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002642/0.01864, allocations: 161.9 kB / 399.4 MB, free: 3.039 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004922/0.01913, allocations: 288.1 kB / 399.7 MB, free: 2.742 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.789e-06/0.01914, allocations: 4 kB / 399.7 MB, free: 2.738 MB / 318.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.001298/0.02044, allocations: 473.9 kB / 400.2 MB, free: 2.266 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.312e-05/0.02046, allocations: 8 kB / 400.2 MB, free: 2.258 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.073e-06/0.02047, allocations: 0 / 400.2 MB, free: 2.258 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001197/0.02166, allocations: 188.8 kB / 400.4 MB, free: 2.07 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002443/0.02191, allocations: 47.91 kB / 400.4 MB, free: 2.023 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001077/0.02298, allocations: 0.7241 MB / 401.2 MB, free: 1.273 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002197/0.0232, allocations: 23.84 kB / 401.2 MB, free: 1.25 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.233e-05/0.02324, allocations: 16.03 kB / 401.2 MB, free: 1.234 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 3 (load.degradedMode,$PRE.load.degradedMode,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (27): * Single equations (assignments): 26 * 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 {(3,5)} Notification: Performance of prepare postOptimizeDAE: time 0.000321/0.02356, allocations: 133.7 kB / 401.3 MB, free: 1.094 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.355e-05/0.0236, allocations: 15.91 kB / 401.3 MB, free: 1.078 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008898/0.02449, allocations: 390.3 kB / 401.7 MB, free: 0.6953 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.618e-06/0.0245, allocations: 7.938 kB / 401.7 MB, free: 0.6875 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.121e-06/0.02451, allocations: 4 kB / 401.7 MB, free: 0.6836 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.02451, allocations: 3.938 kB / 401.7 MB, free: 0.6797 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003382/0.02485, allocations: 229.2 kB / 402 MB, free: 436 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.02485, allocations: 0 / 402 MB, free: 436 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001192/0.02497, allocations: 27.98 kB / 402 MB, free: 408 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000894/0.02586, allocations: 192.6 kB / 402.2 MB, free: 212 kB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.399e-05/0.02589, allocations: 11.92 kB / 402.2 MB, free: 200 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009564/0.02684, allocations: 0.7319 MB / 402.9 MB, free: 15.44 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.869e-06/0.02685, allocations: 4 kB / 402.9 MB, free: 15.43 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008159/0.02766, allocations: 373.6 kB / 403.3 MB, free: 15.05 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.35e-05/0.02771, allocations: 27.83 kB / 403.3 MB, free: 15.02 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.849e-05/0.02775, allocations: 0 / 403.3 MB, free: 15.02 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001762/0.02792, allocations: 15.98 kB / 403.3 MB, free: 15 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.992e-05/0.02799, allocations: 19.97 kB / 403.4 MB, free: 14.98 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.479e-05/0.02802, allocations: 4 kB / 403.4 MB, free: 14.98 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001581/0.02818, allocations: 137.3 kB / 403.5 MB, free: 14.85 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.02818, allocations: 3.938 kB / 403.5 MB, free: 14.84 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003498/0.02853, allocations: 67.88 kB / 403.6 MB, free: 14.78 MB / 334.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,load.degradedMode) * Number of discrete states: 1 (load.degradedMode) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 15 * 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 {(4,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002317/0.02876, allocations: 111.2 kB / 403.7 MB, free: 14.66 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0008679/0.02963, allocations: 298.4 kB / 404 MB, free: 14.37 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.02963, allocations: 4 kB / 404 MB, free: 14.36 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005837/0.03021, allocations: 164.1 kB / 404.1 MB, free: 14.2 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002868/0.0305, allocations: 26.8 kB / 404.1 MB, free: 14.18 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001019/0.03152, allocations: 389.8 kB / 404.5 MB, free: 13.78 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001137/0.03163, allocations: 113 kB / 404.6 MB, free: 13.64 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 9.835e-05/0.03173, allocations: 29.62 kB / 404.7 MB, free: 13.62 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.006e-05/0.03179, allocations: 24.5 kB / 404.7 MB, free: 13.59 MB / 334.1 MB Notification: Performance of SimCode: time 3.3e-07/0.03179, allocations: 0 / 404.7 MB, free: 13.59 MB / 334.1 MB Notification: Performance of Templates: time 0.008114/0.0399, allocations: 3.314 MB / 408 MB, free: 10.31 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f PowerSysPro_PowerSysPro.Examples.DegradedModeForLoads.makefile [Timeout 660] (rm -f PowerSysPro_PowerSysPro.Examples.DegradedModeForLoads.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.DegradedModeForLoads.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.DegradedModeForLoads.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.DegradedModeForLoads.sim & ./PowerSysPro_PowerSysPro.Examples.DegradedModeForLoads -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.DegradedModeForLoads.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 4.635488174855709] Failed to read output from testmodel.py, exit status != 0: 0.04902864620089531 0.065617775 0.0533575 Calling exit ...