Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.MediumNetworks.DoubleNetwork.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.0009868/0.0009868, allocations: 80.45 kB / 20.72 MB, free: 3.828 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.0009708/0.0009708, allocations: 173.9 kB / 24.01 MB, free: 0.543 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.8486/0.8486, allocations: 177.1 MB / 204.3 MB, free: 5.727 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.02156/0.02156, allocations: 4.469 MB / 265.2 MB, free: 8.75 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.MediumNetworks.DoubleNetwork,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.MediumNetworks.DoubleNetwork") translateModel(PowerSysPro.Examples.MediumNetworks.DoubleNetwork,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.MediumNetworks.DoubleNetwork") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.774e-06/1.774e-06, allocations: 0 / 390.9 MB, free: 6.879 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.097e-05/3.274e-05, allocations: 2.281 kB / 390.9 MB, free: 6.875 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.MediumNetworks.DoubleNetwork): time 0.005556/0.005588, allocations: 4.946 MB / 395.8 MB, free: 1.918 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.00344/0.009028, allocations: 2.291 MB / 398.1 MB, free: 15.61 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000317/0.009345, allocations: 16 kB / 398.1 MB, free: 15.59 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006419/0.009987, allocations: 313.8 kB / 398.4 MB, free: 15.29 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001161/0.01115, allocations: 0.6051 MB / 399 MB, free: 14.68 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002152/0.0133, allocations: 1.353 MB / 400.4 MB, free: 13.33 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001388/0.01469, allocations: 1.31 MB / 401.7 MB, free: 12.01 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004408/0.01513, allocations: 269.5 kB / 402 MB, free: 11.73 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007319/0.01586, allocations: 0.7637 MB / 402.7 MB, free: 10.97 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006622/0.01652, allocations: 0.5297 MB / 403.3 MB, free: 10.44 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001343/0.01666, allocations: 104 kB / 403.4 MB, free: 10.34 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005826/0.01724, allocations: 331.6 kB / 403.7 MB, free: 10.01 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001889/0.01743, allocations: 270.9 kB / 404 MB, free: 9.746 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003819/0.01781, allocations: 418.8 kB / 404.4 MB, free: 9.336 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001442/0.01925, allocations: 1.433 MB / 405.8 MB, free: 7.898 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.01926, allocations: 0 / 405.8 MB, free: 7.898 MB / 330.7 MB Notification: Performance of FrontEnd: time 3.287e-06/0.01926, allocations: 7.938 kB / 405.8 MB, free: 7.891 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.279e-05/0.01927, allocations: 0 / 405.8 MB, free: 7.891 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 206 * Number of variables: 206 Notification: Performance of Generate backend data structure: time 0.008201/0.02747, allocations: 3.089 MB / 408.9 MB, free: 4.762 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.794e-05/0.02751, allocations: 12.03 kB / 408.9 MB, free: 4.75 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000176/0.02769, allocations: 136.1 kB / 409 MB, free: 4.617 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006738/0.02836, allocations: 0.6071 MB / 409.6 MB, free: 3.984 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.309e-05/0.02841, allocations: 78.31 kB / 409.7 MB, free: 3.906 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001126/0.02852, allocations: 96.38 kB / 409.8 MB, free: 3.812 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001546/0.03006, allocations: 2.101 MB / 411.9 MB, free: 1.52 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.493e-05/0.03008, allocations: 192 / 411.9 MB, free: 1.52 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.475e-05/0.03015, allocations: 36.38 kB / 411.9 MB, free: 1.484 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.339e-05/0.03017, allocations: 27.88 kB / 412 MB, free: 1.457 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00124/0.03141, allocations: 1.316 MB / 413.3 MB, free: 140 kB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1271/0.1585, allocations: 2.961 MB / 416.3 MB, free: 32.34 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001537/0.1601, allocations: 1.671 MB / 417.9 MB, free: 31.62 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007613/0.1608, allocations: 0.8467 MB / 418.8 MB, free: 31.22 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001114/0.1609, allocations: 26.77 kB / 418.8 MB, free: 31.21 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.218e-05/0.161, allocations: 54.33 kB / 418.8 MB, free: 31.16 MB / 330.7 MB Notification: Performance of pre-optimization done (n=147): time 3.096e-06/0.161, allocations: 0 / 418.8 MB, free: 31.16 MB / 330.7 MB Notification: Performance of matching and sorting (n=147): time 0.01437/0.1753, allocations: 6.933 MB / 425.8 MB, free: 29.36 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.738e-05/0.1754, allocations: 123.3 kB / 425.9 MB, free: 29.23 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005223/0.1759, allocations: 0.6258 MB / 426.5 MB, free: 28.87 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 8.456e-05/0.176, allocations: 64.45 kB / 426.6 MB, free: 28.81 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001206/0.1761, allocations: 329.7 kB / 426.9 MB, free: 28.54 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001891/0.1763, allocations: 0.4995 MB / 427.4 MB, free: 28.17 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002785/0.1766, allocations: 274.2 kB / 427.7 MB, free: 28 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 4.644e-05/0.1766, allocations: 348.1 kB / 428 MB, free: 27.67 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008195/0.1775, allocations: 0.8714 MB / 428.9 MB, free: 27.2 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008844/0.1783, allocations: 1.042 MB / 429.9 MB, free: 26.58 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001839/0.1802, allocations: 1.957 MB / 431.9 MB, free: 25.52 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.328e-06/0.1802, allocations: 0 / 431.9 MB, free: 25.52 MB / 330.7 MB Notification: Performance of matching and sorting (n=198) (initialization): time 0.004826/0.185, allocations: 3.759 MB / 435.6 MB, free: 23.4 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.882e-05/0.185, allocations: 5.688 kB / 435.7 MB, free: 23.4 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.406e-06/0.185, allocations: 2.578 kB / 435.7 MB, free: 23.4 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005017/0.1901, allocations: 3.548 MB / 439.2 MB, free: 20.16 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004021/0.1905, allocations: 233.5 kB / 439.4 MB, free: 19.94 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01067/0.2011, allocations: 10.96 MB / 450.4 MB, free: 8.961 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000479/0.2016, allocations: 136.8 kB / 450.5 MB, free: 8.859 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.77e-05/0.2017, allocations: 59.7 kB / 450.6 MB, free: 8.805 MB / 330.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 (135): * Single equations (assignments): 134 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(32,32)} Notification: Performance of prepare postOptimizeDAE: time 0.0002875/0.202, allocations: 259.9 kB / 450.8 MB, free: 8.543 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001052/0.2021, allocations: 115.3 kB / 450.9 MB, free: 8.43 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004687/0.2067, allocations: 3.717 MB / 454.7 MB, free: 4.699 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.013e-06/0.2068, allocations: 16 kB / 454.7 MB, free: 4.684 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.695e-06/0.2068, allocations: 4 kB / 454.7 MB, free: 4.68 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.065e-06/0.2068, allocations: 7.969 kB / 454.7 MB, free: 4.672 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005347/0.2121, allocations: 4.77 MB / 459.5 MB, free: 15.89 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.539e-06/0.2121, allocations: 0 / 459.5 MB, free: 15.89 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002994/0.2124, allocations: 175.7 kB / 459.6 MB, free: 15.72 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005066/0.2175, allocations: 2.72 MB / 462.4 MB, free: 12.99 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.967e-05/0.2176, allocations: 35.92 kB / 462.4 MB, free: 12.96 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01222/0.2298, allocations: 10.77 MB / 473.2 MB, free: 2.082 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.2298, allocations: 0 / 473.2 MB, free: 2.082 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005476/0.2352, allocations: 3.599 MB / 476.8 MB, free: 14.46 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001791/0.2354, allocations: 130.9 kB / 476.9 MB, free: 14.33 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001455/0.2356, allocations: 36 kB / 476.9 MB, free: 14.3 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006938/0.2363, allocations: 89.36 kB / 477 MB, free: 14.21 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002802/0.2365, allocations: 134.3 kB / 477.1 MB, free: 14.08 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001199/0.2367, allocations: 51.98 kB / 477.2 MB, free: 14.03 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0005398/0.2372, allocations: 426.9 kB / 477.6 MB, free: 13.62 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.3e-07/0.2372, allocations: 0 / 477.6 MB, free: 13.62 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001508/0.2387, allocations: 0.531 MB / 478.1 MB, free: 13.09 MB / 362.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 (106): * Single equations (assignments): 105 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(32,32)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003147/0.239, allocations: 153 kB / 478.3 MB, free: 12.93 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.006057/0.2451, allocations: 3.026 MB / 481.3 MB, free: 9.898 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 6.162e-06/0.2451, allocations: 4.656 kB / 481.3 MB, free: 9.895 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00422/0.2493, allocations: 1.986 MB / 483.3 MB, free: 7.902 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008249/0.2501, allocations: 142.8 kB / 483.4 MB, free: 7.762 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003656/0.2538, allocations: 2.3 MB / 485.7 MB, free: 5.441 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000406/0.2542, allocations: 499.8 kB / 486.2 MB, free: 4.918 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002439/0.2544, allocations: 100.5 kB / 486.3 MB, free: 4.82 MB / 362.7 MB Notification: Performance of SimCode: time 1.412e-06/0.2544, allocations: 0 / 486.3 MB, free: 4.82 MB / 362.7 MB Notification: Performance of Templates: time 0.02061/0.2751, allocations: 23.2 MB / 0.4976 GB, free: 13.65 MB / 394.7 MB " [Timeout remaining time 660] make -j1 -f PowerSysPro_PowerSysPro.Examples.MediumNetworks.DoubleNetwork.makefile [Timeout 660] (rm -f PowerSysPro_PowerSysPro.Examples.MediumNetworks.DoubleNetwork.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.MediumNetworks.DoubleNetwork.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.MediumNetworks.DoubleNetwork.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.MediumNetworks.DoubleNetwork.sim & ./PowerSysPro_PowerSysPro.Examples.MediumNetworks.DoubleNetwork -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.MediumNetworks.DoubleNetwork.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.186997768469155] Failed to read output from testmodel.py, exit status != 0: 0.28142254799604416 0.287675622 0.266793744 Calling exit ...