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.001302/0.001302, allocations: 70.97 kB / 19.97 MB, free: 1.75 MB / 14.72 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.001455/0.001455, allocations: 169 kB / 23.25 MB, free: 4.875 MB / 14.72 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.461/1.461, allocations: 177.1 MB / 203.6 MB, free: 9.16 MB / 190.1 MB " [Timeout remaining time 178] 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.03463/0.03463, allocations: 4.486 MB / 264.4 MB, free: 12.2 MB / 254.1 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.603e-06/1.603e-06, allocations: 0 / 390.1 MB, free: 12.62 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.042e-05/3.202e-05, allocations: 13.53 kB / 390.1 MB, free: 12.61 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.MediumNetworks.DoubleNetwork): time 0.00626/0.006292, allocations: 4.932 MB / 395.1 MB, free: 7.664 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004219/0.01051, allocations: 2.291 MB / 397.4 MB, free: 5.355 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004322/0.01094, allocations: 16 kB / 397.4 MB, free: 5.34 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007366/0.01168, allocations: 321.8 kB / 397.7 MB, free: 5.023 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001317/0.013, allocations: 0.605 MB / 398.3 MB, free: 4.414 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002877/0.01587, allocations: 1.354 MB / 399.6 MB, free: 3.066 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001905/0.01778, allocations: 1.318 MB / 401 MB, free: 1.738 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004874/0.01827, allocations: 261.6 kB / 401.2 MB, free: 1.473 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009308/0.0192, allocations: 0.756 MB / 402 MB, free: 0.7148 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007756/0.01997, allocations: 0.5297 MB / 402.5 MB, free: 188 kB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00017/0.02014, allocations: 104 kB / 402.6 MB, free: 84 kB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007479/0.02089, allocations: 335.5 kB / 402.9 MB, free: 15.75 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002328/0.02112, allocations: 266.9 kB / 403.2 MB, free: 15.49 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004836/0.02161, allocations: 422.8 kB / 403.6 MB, free: 15.08 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001732/0.02334, allocations: 1.437 MB / 405 MB, free: 13.64 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.071e-05/0.02335, allocations: 8 kB / 405 MB, free: 13.63 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.233e-06/0.02335, allocations: 0 / 405 MB, free: 13.63 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.678e-05/0.02337, allocations: 3.938 kB / 405.1 MB, free: 13.62 MB / 334.1 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.01303/0.03639, allocations: 3.089 MB / 408.1 MB, free: 10.5 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.531e-05/0.03643, allocations: 8.031 kB / 408.1 MB, free: 10.49 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002851/0.03671, allocations: 136.1 kB / 408.3 MB, free: 10.36 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00103/0.03774, allocations: 0.6109 MB / 408.9 MB, free: 9.719 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.029e-05/0.03781, allocations: 78.31 kB / 409 MB, free: 9.641 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001638/0.03797, allocations: 92.38 kB / 409.1 MB, free: 9.551 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002609/0.04058, allocations: 2.101 MB / 411.2 MB, free: 7.258 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.81e-05/0.0406, allocations: 192 / 411.2 MB, free: 7.258 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001149/0.04071, allocations: 36.38 kB / 411.2 MB, free: 7.223 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.735e-05/0.04074, allocations: 23.94 kB / 411.2 MB, free: 7.199 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002025/0.04276, allocations: 1.316 MB / 412.5 MB, free: 5.879 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006034/0.0488, allocations: 2.976 MB / 415.5 MB, free: 2.867 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002605/0.0514, allocations: 1.675 MB / 417.2 MB, free: 1.219 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001251/0.05265, allocations: 0.8486 MB / 418 MB, free: 380 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001238/0.05278, allocations: 25.3 kB / 418.1 MB, free: 356 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.103e-05/0.05283, allocations: 52.11 kB / 418.1 MB, free: 292 kB / 334.1 MB Notification: Performance of pre-optimization done (n=147): time 3.507e-06/0.05283, allocations: 0 / 418.1 MB, free: 292 kB / 334.1 MB Notification: Performance of matching and sorting (n=147): time 0.0287/0.08153, allocations: 6.941 MB / 425.1 MB, free: 9.324 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000159/0.08169, allocations: 116.1 kB / 425.2 MB, free: 9.188 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001498/0.08318, allocations: 0.6252 MB / 425.8 MB, free: 8.555 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004317/0.08362, allocations: 65.7 kB / 425.9 MB, free: 8.484 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000437/0.08405, allocations: 330.7 kB / 426.2 MB, free: 8.16 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006448/0.0847, allocations: 0.4995 MB / 426.7 MB, free: 7.656 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005951/0.08529, allocations: 271.6 kB / 426.9 MB, free: 7.387 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002184/0.08551, allocations: 349.9 kB / 427.3 MB, free: 7.039 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001455/0.08697, allocations: 0.8669 MB / 428.2 MB, free: 6.172 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001641/0.08861, allocations: 1.043 MB / 429.2 MB, free: 5.109 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00314/0.09175, allocations: 1.955 MB / 431.1 MB, free: 3.156 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.422e-06/0.09175, allocations: 0 / 431.1 MB, free: 3.156 MB / 350.1 MB Notification: Performance of matching and sorting (n=198) (initialization): time 0.01079/0.1025, allocations: 3.761 MB / 434.9 MB, free: 15.38 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.679e-05/0.1026, allocations: 8 kB / 434.9 MB, free: 15.37 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.713e-05/0.1026, allocations: 0 / 434.9 MB, free: 15.37 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01165/0.1143, allocations: 3.548 MB / 438.5 MB, free: 11.82 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009847/0.1152, allocations: 231.7 kB / 438.7 MB, free: 11.59 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02301/0.1382, allocations: 10.94 MB / 449.6 MB, free: 0.5664 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001308/0.1396, allocations: 142.9 kB / 449.8 MB, free: 436 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00014/0.1397, allocations: 63.95 kB / 449.8 MB, free: 372 kB / 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 (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.0005243/0.1402, allocations: 257.6 kB / 450.1 MB, free: 104 kB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.2228/0.363, allocations: 108 kB / 450.2 MB, free: 66.21 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01089/0.3739, allocations: 3.715 MB / 453.9 MB, free: 65.87 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.711e-05/0.3739, allocations: 16.22 kB / 453.9 MB, free: 65.87 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.08e-06/0.3739, allocations: 1.188 kB / 453.9 MB, free: 65.87 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.331e-05/0.374, allocations: 12.23 kB / 453.9 MB, free: 65.86 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01188/0.3859, allocations: 4.759 MB / 458.7 MB, free: 63.93 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.13e-05/0.3859, allocations: 5.031 kB / 458.7 MB, free: 63.93 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006072/0.3865, allocations: 177 kB / 458.9 MB, free: 63.91 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01112/0.3976, allocations: 2.729 MB / 461.6 MB, free: 63.53 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001787/0.3978, allocations: 32.3 kB / 461.6 MB, free: 63.51 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0196/0.4174, allocations: 10.77 MB / 472.4 MB, free: 57.38 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.4174, allocations: 0 / 472.4 MB, free: 57.38 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009191/0.4266, allocations: 3.611 MB / 476 MB, free: 53.9 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003158/0.4269, allocations: 130.9 kB / 476.1 MB, free: 53.8 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002288/0.4271, allocations: 24 kB / 476.2 MB, free: 53.77 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001054/0.4282, allocations: 94.83 kB / 476.2 MB, free: 53.68 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004667/0.4286, allocations: 130.4 kB / 476.4 MB, free: 53.55 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001099/0.4287, allocations: 51.94 kB / 476.4 MB, free: 53.5 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005276/0.4293, allocations: 428.8 kB / 476.8 MB, free: 53.09 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4293, allocations: 0 / 476.8 MB, free: 53.09 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001323/0.4306, allocations: 0.5271 MB / 477.4 MB, free: 52.57 MB / 366.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 (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.0003229/0.4309, allocations: 162.8 kB / 477.5 MB, free: 52.4 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.006485/0.4374, allocations: 3.01 MB / 480.5 MB, free: 49.39 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 6.031e-06/0.4374, allocations: 4.656 kB / 480.5 MB, free: 49.39 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005118/0.4425, allocations: 1.983 MB / 482.5 MB, free: 47.4 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009689/0.4435, allocations: 148.3 kB / 482.7 MB, free: 47.25 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003625/0.4471, allocations: 2.266 MB / 484.9 MB, free: 45 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003479/0.4475, allocations: 491.8 kB / 485.4 MB, free: 44.49 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0004256/0.4479, allocations: 147.4 kB / 485.6 MB, free: 44.34 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002144/0.4481, allocations: 92.47 kB / 485.7 MB, free: 44.25 MB / 366.1 MB Notification: Performance of SimCode: time 1.072e-06/0.4481, allocations: 0 / 485.7 MB, free: 44.25 MB / 366.1 MB Notification: Performance of Templates: time 0.03927/0.4874, allocations: 35.4 MB / 0.5088 GB, free: 9.129 MB / 366.1 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.811805207282305] Failed to read output from testmodel.py, exit status != 0: 0.49679724499583244 0.515804615 0.48766628799999995 Calling exit ...