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.001116/0.001116, allocations: 82.64 kB / 21.48 MB, free: 3.016 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.001292/0.001292, allocations: 167.4 kB / 24.88 MB, free: 9.262 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.9707/0.9707, allocations: 177.1 MB / 205.3 MB, free: 5.516 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.02335/0.02335, allocations: 4.481 MB / 266.3 MB, free: 8.422 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.283e-06/1.283e-06, allocations: 0 / 337.7 MB, free: 13.02 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.049e-05/1.177e-05, allocations: 6.25 kB / 337.7 MB, free: 13.01 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.TwoSourcesOneLineThreeSensors): time 0.004902/0.004914, allocations: 1.672 MB / 339.4 MB, free: 11.34 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001227/0.006141, allocations: 1.508 MB / 340.9 MB, free: 9.82 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.648e-05/0.006218, allocations: 4 kB / 340.9 MB, free: 9.816 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002696/0.006487, allocations: 123.2 kB / 341 MB, free: 9.695 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001719/0.006659, allocations: 91.31 kB / 341.1 MB, free: 9.605 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009366/0.007596, allocations: 0.8517 MB / 342 MB, free: 8.75 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002098/0.007806, allocations: 238.7 kB / 342.2 MB, free: 8.516 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003146/0.01095, allocations: 72.34 kB / 342.3 MB, free: 8.441 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.76e-05/0.01105, allocations: 143.7 kB / 342.4 MB, free: 8.301 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001276/0.01118, allocations: 99.75 kB / 342.5 MB, free: 8.203 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.556e-05/0.0112, allocations: 20 kB / 342.5 MB, free: 8.184 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002551/0.01146, allocations: 211.6 kB / 342.7 MB, free: 7.977 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.035e-05/0.01149, allocations: 55.77 kB / 342.8 MB, free: 7.922 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 5.558e-05/0.01154, allocations: 79.81 kB / 342.9 MB, free: 7.844 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003564/0.0119, allocations: 382.6 kB / 343.2 MB, free: 7.469 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.404e-06/0.0119, allocations: 3.984 kB / 343.2 MB, free: 7.465 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.52e-07/0.0119, allocations: 0 / 343.2 MB, free: 7.465 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.747e-06/0.01191, allocations: 0 / 343.2 MB, free: 7.465 MB / 266.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.001335/0.01324, allocations: 0.7962 MB / 344 MB, free: 6.625 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.699e-05/0.01327, allocations: 8.031 kB / 344 MB, free: 6.617 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.367e-05/0.01333, allocations: 44.8 kB / 344.1 MB, free: 6.574 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001426/0.01347, allocations: 184.3 kB / 344.3 MB, free: 6.367 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.48e-05/0.01349, allocations: 16.88 kB / 344.3 MB, free: 6.352 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.808e-05/0.01352, allocations: 28.38 kB / 344.3 MB, free: 6.324 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002036/0.01372, allocations: 172.5 kB / 344.5 MB, free: 6.148 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.247e-06/0.01373, allocations: 192 / 344.5 MB, free: 6.148 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.965e-05/0.01375, allocations: 12.38 kB / 344.5 MB, free: 6.137 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.653e-06/0.01376, allocations: 4.375 kB / 344.5 MB, free: 6.133 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001509/0.01391, allocations: 107.3 kB / 344.6 MB, free: 6.031 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007823/0.01469, allocations: 0.7204 MB / 345.3 MB, free: 5.281 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002611/0.01495, allocations: 179 kB / 345.5 MB, free: 5.094 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.044e-05/0.01502, allocations: 64.23 kB / 345.6 MB, free: 5.027 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.171e-05/0.01508, allocations: 8 kB / 345.6 MB, free: 5.02 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.874e-05/0.0151, allocations: 41.39 kB / 345.6 MB, free: 4.969 MB / 266.7 MB Notification: Performance of pre-optimization done (n=26): time 1.203e-06/0.0151, allocations: 0 / 345.6 MB, free: 4.969 MB / 266.7 MB Notification: Performance of matching and sorting (n=26): time 0.0005791/0.01568, allocations: 247.5 kB / 345.8 MB, free: 4.719 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.514e-05/0.0157, allocations: 63.33 kB / 345.9 MB, free: 4.645 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.904e-05/0.01579, allocations: 215.6 kB / 346.1 MB, free: 4.418 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.411e-05/0.0158, allocations: 33.7 kB / 346.1 MB, free: 4.379 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.429e-05/0.01585, allocations: 195.4 kB / 346.3 MB, free: 4.184 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.901e-05/0.01589, allocations: 95.16 kB / 346.4 MB, free: 4.09 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.157e-05/0.01598, allocations: 73.39 kB / 346.5 MB, free: 4.012 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.682e-05/0.01602, allocations: 0.5001 MB / 347 MB, free: 3.5 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.818e-05/0.01609, allocations: 51.95 kB / 347.1 MB, free: 3.449 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.985e-05/0.01616, allocations: 57.45 kB / 347.1 MB, free: 3.395 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001618/0.01632, allocations: 151.9 kB / 347.3 MB, free: 3.242 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.01632, allocations: 0 / 347.3 MB, free: 3.242 MB / 266.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0003363/0.01666, allocations: 261 kB / 347.5 MB, free: 2.977 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.078e-05/0.01667, allocations: 11.94 kB / 347.5 MB, free: 2.965 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.09e-06/0.01668, allocations: 7.938 kB / 347.5 MB, free: 2.957 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003164/0.01984, allocations: 27.66 kB / 347.6 MB, free: 2.926 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001996/0.02004, allocations: 63.89 kB / 347.6 MB, free: 2.863 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006737/0.02071, allocations: 1.779 MB / 349.4 MB, free: 0.9648 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001007/0.02081, allocations: 27.78 kB / 349.4 MB, free: 0.9375 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.639e-05/0.02083, allocations: 4 kB / 349.4 MB, free: 0.9336 MB / 266.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 6.989e-05/0.0209, allocations: 172.5 kB / 349.6 MB, free: 0.7539 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.456e-05/0.02094, allocations: 28.03 kB / 349.6 MB, free: 0.7266 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000306/0.02125, allocations: 219.9 kB / 349.8 MB, free: 0.5039 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.963e-06/0.02125, allocations: 4 kB / 349.8 MB, free: 0.5 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.864e-06/0.02125, allocations: 0 / 349.8 MB, free: 0.5 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/0.02126, allocations: 0 / 349.8 MB, free: 0.5 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005055/0.02176, allocations: 0.5214 MB / 350.4 MB, free: 15.94 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.02176, allocations: 0 / 350.4 MB, free: 15.94 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001441/0.02191, allocations: 47.91 kB / 350.4 MB, free: 15.89 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001306/0.02204, allocations: 35.62 kB / 350.5 MB, free: 15.86 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.497e-05/0.02205, allocations: 12 kB / 350.5 MB, free: 15.84 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003934/0.02599, allocations: 1.768 MB / 352.2 MB, free: 13.96 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.02599, allocations: 0 / 352.2 MB, free: 13.96 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003297/0.02632, allocations: 328.3 kB / 352.6 MB, free: 13.62 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.093e-05/0.02634, allocations: 27.95 kB / 352.6 MB, free: 13.59 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.126e-05/0.02636, allocations: 4 kB / 352.6 MB, free: 13.59 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.931e-05/0.02646, allocations: 4 kB / 352.6 MB, free: 13.59 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.073e-05/0.02649, allocations: 15.97 kB / 352.6 MB, free: 13.57 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.4e-05/0.02651, allocations: 8 kB / 352.6 MB, free: 13.56 MB / 282.7 MB Notification: Performance of sorting global known variables: time 6.85e-05/0.02657, allocations: 151.1 kB / 352.8 MB, free: 13.41 MB / 282.7 MB Notification: Performance of sort global known variables: time 8e-08/0.02657, allocations: 0 / 352.8 MB, free: 13.41 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003225/0.0269, allocations: 83.89 kB / 352.8 MB, free: 13.33 MB / 282.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.0001275/0.02702, allocations: 123.1 kB / 353 MB, free: 13.2 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0004301/0.02745, allocations: 353 kB / 353.3 MB, free: 12.84 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.243e-06/0.02746, allocations: 4 kB / 353.3 MB, free: 12.83 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002467/0.0277, allocations: 249.4 kB / 353.6 MB, free: 12.57 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002193/0.02792, allocations: 15.94 kB / 353.6 MB, free: 12.55 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003818/0.03174, allocations: 434.3 kB / 354 MB, free: 12.1 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.575e-05/0.03179, allocations: 87.78 kB / 354.1 MB, free: 11.99 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 9.9e-05/0.03189, allocations: 29.61 kB / 354.1 MB, free: 11.96 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.812e-05/0.03199, allocations: 94.2 kB / 354.2 MB, free: 11.87 MB / 282.7 MB Notification: Performance of SimCode: time 6.11e-07/0.03199, allocations: 0 / 354.2 MB, free: 11.87 MB / 282.7 MB Notification: Performance of Templates: time 0.00838/0.04037, allocations: 3.081 MB / 357.3 MB, free: 8.816 MB / 282.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=240 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.TwoSourcesOneLineThreeSensors.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.8444772982038558]