Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.TwoSourcesOneLineThreeSensors.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.0008434/0.0008434, allocations: 84.44 kB / 20.73 MB, free: 3.836 MB / 18.57 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.001394/0.001394, allocations: 165.9 kB / 24 MB, free: 0.5586 MB / 18.57 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 0.8549/0.8549, allocations: 177.1 MB / 204.3 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] 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.02359/0.02359, allocations: 4.466 MB / 265.2 MB, free: 8.75 MB / 250.7 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.TwoSourcesOneLineThreeSensors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.TwoSourcesOneLineThreeSensors") translateModel(PowerSysPro.Examples.TwoSourcesOneLineThreeSensors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.TwoSourcesOneLineThreeSensors") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 390.9 MB, free: 6.891 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.476e-05/3.63e-05, allocations: 2.281 kB / 390.9 MB, free: 6.887 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.TwoSourcesOneLineThreeSensors): time 0.00205/0.002086, allocations: 1.592 MB / 392.4 MB, free: 5.293 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001573/0.003659, allocations: 1.462 MB / 393.9 MB, free: 3.816 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.059e-05/0.00375, allocations: 4 kB / 393.9 MB, free: 3.812 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003348/0.004085, allocations: 139.1 kB / 394.1 MB, free: 3.676 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002073/0.004292, allocations: 87.38 kB / 394.1 MB, free: 3.59 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009618/0.005254, allocations: 0.8476 MB / 395 MB, free: 2.742 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002746/0.005529, allocations: 242.8 kB / 395.2 MB, free: 2.504 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001497/0.005678, allocations: 72.34 kB / 395.3 MB, free: 2.434 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001092/0.005787, allocations: 135.7 kB / 395.4 MB, free: 2.301 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001386/0.005926, allocations: 103.7 kB / 395.5 MB, free: 2.199 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002889/0.006215, allocations: 20 kB / 395.5 MB, free: 2.18 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003277/0.006543, allocations: 207.6 kB / 395.7 MB, free: 1.977 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 3.131e-05/0.006574, allocations: 51.81 kB / 395.8 MB, free: 1.926 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 5.637e-05/0.00663, allocations: 79.77 kB / 395.9 MB, free: 1.848 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004139/0.007044, allocations: 438.7 kB / 396.3 MB, free: 1.418 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.516e-06/0.007048, allocations: 4 kB / 396.3 MB, free: 1.414 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.713e-06/0.00705, allocations: 0 / 396.3 MB, free: 1.414 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.879e-06/0.007054, allocations: 0 / 396.3 MB, free: 1.414 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.001226/0.008281, allocations: 0.6846 MB / 397 MB, free: 0.6953 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.478e-05/0.008315, allocations: 12.03 kB / 397 MB, free: 0.6836 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.18e-05/0.008367, allocations: 24.8 kB / 397 MB, free: 0.6602 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001884/0.008556, allocations: 184 kB / 397.2 MB, free: 468 kB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.617e-05/0.008572, allocations: 20.88 kB / 397.2 MB, free: 448 kB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.559e-05/0.008597, allocations: 24.38 kB / 397.3 MB, free: 424 kB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003284/0.008926, allocations: 300.6 kB / 397.5 MB, free: 116 kB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.709e-06/0.008935, allocations: 4.188 kB / 397.6 MB, free: 112 kB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.858e-05/0.008954, allocations: 8.375 kB / 397.6 MB, free: 104 kB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.356e-06/0.008962, allocations: 8.375 kB / 397.6 MB, free: 96 kB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003104/0.009273, allocations: 305.8 kB / 397.9 MB, free: 15.79 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008766/0.01015, allocations: 0.7323 MB / 398.6 MB, free: 15.03 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003234/0.01047, allocations: 249.5 kB / 398.8 MB, free: 14.78 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001183/0.01059, allocations: 116.8 kB / 399 MB, free: 14.66 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.843e-05/0.01067, allocations: 15.98 kB / 399 MB, free: 14.65 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.264e-05/0.01069, allocations: 34.56 kB / 399 MB, free: 14.61 MB / 330.7 MB Notification: Performance of pre-optimization done (n=26): time 2.524e-06/0.01069, allocations: 0 / 399 MB, free: 14.61 MB / 330.7 MB Notification: Performance of matching and sorting (n=26): time 0.000713/0.01141, allocations: 435.9 kB / 399.4 MB, free: 14.17 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.116e-05/0.01144, allocations: 59.34 kB / 399.5 MB, free: 14.1 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001085/0.01155, allocations: 165.8 kB / 399.7 MB, free: 13.93 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.876e-05/0.01157, allocations: 29.7 kB / 399.7 MB, free: 13.89 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.083e-05/0.01163, allocations: 144.6 kB / 399.8 MB, free: 13.75 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.131e-05/0.01167, allocations: 99.16 kB / 399.9 MB, free: 13.65 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.911e-05/0.01174, allocations: 77.48 kB / 400 MB, free: 13.57 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 7.577e-05/0.01181, allocations: 322.8 kB / 400.3 MB, free: 13.25 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001279/0.01194, allocations: 120 kB / 400.4 MB, free: 13.13 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001274/0.01207, allocations: 133.4 kB / 400.6 MB, free: 13 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002666/0.01233, allocations: 273.2 kB / 400.8 MB, free: 12.73 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/0.01234, allocations: 7.984 kB / 400.8 MB, free: 12.72 MB / 330.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0004214/0.01276, allocations: 398 kB / 401.2 MB, free: 12.32 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.469e-05/0.01278, allocations: 6.969 kB / 401.2 MB, free: 12.32 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.159e-06/0.01278, allocations: 4 kB / 401.2 MB, free: 12.32 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001879/0.01297, allocations: 52.81 kB / 401.3 MB, free: 12.26 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001718/0.01314, allocations: 59.91 kB / 401.3 MB, free: 12.2 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001194/0.01433, allocations: 1.42 MB / 402.8 MB, free: 10.67 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.04e-05/0.01442, allocations: 19.88 kB / 402.8 MB, free: 10.65 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.618e-05/0.01444, allocations: 12 kB / 402.8 MB, free: 10.64 MB / 330.7 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 (35): * Single equations (assignments): 34 * 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 9.9e-05/0.01454, allocations: 137.7 kB / 402.9 MB, free: 10.5 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.664e-05/0.01457, allocations: 19.89 kB / 402.9 MB, free: 10.48 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004055/0.01497, allocations: 355.8 kB / 403.3 MB, free: 10.12 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.416e-06/0.01497, allocations: 4 kB / 403.3 MB, free: 10.12 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.996e-06/0.01498, allocations: 0 / 403.3 MB, free: 10.12 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.369e-06/0.01498, allocations: 3.938 kB / 403.3 MB, free: 10.12 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005813/0.01556, allocations: 0.6241 MB / 403.9 MB, free: 9.453 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.776e-06/0.01557, allocations: 0 / 403.9 MB, free: 9.453 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001053/0.01567, allocations: 43.92 kB / 404 MB, free: 9.41 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001196/0.01579, allocations: 52.81 kB / 404 MB, free: 9.355 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.335e-05/0.0158, allocations: 8 kB / 404 MB, free: 9.348 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007891/0.01659, allocations: 1.401 MB / 405.4 MB, free: 7.844 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.01659, allocations: 0 / 405.4 MB, free: 7.844 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003522/0.01695, allocations: 401.5 kB / 405.8 MB, free: 7.434 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.716e-05/0.01696, allocations: 19.84 kB / 405.8 MB, free: 7.414 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.279e-05/0.01698, allocations: 0 / 405.8 MB, free: 7.414 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.255e-05/0.01705, allocations: 8 kB / 405.8 MB, free: 7.406 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.038e-05/0.01708, allocations: 27.83 kB / 405.9 MB, free: 7.379 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.947e-06/0.01709, allocations: 8.094 kB / 405.9 MB, free: 7.371 MB / 330.7 MB Notification: Performance of sorting global known variables: time 7.045e-05/0.01716, allocations: 137.5 kB / 406 MB, free: 7.238 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01716, allocations: 3.938 kB / 406 MB, free: 7.234 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002587/0.01742, allocations: 79.89 kB / 406.1 MB, free: 7.156 MB / 330.7 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 (25): * Single equations (assignments): 24 * 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.0001677/0.01759, allocations: 111.2 kB / 406.2 MB, free: 7.039 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0005178/0.0181, allocations: 398.5 kB / 406.6 MB, free: 6.637 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.01811, allocations: 0 / 406.6 MB, free: 6.637 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000216/0.01832, allocations: 234.5 kB / 406.8 MB, free: 6.395 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001836/0.01851, allocations: 16 kB / 406.8 MB, free: 6.379 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006557/0.01916, allocations: 472.1 kB / 407.3 MB, free: 5.883 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.124e-05/0.01924, allocations: 129.2 kB / 407.4 MB, free: 5.734 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.138e-05/0.0193, allocations: 28.48 kB / 407.5 MB, free: 5.703 MB / 330.7 MB Notification: Performance of SimCode: time 7.61e-07/0.0193, allocations: 0 / 407.5 MB, free: 5.703 MB / 330.7 MB Notification: Performance of Templates: time 0.004498/0.0238, allocations: 4.165 MB / 411.6 MB, free: 1.539 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f PowerSysPro_PowerSysPro.Examples.TwoSourcesOneLineThreeSensors.makefile [Timeout 660] (rm -f PowerSysPro_PowerSysPro.Examples.TwoSourcesOneLineThreeSensors.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.TwoSourcesOneLineThreeSensors.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.TwoSourcesOneLineThreeSensors.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.TwoSourcesOneLineThreeSensors.sim & ./PowerSysPro_PowerSysPro.Examples.TwoSourcesOneLineThreeSensors -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.TwoSourcesOneLineThreeSensors.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.514542778022587] Failed to read output from testmodel.py, exit status != 0: 0.17079395800828934 0.18056085000000002 0.171658012 Calling exit ...