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.001239/0.001239, allocations: 114.9 kB / 17.8 MB, free: 5.258 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.001238/0.001238, allocations: 183.8 kB / 20.73 MB, free: 2.328 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.326/1.326, allocations: 222.9 MB / 246.4 MB, free: 4.215 MB / 190.1 MB " [Timeout remaining time 179] 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.1483/0.1483, allocations: 8.085 MB / 306.7 MB, free: 2.695 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.001871/0.001871, allocations: 67.89 kB / 423.9 MB, free: 6.426 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2104/0.2123, allocations: 51.52 MB / 475.4 MB, free: 22.14 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceTwoLinesOneLoad): time 0.002289/0.2146, allocations: 1.564 MB / 477 MB, free: 20.93 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001456/0.2161, allocations: 1.545 MB / 478.5 MB, free: 19.68 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.218e-05/0.2162, allocations: 8.062 kB / 478.5 MB, free: 19.68 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002888/0.2165, allocations: 125.1 kB / 478.6 MB, free: 19.59 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002306/0.2167, allocations: 108.5 kB / 478.7 MB, free: 19.5 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001309/0.2181, allocations: 0.9154 MB / 479.6 MB, free: 18.83 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002601/0.2183, allocations: 241.7 kB / 479.9 MB, free: 18.68 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001298/0.2185, allocations: 80.47 kB / 480 MB, free: 18.64 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.017e-05/0.2185, allocations: 98.98 kB / 480.1 MB, free: 18.59 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001443/0.2187, allocations: 122.6 kB / 480.2 MB, free: 18.51 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.23e-05/0.2187, allocations: 18.41 kB / 480.2 MB, free: 18.51 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003026/0.219, allocations: 208.5 kB / 480.4 MB, free: 18.42 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.177e-05/0.2191, allocations: 42.78 kB / 480.4 MB, free: 18.38 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.835e-05/0.2192, allocations: 115.1 kB / 480.6 MB, free: 18.3 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003901/0.2196, allocations: 394.7 kB / 480.9 MB, free: 18.05 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.2196, allocations: 0 / 480.9 MB, free: 18.05 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.874e-06/0.2196, allocations: 4.906 kB / 480.9 MB, free: 18.05 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.3e-06/0.2196, allocations: 0 / 480.9 MB, free: 18.05 MB / 350.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.002076/0.2217, allocations: 0.8169 MB / 481.8 MB, free: 17.42 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.818e-05/0.2217, allocations: 13.33 kB / 481.8 MB, free: 17.42 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.807e-05/0.2218, allocations: 29.8 kB / 481.8 MB, free: 17.4 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002163/0.222, allocations: 256.4 kB / 482.1 MB, free: 17.13 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.661e-05/0.222, allocations: 20.62 kB / 482.1 MB, free: 17.12 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.061e-05/0.2221, allocations: 16.72 kB / 482.1 MB, free: 17.12 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003526/0.2224, allocations: 257.2 kB / 482.3 MB, free: 16.96 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.568e-06/0.2224, allocations: 4.125 kB / 482.3 MB, free: 16.95 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.672e-05/0.2225, allocations: 14.16 kB / 482.4 MB, free: 16.94 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.56e-06/0.2225, allocations: 3.531 kB / 482.4 MB, free: 16.94 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003235/0.2228, allocations: 243.7 kB / 482.6 MB, free: 16.82 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001065/0.2239, allocations: 1.121 MB / 483.7 MB, free: 15.75 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005506/0.2244, allocations: 310.2 kB / 484 MB, free: 15.58 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001817/0.2246, allocations: 157.7 kB / 484.2 MB, free: 15.49 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.237e-05/0.2247, allocations: 12.39 kB / 484.2 MB, free: 15.48 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.907e-05/0.2247, allocations: 35.94 kB / 484.2 MB, free: 15.44 MB / 350.1 MB Notification: Performance of pre-optimization done (n=25): time 1.273e-06/0.2247, allocations: 1.5 kB / 484.2 MB, free: 15.44 MB / 350.1 MB Notification: Performance of matching and sorting (n=25): time 0.002808/0.2275, allocations: 0.9758 MB / 485.2 MB, free: 14.84 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.849e-05/0.2276, allocations: 53.75 kB / 485.3 MB, free: 14.78 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001573/0.2277, allocations: 193.4 kB / 485.4 MB, free: 14.63 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.2e-05/0.2278, allocations: 36.11 kB / 485.5 MB, free: 14.59 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.02e-05/0.2278, allocations: 132.8 kB / 485.6 MB, free: 14.46 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.309e-05/0.2279, allocations: 93.58 kB / 485.7 MB, free: 14.38 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.111e-05/0.228, allocations: 68.3 kB / 485.8 MB, free: 14.33 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.392e-05/0.228, allocations: 331.5 kB / 486.1 MB, free: 14 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001877/0.2282, allocations: 149.6 kB / 486.2 MB, free: 13.93 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001955/0.2284, allocations: 162.6 kB / 486.4 MB, free: 13.84 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004183/0.2288, allocations: 349.3 kB / 486.7 MB, free: 13.64 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.2288, allocations: 5.516 kB / 486.7 MB, free: 13.64 MB / 350.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001323/0.2302, allocations: 0.639 MB / 487.4 MB, free: 13.26 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.244e-05/0.2302, allocations: 4.125 kB / 487.4 MB, free: 13.26 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.2302, allocations: 5.375 kB / 487.4 MB, free: 13.26 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001244/0.2314, allocations: 323 kB / 487.7 MB, free: 13.11 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001521/0.2316, allocations: 40.92 kB / 487.7 MB, free: 13.1 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003288/0.2349, allocations: 2.759 MB / 490.5 MB, free: 10.8 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001949/0.2351, allocations: 33.94 kB / 490.5 MB, free: 10.78 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.457e-05/0.2351, allocations: 6.469 kB / 490.5 MB, free: 10.78 MB / 350.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 9.484e-05/0.2352, allocations: 135.4 kB / 490.7 MB, free: 10.64 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.996e-05/0.2353, allocations: 21.48 kB / 490.7 MB, free: 10.63 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00134/0.2366, allocations: 0.624 MB / 491.3 MB, free: 10.24 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.931e-06/0.2367, allocations: 3.344 kB / 491.3 MB, free: 10.24 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.054e-06/0.2367, allocations: 7.875 kB / 491.3 MB, free: 10.23 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.2367, allocations: 5.266 kB / 491.3 MB, free: 10.23 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002827/0.237, allocations: 383.5 kB / 491.7 MB, free: 9.867 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.237, allocations: 0 / 491.7 MB, free: 9.867 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.744e-05/0.2371, allocations: 32.61 kB / 491.7 MB, free: 9.859 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001196/0.2383, allocations: 310.8 kB / 492 MB, free: 9.707 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.975e-05/0.2383, allocations: 6.406 kB / 492.1 MB, free: 9.703 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002977/0.2413, allocations: 2.734 MB / 494.8 MB, free: 7.434 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/0.2413, allocations: 1.062 kB / 494.8 MB, free: 7.434 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001262/0.2426, allocations: 0.6735 MB / 495.5 MB, free: 6.98 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.893e-05/0.2426, allocations: 99.77 kB / 495.6 MB, free: 6.871 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.092e-05/0.2427, allocations: 5.531 kB / 495.6 MB, free: 6.867 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001977/0.2429, allocations: 12.95 kB / 495.6 MB, free: 6.859 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.087e-05/0.2429, allocations: 27.53 kB / 495.6 MB, free: 6.844 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.007e-05/0.2429, allocations: 14.97 kB / 495.6 MB, free: 6.836 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.948e-05/0.243, allocations: 141.2 kB / 495.8 MB, free: 6.73 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.243, allocations: 4 kB / 495.8 MB, free: 6.727 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003849/0.2434, allocations: 101.7 kB / 495.9 MB, free: 6.707 MB / 350.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.0001426/0.2436, allocations: 110.1 kB / 496 MB, free: 6.613 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001192/0.2448, allocations: 0.629 MB / 496.6 MB, free: 6.234 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.2448, allocations: 0 / 496.6 MB, free: 6.234 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00085/0.2457, allocations: 441.9 kB / 497 MB, free: 5.957 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003096/0.246, allocations: 35.08 kB / 497.1 MB, free: 5.934 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006213/0.2466, allocations: 0.5098 MB / 497.6 MB, free: 5.465 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001197/0.2467, allocations: 0.7484 MB / 498.3 MB, free: 4.684 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.989e-05/0.2468, allocations: 27.44 kB / 498.3 MB, free: 4.656 MB / 350.1 MB Notification: Performance of SimCode: time 2.21e-07/0.2468, allocations: 0 / 498.3 MB, free: 4.656 MB / 350.1 MB Notification: Performance of Templates: time 0.004826/0.2516, allocations: 4.532 MB / 0.4911 GB, free: 128 kB / 350.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: 6.597504300996661] Failed to read output from testmodel.py, exit status != 0: 0.25877098902128637 0.270683191 0.048663636 Calling exit ...