Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.MediumNetworks.Network.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.0007408/0.0007408, allocations: 80.44 kB / 20.73 MB, free: 3.84 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.0007662/0.0007662, allocations: 165.9 kB / 24 MB, free: 0.5625 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.8534/0.8534, allocations: 177.1 MB / 204.3 MB, free: 5.742 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.02312/0.02312, allocations: 4.459 MB / 265.2 MB, free: 8.766 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.Network,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.MediumNetworks.Network") translateModel(PowerSysPro.Examples.MediumNetworks.Network,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.MediumNetworks.Network") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.823e-06/1.823e-06, allocations: 0 / 390.9 MB, free: 6.883 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.019e-05/3.201e-05, allocations: 5.375 kB / 390.9 MB, free: 6.879 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.MediumNetworks.Network): time 0.00442/0.004452, allocations: 3.255 MB / 394.1 MB, free: 3.617 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.003446/0.007898, allocations: 1.94 MB / 396.1 MB, free: 1.66 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002867/0.008185, allocations: 16 kB / 396.1 MB, free: 1.645 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004671/0.008652, allocations: 226.4 kB / 396.3 MB, free: 1.422 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006196/0.009272, allocations: 389.2 kB / 396.7 MB, free: 1.039 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001352/0.01062, allocations: 1.217 MB / 397.9 MB, free: 15.82 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007601/0.01138, allocations: 0.7927 MB / 398.7 MB, free: 15.03 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002485/0.01163, allocations: 166 kB / 398.9 MB, free: 14.87 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000379/0.01201, allocations: 466.8 kB / 399.3 MB, free: 14.41 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003196/0.01233, allocations: 327 kB / 399.6 MB, free: 14.09 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 6.827e-05/0.0124, allocations: 60 kB / 399.7 MB, free: 14.03 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004802/0.01288, allocations: 295.6 kB / 400 MB, free: 13.74 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 8.43e-05/0.01296, allocations: 159.3 kB / 400.1 MB, free: 13.59 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001648/0.01313, allocations: 255.3 kB / 400.4 MB, free: 13.34 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008982/0.01403, allocations: 0.9657 MB / 401.4 MB, free: 12.37 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.01403, allocations: 0 / 401.4 MB, free: 12.37 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.803e-06/0.01403, allocations: 0 / 401.4 MB, free: 12.37 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.359e-05/0.01405, allocations: 4 kB / 401.4 MB, free: 12.36 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: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.004479/0.01853, allocations: 2.064 MB / 403.4 MB, free: 10.26 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.552e-05/0.01856, allocations: 15.97 kB / 403.4 MB, free: 10.25 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001242/0.01869, allocations: 80.47 kB / 403.5 MB, free: 10.17 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004733/0.01916, allocations: 419.5 kB / 403.9 MB, free: 9.73 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.718e-05/0.01919, allocations: 45.38 kB / 404 MB, free: 9.688 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.6e-05/0.01925, allocations: 60.38 kB / 404 MB, free: 9.629 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009604/0.02021, allocations: 1.278 MB / 405.3 MB, free: 8.23 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.172e-05/0.02022, allocations: 192 / 405.3 MB, free: 8.23 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.983e-05/0.02027, allocations: 28.31 kB / 405.3 MB, free: 8.203 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.237e-06/0.02028, allocations: 12.38 kB / 405.3 MB, free: 8.191 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007608/0.02104, allocations: 0.8121 MB / 406.2 MB, free: 7.379 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002226/0.02327, allocations: 1.888 MB / 408 MB, free: 5.453 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001236/0.02451, allocations: 0.9732 MB / 409 MB, free: 4.473 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004767/0.02498, allocations: 0.5075 MB / 409.5 MB, free: 3.965 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.59e-05/0.02506, allocations: 20.98 kB / 409.5 MB, free: 3.945 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.73e-05/0.02509, allocations: 47.56 kB / 409.6 MB, free: 3.891 MB / 330.7 MB Notification: Performance of pre-optimization done (n=89): time 2.685e-06/0.02509, allocations: 0 / 409.6 MB, free: 3.891 MB / 330.7 MB Notification: Performance of matching and sorting (n=89): time 0.007356/0.03244, allocations: 3.846 MB / 413.4 MB, free: 32 kB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.1284/0.1609, allocations: 113.2 kB / 413.5 MB, free: 33.68 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004605/0.1613, allocations: 427.6 kB / 414 MB, free: 33.58 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001874/0.1615, allocations: 49.89 kB / 414 MB, free: 33.55 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001062/0.1616, allocations: 230.6 kB / 414.2 MB, free: 33.46 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000171/0.1618, allocations: 314.3 kB / 414.5 MB, free: 33.34 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002201/0.162, allocations: 178.3 kB / 414.7 MB, free: 33.32 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.761e-05/0.1621, allocations: 372.5 kB / 415.1 MB, free: 33.01 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005341/0.1626, allocations: 0.5438 MB / 415.6 MB, free: 32.8 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005758/0.1632, allocations: 0.6813 MB / 416.3 MB, free: 32.44 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001175/0.1644, allocations: 1.22 MB / 417.5 MB, free: 31.8 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.913e-06/0.1644, allocations: 0.9844 kB / 417.5 MB, free: 31.8 MB / 330.7 MB Notification: Performance of matching and sorting (n=124) (initialization): time 0.003542/0.1679, allocations: 2.349 MB / 419.9 MB, free: 30.91 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.916e-05/0.1679, allocations: 5.703 kB / 419.9 MB, free: 30.91 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.258e-06/0.1679, allocations: 0 / 419.9 MB, free: 30.91 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003467/0.1714, allocations: 1.692 MB / 421.6 MB, free: 30.69 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003311/0.1717, allocations: 148.6 kB / 421.7 MB, free: 30.67 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007836/0.1796, allocations: 7.003 MB / 428.7 MB, free: 26.5 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003975/0.18, allocations: 99.62 kB / 428.8 MB, free: 26.46 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.431e-05/0.18, allocations: 32.95 kB / 428.9 MB, free: 26.45 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 (87): * Single equations (assignments): 86 * 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 {(18,20)} Notification: Performance of prepare postOptimizeDAE: time 0.0002143/0.1802, allocations: 202 kB / 429.1 MB, free: 26.27 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.138e-05/0.1803, allocations: 68.81 kB / 429.1 MB, free: 26.24 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003437/0.1837, allocations: 2.284 MB / 431.4 MB, free: 25.35 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.726e-06/0.1838, allocations: 11.03 kB / 431.4 MB, free: 25.35 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.106e-06/0.1838, allocations: 5.5 kB / 431.4 MB, free: 25.35 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.13e-05/0.1838, allocations: 5.531 kB / 431.4 MB, free: 25.35 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003709/0.1875, allocations: 2.967 MB / 434.4 MB, free: 24.05 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.947e-06/0.1875, allocations: 0 / 434.4 MB, free: 24.05 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001825/0.1877, allocations: 116.2 kB / 434.5 MB, free: 24.04 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002866/0.1905, allocations: 1.49 MB / 436 MB, free: 23.71 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.214e-05/0.1906, allocations: 23.83 kB / 436 MB, free: 23.7 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009771/0.2003, allocations: 6.902 MB / 442.9 MB, free: 16.81 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.185e-06/0.2003, allocations: 4 kB / 442.9 MB, free: 16.81 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003111/0.2035, allocations: 2.242 MB / 445.2 MB, free: 14.54 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000102/0.2036, allocations: 79.89 kB / 445.2 MB, free: 14.47 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.931e-05/0.2036, allocations: 26.17 kB / 445.3 MB, free: 14.45 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003022/0.2039, allocations: 47.97 kB / 445.3 MB, free: 14.4 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001096/0.204, allocations: 88.77 kB / 445.4 MB, free: 14.31 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.905e-05/0.2041, allocations: 31.83 kB / 445.4 MB, free: 14.29 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001992/0.2043, allocations: 295.1 kB / 445.7 MB, free: 14 MB / 330.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.2043, allocations: 0 / 445.7 MB, free: 14 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0007822/0.2051, allocations: 335.8 kB / 446 MB, free: 13.67 MB / 330.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 (66): * Single equations (assignments): 65 * 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 {(18,20)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002251/0.2053, allocations: 138.1 kB / 446.2 MB, free: 13.53 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002281/0.2076, allocations: 1.859 MB / 448 MB, free: 11.66 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.2076, allocations: 1.031 kB / 448 MB, free: 11.66 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001416/0.209, allocations: 1.225 MB / 449.3 MB, free: 10.43 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003679/0.2093, allocations: 81.88 kB / 449.3 MB, free: 10.35 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001412/0.2108, allocations: 1.468 MB / 450.8 MB, free: 8.859 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001648/0.2109, allocations: 320.6 kB / 451.1 MB, free: 8.52 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001055/0.211, allocations: 68.47 kB / 451.2 MB, free: 8.453 MB / 330.7 MB Notification: Performance of SimCode: time 8.52e-07/0.211, allocations: 0 / 451.2 MB, free: 8.453 MB / 330.7 MB Notification: Performance of Templates: time 0.01125/0.2223, allocations: 14.46 MB / 465.7 MB, free: 10.01 MB / 346.7 MB " [Timeout remaining time 660] make -j1 -f PowerSysPro_PowerSysPro.Examples.MediumNetworks.Network.makefile [Timeout 660] (rm -f PowerSysPro_PowerSysPro.Examples.MediumNetworks.Network.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.MediumNetworks.Network.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.MediumNetworks.Network.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.MediumNetworks.Network.sim & ./PowerSysPro_PowerSysPro.Examples.MediumNetworks.Network -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.MediumNetworks.Network.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.829263040795922] Failed to read output from testmodel.py, exit status != 0: 0.22883550729602575 0.23622147000000002 0.22052163400000002 Calling exit ...