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.0009001/0.0009001, allocations: 87.45 kB / 20.47 MB, free: 4.113 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.0008912/0.0008912, allocations: 165 kB / 23.84 MB, free: 0.7422 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.007/1.007, allocations: 177.1 MB / 204.2 MB, free: 5.645 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.02875/0.02875, allocations: 4.48 MB / 265.2 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 2.164e-06/2.164e-06, allocations: 4 kB / 336.5 MB, free: 13.3 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.612e-05/2.828e-05, allocations: 6.25 kB / 336.5 MB, free: 13.29 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.TwoSourcesOneLineThreeSensors): time 0.002003/0.002031, allocations: 1.68 MB / 338.2 MB, free: 11.61 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001265/0.003296, allocations: 1.501 MB / 339.7 MB, free: 10.1 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.775e-05/0.003384, allocations: 7.938 kB / 339.7 MB, free: 10.09 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003071/0.003691, allocations: 135.1 kB / 339.8 MB, free: 9.957 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001942/0.003885, allocations: 91.38 kB / 339.9 MB, free: 9.867 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008093/0.004694, allocations: 0.8712 MB / 340.8 MB, free: 8.992 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.00024/0.004934, allocations: 238.6 kB / 341 MB, free: 8.758 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001366/0.005071, allocations: 68.34 kB / 341.1 MB, free: 8.688 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.571e-05/0.005157, allocations: 151.7 kB / 341.2 MB, free: 8.539 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001277/0.005284, allocations: 99.75 kB / 341.3 MB, free: 8.441 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.418e-05/0.005308, allocations: 20 kB / 341.3 MB, free: 8.422 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000277/0.005585, allocations: 211.6 kB / 341.5 MB, free: 8.215 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 2.401e-05/0.005609, allocations: 55.7 kB / 341.6 MB, free: 8.16 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.752e-05/0.005657, allocations: 75.83 kB / 341.7 MB, free: 8.086 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003092/0.005966, allocations: 374.7 kB / 342 MB, free: 7.719 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.00597, allocations: 8 kB / 342 MB, free: 7.711 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.343e-06/0.005971, allocations: 0 / 342 MB, free: 7.711 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.589e-06/0.005976, allocations: 4 kB / 342 MB, free: 7.707 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.001103/0.007079, allocations: 0.7924 MB / 342.8 MB, free: 6.871 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.443e-05/0.007113, allocations: 12.03 kB / 342.8 MB, free: 6.859 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.722e-05/0.007181, allocations: 48.73 kB / 342.9 MB, free: 6.812 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000149/0.00733, allocations: 180.3 kB / 343.1 MB, free: 6.609 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.313e-05/0.007343, allocations: 16.88 kB / 343.1 MB, free: 6.594 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.616e-05/0.007369, allocations: 24.38 kB / 343.1 MB, free: 6.57 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002278/0.007597, allocations: 192.5 kB / 343.3 MB, free: 6.375 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.121e-05/0.007608, allocations: 4.188 kB / 343.3 MB, free: 6.371 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.875e-05/0.007627, allocations: 12.38 kB / 343.3 MB, free: 6.359 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.568e-06/0.007636, allocations: 8.375 kB / 343.3 MB, free: 6.352 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001685/0.007805, allocations: 134.8 kB / 343.4 MB, free: 6.223 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007225/0.008527, allocations: 0.7511 MB / 344.2 MB, free: 5.434 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002499/0.008777, allocations: 199.6 kB / 344.4 MB, free: 5.227 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.979e-05/0.008857, allocations: 63.66 kB / 344.5 MB, free: 5.16 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.307e-05/0.00894, allocations: 15.98 kB / 344.5 MB, free: 5.145 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.503e-05/0.008955, allocations: 37.39 kB / 344.5 MB, free: 5.098 MB / 266.7 MB Notification: Performance of pre-optimization done (n=26): time 1.052e-06/0.008956, allocations: 0 / 344.5 MB, free: 5.098 MB / 266.7 MB Notification: Performance of matching and sorting (n=26): time 0.0005661/0.009522, allocations: 279.4 kB / 344.8 MB, free: 4.816 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.767e-05/0.00954, allocations: 59.34 kB / 344.8 MB, free: 4.746 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.291e-05/0.009623, allocations: 216.1 kB / 345 MB, free: 4.52 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.294e-05/0.009636, allocations: 33.7 kB / 345.1 MB, free: 4.48 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.261e-05/0.009678, allocations: 195.4 kB / 345.3 MB, free: 4.285 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.064e-05/0.009709, allocations: 95.17 kB / 345.4 MB, free: 4.191 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.893e-05/0.009768, allocations: 69.42 kB / 345.4 MB, free: 4.117 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 3.562e-05/0.009803, allocations: 0.4962 MB / 345.9 MB, free: 3.609 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.174e-05/0.009885, allocations: 71.95 kB / 346 MB, free: 3.539 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.368e-05/0.009969, allocations: 81.38 kB / 346.1 MB, free: 3.461 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001829/0.01015, allocations: 180 kB / 346.3 MB, free: 3.281 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.01015, allocations: 0 / 346.3 MB, free: 3.281 MB / 266.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0003141/0.01047, allocations: 293 kB / 346.5 MB, free: 2.984 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.12e-05/0.01048, allocations: 6.812 kB / 346.5 MB, free: 2.98 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.01048, allocations: 0 / 346.5 MB, free: 2.98 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001771/0.01066, allocations: 43.58 kB / 346.6 MB, free: 2.934 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001618/0.01082, allocations: 55.97 kB / 346.6 MB, free: 2.879 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006241/0.01145, allocations: 1.806 MB / 348.4 MB, free: 0.9453 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.708e-05/0.01152, allocations: 23.78 kB / 348.5 MB, free: 0.9219 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.429e-05/0.01154, allocations: 15.98 kB / 348.5 MB, free: 0.9062 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.33e-05/0.0116, allocations: 172.5 kB / 348.7 MB, free: 0.7266 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.048e-05/0.01163, allocations: 23.91 kB / 348.7 MB, free: 0.7031 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002838/0.01192, allocations: 235.9 kB / 348.9 MB, free: 476 kB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.243e-06/0.01192, allocations: 4 kB / 348.9 MB, free: 472 kB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.014e-06/0.01192, allocations: 0 / 348.9 MB, free: 472 kB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.01192, allocations: 7.922 kB / 348.9 MB, free: 464 kB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000458/0.01238, allocations: 0.5678 MB / 349.5 MB, free: 15.84 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.01238, allocations: 4 kB / 349.5 MB, free: 15.84 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001061/0.01249, allocations: 51.84 kB / 349.5 MB, free: 15.79 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001079/0.0126, allocations: 39.64 kB / 349.6 MB, free: 15.74 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.185e-05/0.01261, allocations: 4 kB / 349.6 MB, free: 15.74 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000759/0.01337, allocations: 1.787 MB / 351.4 MB, free: 13.83 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.01337, allocations: 0 / 351.4 MB, free: 13.83 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002946/0.01366, allocations: 348.3 kB / 351.7 MB, free: 13.47 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.389e-05/0.01368, allocations: 15.84 kB / 351.7 MB, free: 13.45 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.31e-05/0.01369, allocations: 4 kB / 351.7 MB, free: 13.45 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.718e-05/0.01376, allocations: 8 kB / 351.7 MB, free: 13.44 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.236e-05/0.01379, allocations: 31.81 kB / 351.8 MB, free: 13.41 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.568e-06/0.0138, allocations: 12.06 kB / 351.8 MB, free: 13.4 MB / 282.7 MB Notification: Performance of sorting global known variables: time 6.638e-05/0.01387, allocations: 158.4 kB / 351.9 MB, free: 13.25 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01387, allocations: 0 / 351.9 MB, free: 13.25 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000225/0.01409, allocations: 79.89 kB / 352 MB, free: 13.17 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.0001326/0.01422, allocations: 107.2 kB / 352.1 MB, free: 13.05 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0004334/0.01466, allocations: 377 kB / 352.5 MB, free: 12.66 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.01466, allocations: 8 kB / 352.5 MB, free: 12.66 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002106/0.01487, allocations: 265.8 kB / 352.8 MB, free: 12.38 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001684/0.01504, allocations: 15.98 kB / 352.8 MB, free: 12.36 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008174/0.01586, allocations: 435.2 kB / 353.2 MB, free: 11.9 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.664e-05/0.0159, allocations: 79.84 kB / 353.3 MB, free: 11.8 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 6.994e-05/0.01597, allocations: 33.62 kB / 353.3 MB, free: 11.77 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.11e-05/0.01602, allocations: 24.48 kB / 353.3 MB, free: 11.75 MB / 282.7 MB Notification: Performance of SimCode: time 6.31e-07/0.01602, allocations: 3.938 kB / 353.3 MB, free: 11.74 MB / 282.7 MB Notification: Performance of Templates: time 0.004134/0.02016, allocations: 2.746 MB / 356.1 MB, free: 9.02 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.872617174871266]