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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001424/0.001424, allocations: 114.9 kB / 17.8 MB, free: 5.289 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001417/0.001417, allocations: 187.8 kB / 20.74 MB, free: 2.359 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.332/1.332, allocations: 222.9 MB / 246.4 MB, free: 4.191 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.1444/0.1444, allocations: 8.085 MB / 306.7 MB, free: 2.652 MB / 238.1 MB " [Timeout remaining time 180] Using package PowerSysPro with version 2.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.001837/0.001837, allocations: 67.88 kB / 423.9 MB, free: 6.395 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.207/0.2089, allocations: 51.53 MB / 475.4 MB, free: 22.05 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.MediumNetworks.Network): time 0.003608/0.2125, allocations: 3.849 MB / 479.3 MB, free: 19.01 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002497/0.2151, allocations: 1.952 MB / 481.2 MB, free: 17.41 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005206/0.2156, allocations: 11.47 kB / 481.2 MB, free: 17.41 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005928/0.2162, allocations: 235.2 kB / 481.4 MB, free: 17.25 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000987/0.2172, allocations: 389.8 kB / 481.8 MB, free: 16.92 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002025/0.2193, allocations: 1.311 MB / 483.1 MB, free: 15.96 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001082/0.2204, allocations: 0.797 MB / 483.9 MB, free: 15.47 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003702/0.2207, allocations: 262.4 kB / 484.2 MB, free: 15.33 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004442/0.2212, allocations: 322.8 kB / 484.5 MB, free: 15.16 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005065/0.2217, allocations: 430.5 kB / 484.9 MB, free: 14.88 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001095/0.2218, allocations: 66.41 kB / 485 MB, free: 14.88 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006148/0.2224, allocations: 307.5 kB / 485.3 MB, free: 14.76 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.968e-05/0.2225, allocations: 151.2 kB / 485.4 MB, free: 14.63 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000282/0.2228, allocations: 380.6 kB / 485.8 MB, free: 14.38 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009362/0.2238, allocations: 0.9452 MB / 486.8 MB, free: 13.73 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.2238, allocations: 0 / 486.8 MB, free: 13.73 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.2238, allocations: 0 / 486.8 MB, free: 13.73 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.096e-05/0.2238, allocations: 0 / 486.8 MB, free: 13.73 MB / 350.1 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.007499/0.2313, allocations: 2.153 MB / 488.9 MB, free: 12.45 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.581e-05/0.2314, allocations: 13.7 kB / 488.9 MB, free: 12.44 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001756/0.2315, allocations: 87.77 kB / 489 MB, free: 12.4 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005532/0.2321, allocations: 484.7 kB / 489.5 MB, free: 11.95 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.758e-05/0.2321, allocations: 48.75 kB / 489.5 MB, free: 11.93 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.068e-05/0.2322, allocations: 60 kB / 489.6 MB, free: 11.91 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001104/0.2334, allocations: 0.835 MB / 490.4 MB, free: 11.4 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.63e-05/0.2334, allocations: 4.125 kB / 490.4 MB, free: 11.39 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.424e-05/0.2334, allocations: 25.34 kB / 490.5 MB, free: 11.38 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.135e-05/0.2335, allocations: 12.19 kB / 490.5 MB, free: 11.38 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001019/0.2345, allocations: 0.7845 MB / 491.2 MB, free: 10.96 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003624/0.2381, allocations: 3.324 MB / 494.6 MB, free: 7.953 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001393/0.2395, allocations: 1.36 MB / 495.9 MB, free: 6.996 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006576/0.2402, allocations: 0.5879 MB / 496.5 MB, free: 6.672 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001089/0.2403, allocations: 20.06 kB / 496.5 MB, free: 6.664 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.029e-05/0.2404, allocations: 49.16 kB / 496.6 MB, free: 6.609 MB / 350.1 MB Notification: Performance of pre-optimization done (n=89): time 2.564e-06/0.2404, allocations: 1.219 kB / 496.6 MB, free: 6.609 MB / 350.1 MB Notification: Performance of matching and sorting (n=89): time 0.01284/0.2532, allocations: 3.975 MB / 0.4888 GB, free: 2.684 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.776e-05/0.2533, allocations: 111.8 kB / 0.4889 GB, free: 2.551 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004226/0.2537, allocations: 433.8 kB / 0.4894 GB, free: 2.121 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 9.863e-05/0.2538, allocations: 49.7 kB / 0.4894 GB, free: 2.066 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001004/0.254, allocations: 237.7 kB / 0.4896 GB, free: 1.828 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001621/0.2541, allocations: 317.2 kB / 0.4899 GB, free: 1.516 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002467/0.2544, allocations: 178.6 kB / 0.4901 GB, free: 1.336 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.987e-05/0.2544, allocations: 374.8 kB / 0.4905 GB, free: 0.9609 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005996/0.255, allocations: 0.5369 MB / 0.491 GB, free: 432 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007646/0.2558, allocations: 0.6225 MB / 0.4916 GB, free: 15.79 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001829/0.2577, allocations: 1.205 MB / 0.4928 GB, free: 14.58 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.2577, allocations: 0 / 0.4928 GB, free: 14.58 MB / 366.1 MB Notification: Performance of matching and sorting (n=124) (initialization): time 0.006375/0.2641, allocations: 2.386 MB / 0.4951 GB, free: 12.19 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.236e-05/0.2641, allocations: 4 kB / 0.4951 GB, free: 12.18 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.606e-06/0.2641, allocations: 0 / 0.4951 GB, free: 12.18 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006512/0.2706, allocations: 1.773 MB / 0.4968 GB, free: 10.41 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005985/0.2713, allocations: 147.8 kB / 0.497 GB, free: 10.26 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01404/0.2853, allocations: 7.365 MB / 0.5042 GB, free: 2.77 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007885/0.2861, allocations: 99.22 kB / 0.5043 GB, free: 2.672 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001079/0.2862, allocations: 32 kB / 0.5043 GB, free: 2.641 MB / 366.1 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.000335/0.2866, allocations: 205.7 kB / 0.5045 GB, free: 2.43 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001865/0.2868, allocations: 71.52 kB / 0.5046 GB, free: 2.359 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006367/0.2932, allocations: 2.324 MB / 0.5068 GB, free: 24 kB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.66e-05/0.2932, allocations: 16 kB / 0.5068 GB, free: 8 kB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.2932, allocations: 3.938 kB / 0.5068 GB, free: 4 kB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.341e-05/0.2932, allocations: 3.984 kB / 0.5068 GB, free: 0 / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007658/0.3009, allocations: 3.319 MB / 0.5101 GB, free: 12.61 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.322e-06/0.3009, allocations: 4 kB / 0.5101 GB, free: 12.61 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003869/0.3013, allocations: 111.8 kB / 0.5102 GB, free: 12.5 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00624/0.3076, allocations: 1.495 MB / 0.5117 GB, free: 11 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.163e-05/0.3077, allocations: 23.94 kB / 0.5117 GB, free: 10.98 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01356/0.3213, allocations: 7.239 MB / 0.5188 GB, free: 3.582 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.3213, allocations: 0 / 0.5188 GB, free: 3.582 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006112/0.3274, allocations: 2.285 MB / 0.521 GB, free: 1.281 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002187/0.3276, allocations: 156.4 kB / 0.5211 GB, free: 1.109 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001236/0.3278, allocations: 19.98 kB / 0.5212 GB, free: 1.09 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006668/0.3285, allocations: 47.97 kB / 0.5212 GB, free: 1.043 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002365/0.3287, allocations: 76.89 kB / 0.5213 GB, free: 0.9648 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.644e-05/0.3288, allocations: 31.98 kB / 0.5213 GB, free: 0.9336 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003859/0.3292, allocations: 295.1 kB / 0.5216 GB, free: 0.6484 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.3292, allocations: 4 kB / 0.5216 GB, free: 0.6445 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009627/0.3301, allocations: 343.8 kB / 0.5219 GB, free: 316 kB / 382.1 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.0002609/0.3304, allocations: 147.1 kB / 0.5221 GB, free: 160 kB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.004635/0.3351, allocations: 1.974 MB / 0.524 GB, free: 14.16 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.909e-06/0.3351, allocations: 0 / 0.524 GB, free: 14.16 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003376/0.3385, allocations: 1.322 MB / 0.5253 GB, free: 12.83 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006856/0.3392, allocations: 80.28 kB / 0.5253 GB, free: 12.75 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002478/0.3417, allocations: 1.408 MB / 0.5267 GB, free: 11.31 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005625/0.3422, allocations: 0.9179 MB / 0.5276 GB, free: 10.37 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001884/0.3424, allocations: 71.41 kB / 0.5277 GB, free: 10.3 MB / 398.1 MB Notification: Performance of SimCode: time 6.51e-07/0.3425, allocations: 0 / 0.5277 GB, free: 10.3 MB / 398.1 MB Notification: Performance of Templates: time 0.0192/0.3617, allocations: 14.15 MB / 0.5415 GB, free: 12.17 MB / 414.1 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: 7.096330781001598] Failed to read output from testmodel.py, exit status != 0: 0.36872755410149693 0.381188422 0.15492719400000002 Calling exit ...