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.002678/0.002678, allocations: 88.98 kB / 20.25 MB, free: 4.172 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.003298/0.003298, allocations: 173.2 kB / 23.57 MB, free: 0.8516 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.567/1.567, allocations: 177.1 MB / 203.9 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 178] 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.03753/0.03753, allocations: 4.487 MB / 264.9 MB, free: 8.57 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.553e-06/1.553e-06, allocations: 0 / 335.7 MB, free: 13.61 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.584e-05/2.739e-05, allocations: 10.25 kB / 335.7 MB, free: 13.59 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.TwoSourcesOneLineThreeSensors): time 0.002223/0.002251, allocations: 1.66 MB / 337.4 MB, free: 11.94 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001529/0.00378, allocations: 1.481 MB / 338.9 MB, free: 10.44 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.559e-05/0.003866, allocations: 8 kB / 338.9 MB, free: 10.43 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003251/0.004191, allocations: 127.2 kB / 339 MB, free: 10.31 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002333/0.004424, allocations: 95.25 kB / 339.1 MB, free: 10.21 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001289/0.005713, allocations: 0.8668 MB / 340 MB, free: 9.348 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002302/0.005944, allocations: 242.6 kB / 340.2 MB, free: 9.109 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001407/0.006084, allocations: 76.34 kB / 340.3 MB, free: 9.031 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001068/0.006191, allocations: 143.7 kB / 340.4 MB, free: 8.891 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001477/0.006339, allocations: 95.75 kB / 340.5 MB, free: 8.797 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.158e-05/0.00637, allocations: 24 kB / 340.5 MB, free: 8.773 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002738/0.006644, allocations: 207.6 kB / 340.7 MB, free: 8.57 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.075e-05/0.006675, allocations: 47.83 kB / 340.8 MB, free: 8.523 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 6.307e-05/0.006738, allocations: 83.75 kB / 340.9 MB, free: 8.441 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003833/0.007121, allocations: 442.6 kB / 341.3 MB, free: 8.008 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.007124, allocations: 0 / 341.3 MB, free: 8.008 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.322e-06/0.007126, allocations: 4 kB / 341.3 MB, free: 8.004 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.809e-06/0.00713, allocations: 0 / 341.3 MB, free: 8.004 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.001823/0.008954, allocations: 0.8038 MB / 342.1 MB, free: 7.156 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.191e-05/0.008986, allocations: 12.03 kB / 342.1 MB, free: 7.145 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.563e-05/0.009071, allocations: 52.73 kB / 342.2 MB, free: 7.094 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001802/0.009251, allocations: 188.2 kB / 342.4 MB, free: 6.883 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.703e-05/0.009268, allocations: 24.86 kB / 342.4 MB, free: 6.859 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.207e-05/0.009311, allocations: 24.38 kB / 342.4 MB, free: 6.836 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003423/0.009653, allocations: 248.6 kB / 342.7 MB, free: 6.586 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.261e-05/0.009665, allocations: 4.188 kB / 342.7 MB, free: 6.582 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.351e-05/0.009689, allocations: 12.38 kB / 342.7 MB, free: 6.57 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.971e-06/0.009695, allocations: 4.375 kB / 342.7 MB, free: 6.566 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003083/0.01, allocations: 217.8 kB / 342.9 MB, free: 6.355 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00118/0.01118, allocations: 0.8175 MB / 343.7 MB, free: 5.5 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004794/0.01166, allocations: 271.9 kB / 344 MB, free: 5.223 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001409/0.0118, allocations: 115.7 kB / 344.1 MB, free: 5.105 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001053/0.01191, allocations: 12 kB / 344.1 MB, free: 5.094 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.353e-05/0.01192, allocations: 33.39 kB / 344.1 MB, free: 5.051 MB / 266.7 MB Notification: Performance of pre-optimization done (n=26): time 1.413e-06/0.01192, allocations: 0 / 344.1 MB, free: 5.051 MB / 266.7 MB Notification: Performance of matching and sorting (n=26): time 0.001032/0.01296, allocations: 451.4 kB / 344.6 MB, free: 4.602 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.122e-05/0.01298, allocations: 59.34 kB / 344.6 MB, free: 4.531 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001195/0.0131, allocations: 228.1 kB / 344.8 MB, free: 4.293 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.705e-05/0.01311, allocations: 29.7 kB / 344.9 MB, free: 4.258 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.52e-05/0.01317, allocations: 203.3 kB / 345.1 MB, free: 4.055 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.336e-05/0.01322, allocations: 95.17 kB / 345.2 MB, free: 3.961 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.108e-05/0.01331, allocations: 85.11 kB / 345.3 MB, free: 3.871 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.615e-05/0.01338, allocations: 0.504 MB / 345.8 MB, free: 3.355 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001449/0.01352, allocations: 112 kB / 345.9 MB, free: 3.246 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001409/0.01367, allocations: 125.3 kB / 346 MB, free: 3.125 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002989/0.01396, allocations: 284.1 kB / 346.3 MB, free: 2.844 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.01397, allocations: 0 / 346.3 MB, free: 2.844 MB / 266.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0005571/0.01452, allocations: 396.9 kB / 346.7 MB, free: 2.445 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.523e-05/0.01454, allocations: 10.97 kB / 346.7 MB, free: 2.438 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.01454, allocations: 0 / 346.7 MB, free: 2.438 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002848/0.01483, allocations: 63.64 kB / 346.7 MB, free: 2.371 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002937/0.01512, allocations: 63.89 kB / 346.8 MB, free: 2.309 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001084/0.01621, allocations: 1.951 MB / 348.7 MB, free: 236 kB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000167/0.01637, allocations: 23.84 kB / 348.8 MB, free: 212 kB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.063e-05/0.01639, allocations: 8 kB / 348.8 MB, free: 204 kB / 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 9.268e-05/0.01649, allocations: 188.5 kB / 349 MB, free: 4 kB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.54e-05/0.01657, allocations: 23.98 kB / 349 MB, free: 15.98 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007418/0.01731, allocations: 347.9 kB / 349.3 MB, free: 15.63 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.46e-06/0.01732, allocations: 4 kB / 349.3 MB, free: 15.62 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.157e-06/0.01732, allocations: 3.984 kB / 349.3 MB, free: 15.62 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.791e-06/0.01733, allocations: 3.938 kB / 349.3 MB, free: 15.62 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001131/0.01846, allocations: 0.7122 MB / 350 MB, free: 14.86 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.01846, allocations: 0 / 350 MB, free: 14.86 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002251/0.01869, allocations: 43.92 kB / 350.1 MB, free: 14.82 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002373/0.01892, allocations: 59.64 kB / 350.1 MB, free: 14.76 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.203e-05/0.01895, allocations: 4 kB / 350.1 MB, free: 14.75 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002162/0.02111, allocations: 1.947 MB / 352.1 MB, free: 12.69 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.02111, allocations: 0 / 352.1 MB, free: 12.69 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007181/0.02183, allocations: 456.3 kB / 352.5 MB, free: 12.22 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.797e-05/0.02187, allocations: 27.83 kB / 352.6 MB, free: 12.19 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.802e-05/0.02189, allocations: 4 kB / 352.6 MB, free: 12.19 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001544/0.02205, allocations: 96 / 352.6 MB, free: 12.19 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.385e-05/0.0221, allocations: 27.91 kB / 352.6 MB, free: 12.16 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.827e-05/0.02212, allocations: 8 kB / 352.6 MB, free: 12.15 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001492/0.02227, allocations: 167.2 kB / 352.8 MB, free: 11.99 MB / 282.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.02227, allocations: 0 / 352.8 MB, free: 11.99 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003936/0.02266, allocations: 79.89 kB / 352.8 MB, free: 11.91 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.0002295/0.02289, allocations: 123.2 kB / 353 MB, free: 11.78 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0009361/0.02383, allocations: 465 kB / 353.4 MB, free: 11.3 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.02383, allocations: 0 / 353.4 MB, free: 11.3 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005569/0.02439, allocations: 317.8 kB / 353.7 MB, free: 10.97 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002559/0.02464, allocations: 12 kB / 353.7 MB, free: 10.96 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009603/0.0256, allocations: 460.2 kB / 354.2 MB, free: 10.48 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001419/0.02575, allocations: 129.2 kB / 354.3 MB, free: 10.33 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001172/0.02586, allocations: 29.61 kB / 354.3 MB, free: 10.3 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.342e-05/0.02595, allocations: 28.48 kB / 354.4 MB, free: 10.27 MB / 282.7 MB Notification: Performance of SimCode: time 7.61e-07/0.02595, allocations: 0 / 354.4 MB, free: 10.27 MB / 282.7 MB Notification: Performance of Templates: time 0.007804/0.03375, allocations: 2.75 MB / 357.1 MB, free: 7.551 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: 4.6120392609154806]