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.0009624/0.0009624, allocations: 79.36 kB / 20.47 MB, free: 4.105 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.001156/0.001156, allocations: 169 kB / 23.84 MB, free: 0.7305 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 1.062/1.062, allocations: 177.1 MB / 204.2 MB, free: 5.625 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.02451/0.02451, allocations: 4.49 MB / 265.2 MB, free: 8.555 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.423e-06/1.423e-06, allocations: 0 / 336.5 MB, free: 13.27 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.371e-05/2.513e-05, allocations: 6.25 kB / 336.5 MB, free: 13.26 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.TwoSourcesOneLineThreeSensors): time 0.00202/0.002045, allocations: 1.68 MB / 338.2 MB, free: 11.58 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001337/0.003382, allocations: 1.516 MB / 339.7 MB, free: 10.05 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.136e-05/0.003463, allocations: 4 kB / 339.7 MB, free: 10.05 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003243/0.003787, allocations: 127.1 kB / 339.8 MB, free: 9.922 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002167/0.004004, allocations: 83.39 kB / 339.9 MB, free: 9.84 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008767/0.004881, allocations: 0.879 MB / 340.8 MB, free: 8.957 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002218/0.005103, allocations: 242.6 kB / 341 MB, free: 8.719 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001284/0.005231, allocations: 76.34 kB / 341.1 MB, free: 8.641 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.912e-05/0.00532, allocations: 139.7 kB / 341.2 MB, free: 8.504 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000123/0.005443, allocations: 99.69 kB / 341.3 MB, free: 8.406 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.662e-05/0.00547, allocations: 24 kB / 341.3 MB, free: 8.383 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002634/0.005733, allocations: 199.7 kB / 341.5 MB, free: 8.188 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 2.997e-05/0.005763, allocations: 59.75 kB / 341.6 MB, free: 8.129 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 5.083e-05/0.005814, allocations: 83.77 kB / 341.7 MB, free: 8.047 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003167/0.006131, allocations: 378.7 kB / 342 MB, free: 7.676 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.884e-06/0.006132, allocations: 0 / 342 MB, free: 7.676 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.62e-07/0.006133, allocations: 0 / 342 MB, free: 7.676 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.631e-06/0.006139, allocations: 0 / 342 MB, free: 7.676 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.00116/0.007299, allocations: 0.804 MB / 342.8 MB, free: 6.828 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.93e-05/0.007338, allocations: 8.031 kB / 342.9 MB, free: 6.82 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.475e-05/0.007413, allocations: 44.8 kB / 342.9 MB, free: 6.777 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000157/0.00757, allocations: 180.3 kB / 343.1 MB, free: 6.574 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.866e-05/0.007589, allocations: 24.88 kB / 343.1 MB, free: 6.551 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.346e-05/0.007612, allocations: 24.38 kB / 343.1 MB, free: 6.527 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002328/0.007845, allocations: 188.6 kB / 343.3 MB, free: 6.336 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.298e-06/0.007854, allocations: 192 / 343.3 MB, free: 6.336 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.815e-05/0.007872, allocations: 12.38 kB / 343.3 MB, free: 6.324 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.864e-06/0.00788, allocations: 4.375 kB / 343.3 MB, free: 6.32 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001798/0.00806, allocations: 142.8 kB / 343.5 MB, free: 6.184 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008069/0.008867, allocations: 0.7511 MB / 344.2 MB, free: 5.395 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002693/0.009136, allocations: 199 kB / 344.4 MB, free: 5.188 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.233e-05/0.009218, allocations: 67.59 kB / 344.5 MB, free: 5.117 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.245e-05/0.009301, allocations: 11.98 kB / 344.5 MB, free: 5.105 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.669e-05/0.009318, allocations: 37.39 kB / 344.5 MB, free: 5.059 MB / 266.7 MB Notification: Performance of pre-optimization done (n=26): time 1.874e-06/0.00932, allocations: 0 / 344.5 MB, free: 5.059 MB / 266.7 MB Notification: Performance of matching and sorting (n=26): time 0.0006419/0.009961, allocations: 279.4 kB / 344.8 MB, free: 4.777 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.771e-05/0.009989, allocations: 59.34 kB / 344.9 MB, free: 4.707 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001057/0.01009, allocations: 215.7 kB / 345.1 MB, free: 4.48 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.418e-05/0.01011, allocations: 33.7 kB / 345.1 MB, free: 4.441 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.458e-05/0.01016, allocations: 195.4 kB / 345.3 MB, free: 4.246 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.448e-05/0.0102, allocations: 95.16 kB / 345.4 MB, free: 4.152 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.673e-05/0.01026, allocations: 69.42 kB / 345.4 MB, free: 4.078 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.823e-05/0.01031, allocations: 0.4962 MB / 345.9 MB, free: 3.57 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.81e-05/0.0104, allocations: 71.95 kB / 346 MB, free: 3.5 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.705e-05/0.01049, allocations: 77.38 kB / 346.1 MB, free: 3.426 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002024/0.01069, allocations: 188 kB / 346.3 MB, free: 3.238 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.01069, allocations: 3.938 kB / 346.3 MB, free: 3.234 MB / 266.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0003507/0.01104, allocations: 293 kB / 346.6 MB, free: 2.938 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.35e-05/0.01106, allocations: 8 kB / 346.6 MB, free: 2.93 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/0.01106, allocations: 0 / 346.6 MB, free: 2.93 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001972/0.01126, allocations: 35.58 kB / 346.6 MB, free: 2.891 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001784/0.01144, allocations: 55.97 kB / 346.7 MB, free: 2.836 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007462/0.01218, allocations: 1.802 MB / 348.5 MB, free: 0.9062 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.912e-05/0.01227, allocations: 27.78 kB / 348.5 MB, free: 0.8789 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.59e-05/0.01229, allocations: 12 kB / 348.5 MB, free: 0.8672 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 7.205e-05/0.01236, allocations: 176.6 kB / 348.7 MB, free: 0.6836 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.36e-05/0.0124, allocations: 27.89 kB / 348.7 MB, free: 0.6562 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003174/0.01271, allocations: 231.9 kB / 348.9 MB, free: 432 kB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.01272, allocations: 4 kB / 348.9 MB, free: 428 kB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.605e-06/0.01272, allocations: 0 / 348.9 MB, free: 428 kB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.798e-06/0.01272, allocations: 3.938 kB / 348.9 MB, free: 424 kB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005365/0.01326, allocations: 0.5795 MB / 349.5 MB, free: 15.79 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.043e-06/0.01326, allocations: 0 / 349.5 MB, free: 15.79 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001137/0.01337, allocations: 43.86 kB / 349.6 MB, free: 15.74 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001315/0.01351, allocations: 35.64 kB / 349.6 MB, free: 15.7 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.258e-05/0.01352, allocations: 4 kB / 349.6 MB, free: 15.7 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000904/0.01442, allocations: 1.787 MB / 351.4 MB, free: 13.79 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.01442, allocations: 0 / 351.4 MB, free: 13.79 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003395/0.01476, allocations: 356.4 kB / 351.7 MB, free: 13.42 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.181e-05/0.01479, allocations: 27.83 kB / 351.8 MB, free: 13.39 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.526e-05/0.0148, allocations: 0 / 351.8 MB, free: 13.39 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.745e-05/0.01487, allocations: 4 kB / 351.8 MB, free: 13.39 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.898e-05/0.01491, allocations: 27.84 kB / 351.8 MB, free: 13.36 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.082e-05/0.01492, allocations: 4 kB / 351.8 MB, free: 13.36 MB / 282.7 MB Notification: Performance of sorting global known variables: time 8.225e-05/0.015, allocations: 159.2 kB / 351.9 MB, free: 13.2 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.015, allocations: 0 / 351.9 MB, free: 13.2 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000256/0.01526, allocations: 79.89 kB / 352 MB, free: 13.12 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.000184/0.01544, allocations: 115.2 kB / 352.1 MB, free: 13 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0005221/0.01596, allocations: 373 kB / 352.5 MB, free: 12.62 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.01596, allocations: 4 kB / 352.5 MB, free: 12.61 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002288/0.01619, allocations: 273.7 kB / 352.8 MB, free: 12.32 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000186/0.01638, allocations: 12 kB / 352.8 MB, free: 12.31 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000891/0.01727, allocations: 435.2 kB / 353.2 MB, free: 11.86 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.925e-05/0.01732, allocations: 83.84 kB / 353.3 MB, free: 11.75 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 7.895e-05/0.0174, allocations: 29.61 kB / 353.3 MB, free: 11.73 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.304e-05/0.01745, allocations: 24.48 kB / 353.3 MB, free: 11.7 MB / 282.7 MB Notification: Performance of SimCode: time 9.01e-07/0.01745, allocations: 0 / 353.3 MB, free: 11.7 MB / 282.7 MB Notification: Performance of Templates: time 0.004902/0.02235, allocations: 3.02 MB / 356.4 MB, free: 8.711 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.867528223898262]