Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesOneLoad.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.001507/0.001507, allocations: 114.8 kB / 17.85 MB, free: 5.219 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.001643/0.001643, allocations: 187.7 kB / 20.79 MB, free: 2.285 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.433/1.433, allocations: 225.6 MB / 249.2 MB, free: 3.617 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.04951/0.04951, allocations: 8.233 MB / 312.3 MB, free: 2.074 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.OneSourceTwoLinesOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesOneLoad") translateModel(PowerSysPro.Examples.OneSourceTwoLinesOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesOneLoad") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001964/0.001964, allocations: 71.88 kB / 435.1 MB, free: 11.29 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2435/0.2454, allocations: 54.36 MB / 489.5 MB, free: 27.53 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceTwoLinesOneLoad): time 0.002243/0.2477, allocations: 1.567 MB / 491.1 MB, free: 26.32 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001576/0.2493, allocations: 1.549 MB / 492.6 MB, free: 25.07 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.016e-05/0.2493, allocations: 3.688 kB / 492.6 MB, free: 25.07 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003231/0.2497, allocations: 129.5 kB / 492.7 MB, free: 24.98 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000245/0.2499, allocations: 108.7 kB / 492.8 MB, free: 24.89 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001336/0.2512, allocations: 0.9246 MB / 493.8 MB, free: 24.21 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002994/0.2515, allocations: 245.7 kB / 494 MB, free: 24.06 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001227/0.2517, allocations: 51.62 kB / 494.1 MB, free: 24.03 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.457e-05/0.2518, allocations: 98.89 kB / 494.2 MB, free: 23.98 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000161/0.2519, allocations: 127.7 kB / 494.3 MB, free: 23.89 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.61e-05/0.2519, allocations: 17.59 kB / 494.3 MB, free: 23.89 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003543/0.2523, allocations: 208.6 kB / 494.5 MB, free: 23.8 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 3.704e-05/0.2523, allocations: 47.75 kB / 494.5 MB, free: 23.77 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 9.329e-05/0.2524, allocations: 114.1 kB / 494.7 MB, free: 23.69 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004208/0.2529, allocations: 392 kB / 495 MB, free: 23.44 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.2529, allocations: 0 / 495 MB, free: 23.44 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.213e-06/0.2529, allocations: 2.125 kB / 495 MB, free: 23.44 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.117e-05/0.2529, allocations: 0 / 495 MB, free: 23.44 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.002364/0.2552, allocations: 0.8156 MB / 495.9 MB, free: 22.81 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.548e-05/0.2553, allocations: 13.48 kB / 495.9 MB, free: 22.81 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.267e-05/0.2554, allocations: 30.53 kB / 495.9 MB, free: 22.79 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002425/0.2556, allocations: 259.2 kB / 496.2 MB, free: 22.52 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.89e-05/0.2556, allocations: 16.95 kB / 496.2 MB, free: 22.51 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.726e-05/0.2556, allocations: 16.75 kB / 496.2 MB, free: 22.51 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003787/0.256, allocations: 256.7 kB / 496.4 MB, free: 22.35 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.044e-05/0.256, allocations: 8.062 kB / 496.4 MB, free: 22.34 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.613e-05/0.2561, allocations: 14.16 kB / 496.5 MB, free: 22.33 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.893e-06/0.2561, allocations: 4.188 kB / 496.5 MB, free: 22.33 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003369/0.2564, allocations: 244.6 kB / 496.7 MB, free: 22.2 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0012/0.2576, allocations: 1.12 MB / 497.8 MB, free: 21.14 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006271/0.2582, allocations: 284.4 kB / 498.1 MB, free: 20.98 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000194/0.2584, allocations: 141 kB / 498.2 MB, free: 20.9 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.507e-05/0.2585, allocations: 4.219 kB / 498.2 MB, free: 20.9 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.712e-05/0.2585, allocations: 43.98 kB / 498.3 MB, free: 20.85 MB / 366.1 MB Notification: Performance of pre-optimization done (n=25): time 1.804e-06/0.2585, allocations: 0 / 498.3 MB, free: 20.85 MB / 366.1 MB Notification: Performance of matching and sorting (n=25): time 0.003065/0.2616, allocations: 0.9602 MB / 499.2 MB, free: 20.26 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.333e-05/0.2616, allocations: 61.66 kB / 499.3 MB, free: 20.19 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001768/0.2618, allocations: 195.1 kB / 499.5 MB, free: 20.04 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.465e-05/0.2618, allocations: 31.83 kB / 499.5 MB, free: 20.01 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.161e-05/0.2618, allocations: 129.7 kB / 499.7 MB, free: 19.89 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.866e-05/0.2619, allocations: 92.17 kB / 499.7 MB, free: 19.8 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001023/0.262, allocations: 64.61 kB / 499.8 MB, free: 19.76 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 4.588e-05/0.262, allocations: 331.9 kB / 0.4884 GB, free: 19.43 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002139/0.2623, allocations: 153.5 kB / 0.4886 GB, free: 19.35 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000213/0.2625, allocations: 167.2 kB / 0.4887 GB, free: 19.26 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004459/0.2629, allocations: 345.3 kB / 0.489 GB, free: 19.07 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.2629, allocations: 0 / 0.489 GB, free: 19.07 MB / 366.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001456/0.2644, allocations: 0.6311 MB / 0.4897 GB, free: 18.69 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.766e-05/0.2644, allocations: 5.375 kB / 0.4897 GB, free: 18.69 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.2644, allocations: 0 / 0.4897 GB, free: 18.69 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001408/0.2658, allocations: 327.1 kB / 0.49 GB, free: 18.54 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001798/0.266, allocations: 50.39 kB / 0.49 GB, free: 18.52 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003716/0.2697, allocations: 2.756 MB / 0.4927 GB, free: 16.23 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002335/0.2699, allocations: 32.28 kB / 0.4927 GB, free: 16.2 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.694e-05/0.27, allocations: 6.844 kB / 0.4928 GB, free: 16.2 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: 0 () * 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 {(6,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0001197/0.2701, allocations: 132.3 kB / 0.4929 GB, free: 16.07 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.028e-05/0.2701, allocations: 21.05 kB / 0.4929 GB, free: 16.06 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001553/0.2717, allocations: 0.6075 MB / 0.4935 GB, free: 15.68 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.921e-06/0.2717, allocations: 2.969 kB / 0.4935 GB, free: 15.68 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.946e-06/0.2717, allocations: 9.625 kB / 0.4935 GB, free: 15.67 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.14e-06/0.2717, allocations: 4 kB / 0.4935 GB, free: 15.67 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004166/0.2721, allocations: 379 kB / 0.4939 GB, free: 15.31 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.368e-06/0.2721, allocations: 3.984 kB / 0.4939 GB, free: 15.31 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001215/0.2722, allocations: 29.34 kB / 0.4939 GB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001466/0.2737, allocations: 314.5 kB / 0.4942 GB, free: 15.15 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.705e-05/0.2737, allocations: 6.875 kB / 0.4942 GB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003497/0.2772, allocations: 2.746 MB / 0.4969 GB, free: 12.86 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.2772, allocations: 0 / 0.4969 GB, free: 12.86 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001448/0.2787, allocations: 0.6541 MB / 0.4975 GB, free: 12.43 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.059e-05/0.2787, allocations: 98.94 kB / 0.4976 GB, free: 12.32 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.254e-05/0.2788, allocations: 9.812 kB / 0.4976 GB, free: 12.31 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002349/0.279, allocations: 17.33 kB / 0.4976 GB, free: 12.3 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.032e-05/0.2791, allocations: 30.56 kB / 0.4977 GB, free: 12.28 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.349e-05/0.2791, allocations: 6.531 kB / 0.4977 GB, free: 12.28 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001289/0.2792, allocations: 145.4 kB / 0.4978 GB, free: 12.17 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2792, allocations: 1.5 kB / 0.4978 GB, free: 12.17 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000468/0.2797, allocations: 97.3 kB / 0.4979 GB, free: 12.15 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 19 * 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 {(6,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.000172/0.2799, allocations: 117.6 kB / 0.498 GB, free: 12.05 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001364/0.2812, allocations: 0.5924 MB / 0.4986 GB, free: 11.7 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 8.225e-06/0.2813, allocations: 5.062 kB / 0.4986 GB, free: 11.69 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009369/0.2822, allocations: 420.3 kB / 0.499 GB, free: 11.43 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003474/0.2825, allocations: 28.16 kB / 0.499 GB, free: 11.41 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008148/0.2834, allocations: 0.5277 MB / 0.4996 GB, free: 11.03 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001485/0.2835, allocations: 0.7436 MB / 0.5003 GB, free: 10.3 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.354e-05/0.2836, allocations: 24.44 kB / 0.5003 GB, free: 10.29 MB / 366.1 MB Notification: Performance of SimCode: time 5.01e-07/0.2836, allocations: 4 kB / 0.5003 GB, free: 10.29 MB / 366.1 MB Notification: Performance of Templates: time 0.006484/0.29, allocations: 4.552 MB / 0.5048 GB, free: 7.926 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesOneLoad.makefile [Timeout 660] (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesOneLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesOneLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesOneLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesOneLoad.sim & ./PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesOneLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesOneLoad.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.153315898962319] Failed to read output from testmodel.py, exit status != 0: 0.29796410421840847 0.31320863800000004 0.056565352000000006 Calling exit ...