Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSouceOneLineOneSource.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.001228/0.001228, allocations: 111 kB / 17.8 MB, free: 5.234 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.001209/0.001209, allocations: 183.8 kB / 20.73 MB, free: 2.309 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.338/1.338, allocations: 222.9 MB / 246.4 MB, free: 4.207 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.146/0.146, allocations: 8.074 MB / 306.7 MB, free: 2.66 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.OneSouceOneLineOneSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSouceOneLineOneSource") translateModel(PowerSysPro.Examples.OneSouceOneLineOneSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSouceOneLineOneSource") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001817/0.001817, allocations: 67.89 kB / 423.9 MB, free: 6.395 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2007/0.2026, allocations: 51.52 MB / 475.4 MB, free: 22.07 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSouceOneLineOneSource): time 0.001787/0.2044, allocations: 1.157 MB / 476.5 MB, free: 21.18 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001247/0.2057, allocations: 1.439 MB / 478 MB, free: 20.02 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.849e-05/0.2057, allocations: 2.094 kB / 478 MB, free: 20.02 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002694/0.206, allocations: 109.4 kB / 478.1 MB, free: 19.95 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001559/0.2062, allocations: 74.81 kB / 478.2 MB, free: 19.89 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00099/0.2072, allocations: 0.7478 MB / 478.9 MB, free: 19.33 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001831/0.2074, allocations: 133.5 kB / 479 MB, free: 19.25 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001142/0.2075, allocations: 49.67 kB / 479.1 MB, free: 19.23 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.064e-05/0.2075, allocations: 64.89 kB / 479.2 MB, free: 19.19 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.05e-05/0.2076, allocations: 71.47 kB / 479.2 MB, free: 19.14 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.209e-05/0.2077, allocations: 11.16 kB / 479.2 MB, free: 19.14 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002346/0.2079, allocations: 161.3 kB / 479.4 MB, free: 19.07 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.226e-05/0.2079, allocations: 32.53 kB / 479.4 MB, free: 19.05 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.088e-05/0.208, allocations: 59.95 kB / 479.5 MB, free: 19.01 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002884/0.2083, allocations: 263.6 kB / 479.7 MB, free: 18.84 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.2083, allocations: 0 / 479.7 MB, free: 18.84 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.2083, allocations: 1.25 kB / 479.7 MB, free: 18.84 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.259e-06/0.2083, allocations: 0 / 479.7 MB, free: 18.84 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: 27 * Number of variables: 27 Notification: Performance of Generate backend data structure: time 0.001277/0.2096, allocations: 0.5907 MB / 480.3 MB, free: 18.33 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.414e-05/0.2096, allocations: 17.05 kB / 480.4 MB, free: 18.32 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.274e-05/0.2097, allocations: 16.94 kB / 480.4 MB, free: 18.31 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001551/0.2098, allocations: 220.9 kB / 480.6 MB, free: 18.07 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.581e-05/0.2099, allocations: 9.828 kB / 480.6 MB, free: 18.06 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.212e-05/0.2099, allocations: 9 kB / 480.6 MB, free: 18.06 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002421/0.2101, allocations: 167 kB / 480.8 MB, free: 17.95 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.037e-05/0.2102, allocations: 192 / 480.8 MB, free: 17.95 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.688e-05/0.2102, allocations: 9 kB / 480.8 MB, free: 17.95 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.54e-06/0.2102, allocations: 7.125 kB / 480.8 MB, free: 17.94 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002047/0.2104, allocations: 156.9 kB / 480.9 MB, free: 17.86 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006726/0.2111, allocations: 0.5679 MB / 481.5 MB, free: 17.35 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002114/0.2113, allocations: 152 kB / 481.6 MB, free: 17.26 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.703e-05/0.2114, allocations: 67.28 kB / 481.7 MB, free: 17.22 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.289e-05/0.2114, allocations: 2.5 kB / 481.7 MB, free: 17.22 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.89e-05/0.2115, allocations: 47.88 kB / 481.8 MB, free: 17.16 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.152e-06/0.2115, allocations: 1.312 kB / 481.8 MB, free: 17.16 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.0008644/0.2123, allocations: 388.7 kB / 482.1 MB, free: 16.89 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.825e-05/0.2124, allocations: 56.69 kB / 482.2 MB, free: 16.82 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001073/0.2125, allocations: 163.3 kB / 482.4 MB, free: 16.69 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.377e-05/0.2125, allocations: 30.77 kB / 482.4 MB, free: 16.66 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.28e-05/0.2125, allocations: 117.9 kB / 482.5 MB, free: 16.54 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.282e-05/0.2126, allocations: 49.34 kB / 482.6 MB, free: 16.5 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.583e-05/0.2126, allocations: 49.78 kB / 482.6 MB, free: 16.46 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 3.82e-05/0.2127, allocations: 325.5 kB / 482.9 MB, free: 16.13 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001178/0.2128, allocations: 93.22 kB / 483 MB, free: 16.08 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001136/0.2129, allocations: 90.59 kB / 483.1 MB, free: 16.04 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002332/0.2132, allocations: 195.1 kB / 483.3 MB, free: 15.93 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.2132, allocations: 1.188 kB / 483.3 MB, free: 15.93 MB / 350.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004565/0.2136, allocations: 303.8 kB / 483.6 MB, free: 15.75 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.211e-05/0.2137, allocations: 5.594 kB / 483.6 MB, free: 15.75 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.897e-06/0.2137, allocations: 0 / 483.6 MB, free: 15.75 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002497/0.2139, allocations: 53.47 kB / 483.6 MB, free: 15.71 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001592/0.2141, allocations: 36.05 kB / 483.7 MB, free: 15.7 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009703/0.2151, allocations: 1.536 MB / 485.2 MB, free: 14.16 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000122/0.2152, allocations: 16.25 kB / 485.2 MB, free: 14.15 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.651e-05/0.2152, allocations: 12.2 kB / 485.2 MB, free: 14.14 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 (22): * Single equations (assignments): 21 * 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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 6.823e-05/0.2153, allocations: 128.4 kB / 485.4 MB, free: 14.01 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.546e-05/0.2153, allocations: 8.609 kB / 485.4 MB, free: 14.01 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004376/0.2158, allocations: 240.4 kB / 485.6 MB, free: 13.85 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.564e-06/0.2158, allocations: 2.062 kB / 485.6 MB, free: 13.85 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.344e-06/0.2158, allocations: 1.062 kB / 485.6 MB, free: 13.85 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.357e-06/0.2158, allocations: 0 / 485.6 MB, free: 13.85 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001846/0.216, allocations: 275 kB / 485.9 MB, free: 13.56 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.216, allocations: 0 / 485.9 MB, free: 13.56 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.692e-05/0.2161, allocations: 22.97 kB / 485.9 MB, free: 13.55 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001797/0.2163, allocations: 52.69 kB / 486 MB, free: 13.52 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.166e-05/0.2163, allocations: 1.281 kB / 486 MB, free: 13.52 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000881/0.2172, allocations: 1.536 MB / 487.5 MB, free: 11.98 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.2172, allocations: 0 / 487.5 MB, free: 11.98 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003585/0.2176, allocations: 310.6 kB / 487.8 MB, free: 11.74 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.583e-05/0.2176, allocations: 88.25 kB / 487.9 MB, free: 11.64 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.015e-05/0.2176, allocations: 1.562 kB / 487.9 MB, free: 11.64 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001214/0.2177, allocations: 9.344 kB / 487.9 MB, free: 11.63 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.384e-05/0.2178, allocations: 8.859 kB / 487.9 MB, free: 11.62 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.075e-05/0.2178, allocations: 3 kB / 487.9 MB, free: 11.62 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.871e-05/0.2179, allocations: 140.7 kB / 488 MB, free: 11.51 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2179, allocations: 1.156 kB / 488 MB, free: 11.51 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003061/0.2182, allocations: 55.67 kB / 488.1 MB, free: 11.5 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 (12): * Single equations (assignments): 11 * 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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001518/0.2184, allocations: 116.1 kB / 488.2 MB, free: 11.4 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005377/0.2189, allocations: 325.1 kB / 488.5 MB, free: 11.18 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.2189, allocations: 0 / 488.5 MB, free: 11.18 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002976/0.2192, allocations: 208.6 kB / 488.7 MB, free: 11.02 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002264/0.2195, allocations: 8.781 kB / 488.7 MB, free: 11.01 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004898/0.2199, allocations: 335.2 kB / 489.1 MB, free: 10.75 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001084/0.2201, allocations: 0.7049 MB / 489.8 MB, free: 10.04 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.8e-05/0.2201, allocations: 23.58 kB / 489.8 MB, free: 10.03 MB / 350.1 MB Notification: Performance of SimCode: time 4.5e-07/0.2201, allocations: 0 / 489.8 MB, free: 10.03 MB / 350.1 MB Notification: Performance of Templates: time 0.004013/0.2241, allocations: 2.786 MB / 492.6 MB, free: 8.582 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f PowerSysPro_PowerSysPro.Examples.OneSouceOneLineOneSource.makefile [Timeout 660] (rm -f PowerSysPro_PowerSysPro.Examples.OneSouceOneLineOneSource.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSouceOneLineOneSource.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSouceOneLineOneSource.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSouceOneLineOneSource.sim & ./PowerSysPro_PowerSysPro.Examples.OneSouceOneLineOneSource -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.OneSouceOneLineOneSource.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.549747771816328] Failed to read output from testmodel.py, exit status != 0: 0.2303519349079579 0.23882601799999995 0.028207029 Calling exit ...