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.001283/0.001283, allocations: 84.22 kB / 20.98 MB, free: 3.57 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.0009437/0.0009437, allocations: 165 kB / 24.28 MB, free: 276 kB / 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.9984/0.9984, allocations: 177.1 MB / 204.6 MB, free: 5.66 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.02461/0.02461, allocations: 4.489 MB / 265.6 MB, free: 8.648 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.573e-06/1.573e-06, allocations: 0 / 336.5 MB, free: 13.62 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.024e-05/2.181e-05, allocations: 5.125 kB / 336.5 MB, free: 13.61 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.TwoSourcesOneLineThreeSensors): time 0.005122/0.005144, allocations: 1.673 MB / 338.1 MB, free: 11.94 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001307/0.006451, allocations: 1.504 MB / 339.7 MB, free: 10.42 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.689e-05/0.006528, allocations: 8 kB / 339.7 MB, free: 10.41 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002999/0.006828, allocations: 127.1 kB / 339.8 MB, free: 10.29 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001863/0.007014, allocations: 91.31 kB / 339.9 MB, free: 10.2 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004228/0.01124, allocations: 0.8823 MB / 340.8 MB, free: 9.316 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002369/0.01148, allocations: 234.7 kB / 341 MB, free: 9.086 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001431/0.01162, allocations: 72.34 kB / 341.1 MB, free: 9.012 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.816e-05/0.01172, allocations: 143.7 kB / 341.2 MB, free: 8.871 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001395/0.01186, allocations: 99.75 kB / 341.3 MB, free: 8.773 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.481e-05/0.01188, allocations: 20 kB / 341.3 MB, free: 8.754 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002689/0.01215, allocations: 207.6 kB / 341.5 MB, free: 8.551 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.023e-05/0.01218, allocations: 55.75 kB / 341.6 MB, free: 8.496 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 6.096e-05/0.01224, allocations: 79.83 kB / 341.6 MB, free: 8.418 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003678/0.01261, allocations: 378.7 kB / 342 MB, free: 8.047 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.284e-06/0.01261, allocations: 0 / 342 MB, free: 8.047 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.202e-06/0.01262, allocations: 0 / 342 MB, free: 8.047 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.39e-06/0.01262, allocations: 4 kB / 342 MB, free: 8.043 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.004546/0.01717, allocations: 0.7962 MB / 342.8 MB, free: 7.203 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.539e-05/0.0172, allocations: 15.97 kB / 342.8 MB, free: 7.188 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.666e-05/0.01728, allocations: 44.8 kB / 342.9 MB, free: 7.145 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001647/0.01744, allocations: 176.3 kB / 343 MB, free: 6.945 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.587e-05/0.01746, allocations: 20.88 kB / 343.1 MB, free: 6.926 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.921e-05/0.01749, allocations: 28.38 kB / 343.1 MB, free: 6.898 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002804/0.01777, allocations: 188.6 kB / 343.3 MB, free: 6.707 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.147e-06/0.01778, allocations: 192 / 343.3 MB, free: 6.707 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.23e-05/0.0178, allocations: 12.38 kB / 343.3 MB, free: 6.695 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.088e-06/0.01781, allocations: 8.312 kB / 343.3 MB, free: 6.688 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002258/0.01804, allocations: 138.8 kB / 343.4 MB, free: 6.555 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008749/0.01891, allocations: 0.7511 MB / 344.2 MB, free: 5.766 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003139/0.01922, allocations: 203.9 kB / 344.4 MB, free: 5.555 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001023/0.01933, allocations: 64.31 kB / 344.4 MB, free: 5.488 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.862e-05/0.01941, allocations: 8 kB / 344.5 MB, free: 5.48 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.767e-05/0.01942, allocations: 41.38 kB / 344.5 MB, free: 5.43 MB / 266.7 MB Notification: Performance of pre-optimization done (n=26): time 1.262e-06/0.01942, allocations: 3.938 kB / 344.5 MB, free: 5.426 MB / 266.7 MB Notification: Performance of matching and sorting (n=26): time 0.003702/0.02313, allocations: 275.5 kB / 344.8 MB, free: 5.148 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.852e-05/0.02315, allocations: 59.34 kB / 344.8 MB, free: 5.078 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001016/0.02325, allocations: 216.1 kB / 345 MB, free: 4.852 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.497e-05/0.02326, allocations: 29.7 kB / 345.1 MB, free: 4.816 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.075e-05/0.02331, allocations: 203.4 kB / 345.3 MB, free: 4.613 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.847e-05/0.02335, allocations: 91.19 kB / 345.4 MB, free: 4.523 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.742e-05/0.02343, allocations: 73.41 kB / 345.4 MB, free: 4.445 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.063e-05/0.02347, allocations: 0.4962 MB / 345.9 MB, free: 3.938 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001083/0.02358, allocations: 71.89 kB / 346 MB, free: 3.867 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000102/0.02368, allocations: 69.45 kB / 346.1 MB, free: 3.801 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000224/0.0239, allocations: 188 kB / 346.2 MB, free: 3.613 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.02391, allocations: 0 / 346.2 MB, free: 3.613 MB / 266.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0004008/0.02431, allocations: 293 kB / 346.5 MB, free: 3.316 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.219e-05/0.02432, allocations: 15.94 kB / 346.5 MB, free: 3.301 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.02432, allocations: 0 / 346.5 MB, free: 3.301 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002042/0.02453, allocations: 31.64 kB / 346.6 MB, free: 3.266 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002045/0.02473, allocations: 63.91 kB / 346.6 MB, free: 3.203 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007492/0.02548, allocations: 1.794 MB / 348.4 MB, free: 1.281 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.999e-05/0.02558, allocations: 27.78 kB / 348.5 MB, free: 1.254 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.935e-05/0.0256, allocations: 11.98 kB / 348.5 MB, free: 1.242 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.789e-05/0.02568, allocations: 172.5 kB / 348.6 MB, free: 1.062 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.666e-05/0.02572, allocations: 32.03 kB / 348.7 MB, free: 1.031 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000376/0.0261, allocations: 231.8 kB / 348.9 MB, free: 0.7969 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.895e-06/0.0261, allocations: 4 kB / 348.9 MB, free: 0.793 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.896e-06/0.02611, allocations: 0 / 348.9 MB, free: 0.793 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/0.02611, allocations: 7.922 kB / 348.9 MB, free: 0.7852 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005582/0.02667, allocations: 0.5717 MB / 349.5 MB, free: 172 kB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.02667, allocations: 4 kB / 349.5 MB, free: 168 kB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000134/0.02681, allocations: 47.84 kB / 349.5 MB, free: 120 kB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001325/0.02694, allocations: 31.66 kB / 349.6 MB, free: 84 kB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.454e-05/0.02695, allocations: 4 kB / 349.6 MB, free: 80 kB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001049/0.028, allocations: 1.803 MB / 351.4 MB, free: 14.15 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.028, allocations: 0 / 351.4 MB, free: 14.15 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003878/0.02839, allocations: 344.3 kB / 351.7 MB, free: 13.79 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.203e-05/0.02841, allocations: 27.97 kB / 351.7 MB, free: 13.77 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.028e-05/0.02843, allocations: 0 / 351.7 MB, free: 13.77 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.882e-05/0.02853, allocations: 11.94 kB / 351.7 MB, free: 13.75 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.027e-05/0.02857, allocations: 19.91 kB / 351.8 MB, free: 13.73 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.277e-05/0.02859, allocations: 4 kB / 351.8 MB, free: 13.73 MB / 282.7 MB Notification: Performance of sorting global known variables: time 8.119e-05/0.02867, allocations: 162.4 kB / 351.9 MB, free: 13.57 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02867, allocations: 0 / 351.9 MB, free: 13.57 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003363/0.029, allocations: 83.88 kB / 352 MB, free: 13.49 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.0001622/0.02917, allocations: 111.2 kB / 352.1 MB, free: 13.38 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0005437/0.02971, allocations: 380.9 kB / 352.5 MB, free: 12.98 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.02971, allocations: 0 / 352.5 MB, free: 12.98 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002638/0.02997, allocations: 265.4 kB / 352.8 MB, free: 12.7 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002348/0.03021, allocations: 15.98 kB / 352.8 MB, free: 12.68 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009787/0.03119, allocations: 431.6 kB / 353.2 MB, free: 12.23 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.845e-05/0.03125, allocations: 83.83 kB / 353.3 MB, free: 12.13 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 9.994e-05/0.03135, allocations: 33.61 kB / 353.3 MB, free: 12.1 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.064e-05/0.03141, allocations: 20.5 kB / 353.3 MB, free: 12.08 MB / 282.7 MB Notification: Performance of SimCode: time 1.032e-06/0.03141, allocations: 0 / 353.3 MB, free: 12.08 MB / 282.7 MB Notification: Performance of Templates: time 0.00539/0.0368, allocations: 2.753 MB / 356.1 MB, free: 9.352 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: 3.0026744101196527]