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.001368/0.001368, allocations: 105 kB / 20.49 MB, free: 1.457 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.001476/0.001476, allocations: 214.8 kB / 23.8 MB, free: 4.652 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.45/1.45, allocations: 230.6 MB / 257.6 MB, free: 8.016 MB / 206.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.03657/0.03657, allocations: 6.13 MB / 320.1 MB, free: 12.96 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 0.002314/0.002314, allocations: 47.92 kB / 445.8 MB, free: 4.848 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09695/0.09927, allocations: 55.02 MB / 0.4891 GB, free: 13.72 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.MediumNetworks.DoubleNetwork): time 0.007242/0.1065, allocations: 5.754 MB / 0.4947 GB, free: 7.953 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.004165/0.1107, allocations: 2.373 MB / 0.497 GB, free: 5.562 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007162/0.1114, allocations: 16 kB / 0.497 GB, free: 5.547 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008792/0.1123, allocations: 321.8 kB / 0.4973 GB, free: 5.23 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001716/0.114, allocations: 0.5822 MB / 0.4979 GB, free: 4.645 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003127/0.1171, allocations: 1.461 MB / 0.4993 GB, free: 3.188 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001918/0.119, allocations: 1.264 MB / 0.5005 GB, free: 1.918 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005382/0.1196, allocations: 285.6 kB / 0.5008 GB, free: 1.621 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008121/0.1204, allocations: 0.5487 MB / 0.5013 GB, free: 1.07 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001147/0.1215, allocations: 0.6731 MB / 0.502 GB, free: 404 kB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002433/0.1218, allocations: 100 kB / 0.5021 GB, free: 304 kB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008458/0.1226, allocations: 363.8 kB / 0.5024 GB, free: 15.94 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000278/0.1229, allocations: 258.9 kB / 0.5027 GB, free: 15.69 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006378/0.1235, allocations: 0.5946 MB / 0.5033 GB, free: 15.09 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001725/0.1253, allocations: 1.412 MB / 0.5047 GB, free: 13.67 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.1253, allocations: 0 / 0.5047 GB, free: 13.67 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.1253, allocations: 0 / 0.5047 GB, free: 13.67 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.254e-05/0.1253, allocations: 0 / 0.5047 GB, free: 13.67 MB / 382.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.01325/0.1385, allocations: 3.105 MB / 0.5077 GB, free: 10.53 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.243e-05/0.1386, allocations: 8.031 kB / 0.5077 GB, free: 10.52 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004123/0.139, allocations: 136.1 kB / 0.5078 GB, free: 10.39 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001276/0.1403, allocations: 0.6195 MB / 0.5084 GB, free: 9.742 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.107e-05/0.1403, allocations: 74.36 kB / 0.5085 GB, free: 9.672 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002121/0.1406, allocations: 96.38 kB / 0.5086 GB, free: 9.578 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002503/0.1431, allocations: 1.373 MB / 0.5099 GB, free: 8.188 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.218e-05/0.1431, allocations: 0 / 0.5099 GB, free: 8.188 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001181/0.1432, allocations: 36 kB / 0.51 GB, free: 8.152 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.437e-05/0.1432, allocations: 20 kB / 0.51 GB, free: 8.133 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002291/0.1455, allocations: 1.32 MB / 0.5113 GB, free: 6.812 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007506/0.153, allocations: 4.313 MB / 0.5155 GB, free: 2.254 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002809/0.1558, allocations: 1.679 MB / 0.5171 GB, free: 0.5977 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.1799/0.3357, allocations: 0.8404 MB / 0.5179 GB, free: 29.21 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001836/0.3359, allocations: 34.58 kB / 0.518 GB, free: 29.21 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.965e-05/0.3359, allocations: 56.36 kB / 0.518 GB, free: 29.17 MB / 382.1 MB Notification: Performance of pre-optimization done (n=147): time 3.877e-06/0.3359, allocations: 1.781 kB / 0.518 GB, free: 29.17 MB / 382.1 MB Notification: Performance of matching and sorting (n=147): time 0.02739/0.3633, allocations: 6.934 MB / 0.5248 GB, free: 28.95 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.052e-05/0.3634, allocations: 118.7 kB / 0.5249 GB, free: 28.83 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008157/0.3642, allocations: 0.6229 MB / 0.5255 GB, free: 28.7 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001658/0.3644, allocations: 60.39 kB / 0.5256 GB, free: 28.67 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000182/0.3645, allocations: 332.6 kB / 0.5259 GB, free: 28.58 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000325/0.3649, allocations: 0.5051 MB / 0.5264 GB, free: 28.31 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004417/0.3653, allocations: 278.8 kB / 0.5267 GB, free: 28.29 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.678e-05/0.3654, allocations: 354.3 kB / 0.527 GB, free: 27.97 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00121/0.3666, allocations: 0.8694 MB / 0.5279 GB, free: 27.57 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001318/0.3679, allocations: 0.992 MB / 0.5288 GB, free: 27.11 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002576/0.3705, allocations: 1.96 MB / 0.5307 GB, free: 26.09 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.388e-06/0.3705, allocations: 0 / 0.5307 GB, free: 26.09 MB / 382.1 MB Notification: Performance of matching and sorting (n=198) (initialization): time 0.009875/0.3803, allocations: 3.75 MB / 0.5344 GB, free: 24.63 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.86e-05/0.3804, allocations: 13.14 kB / 0.5344 GB, free: 24.62 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.576e-06/0.3804, allocations: 0 / 0.5344 GB, free: 24.62 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01087/0.3912, allocations: 3.555 MB / 0.5379 GB, free: 24.06 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008738/0.3921, allocations: 224.6 kB / 0.5381 GB, free: 24.01 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01869/0.4108, allocations: 11.33 MB / 0.5492 GB, free: 16.58 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009908/0.4118, allocations: 150 kB / 0.5493 GB, free: 16.46 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.886e-05/0.4119, allocations: 47.98 kB / 0.5494 GB, free: 16.42 MB / 382.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.0003817/0.4123, allocations: 264.4 kB / 0.5496 GB, free: 16.15 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001691/0.4124, allocations: 111.3 kB / 0.5497 GB, free: 16.04 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008929/0.4214, allocations: 3.725 MB / 0.5533 GB, free: 12.32 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.013e-05/0.4214, allocations: 16 kB / 0.5534 GB, free: 12.3 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.625e-06/0.4214, allocations: 4 kB / 0.5534 GB, free: 12.3 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.191e-05/0.4214, allocations: 7.969 kB / 0.5534 GB, free: 12.29 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01008/0.4315, allocations: 5.223 MB / 0.5585 GB, free: 7.074 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.435e-06/0.4315, allocations: 0 / 0.5585 GB, free: 7.074 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005352/0.432, allocations: 175.7 kB / 0.5586 GB, free: 6.902 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.009686/0.4417, allocations: 2.735 MB / 0.5613 GB, free: 4.16 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000152/0.4419, allocations: 28 kB / 0.5613 GB, free: 4.133 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02125/0.4631, allocations: 11.15 MB / 0.5722 GB, free: 8.871 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.993e-06/0.4631, allocations: 0 / 0.5722 GB, free: 8.871 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01042/0.4735, allocations: 3.606 MB / 0.5758 GB, free: 5.234 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003224/0.4739, allocations: 126.9 kB / 0.5759 GB, free: 5.109 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001959/0.4741, allocations: 36 kB / 0.5759 GB, free: 5.074 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001005/0.4751, allocations: 87.67 kB / 0.576 GB, free: 4.992 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004287/0.4755, allocations: 135.3 kB / 0.5761 GB, free: 4.863 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001164/0.4756, allocations: 51.98 kB / 0.5762 GB, free: 4.812 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0006369/0.4762, allocations: 427 kB / 0.5766 GB, free: 4.395 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4762, allocations: 0 / 0.5766 GB, free: 4.395 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001531/0.4778, allocations: 0.5271 MB / 0.5771 GB, free: 3.867 MB / 398.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.0003279/0.4781, allocations: 156.2 kB / 0.5772 GB, free: 3.707 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.007685/0.4858, allocations: 3.032 MB / 0.5802 GB, free: 0.6758 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.789e-06/0.4858, allocations: 0.6562 kB / 0.5802 GB, free: 0.6758 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005657/0.4914, allocations: 2.001 MB / 0.5822 GB, free: 14.67 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009309/0.4924, allocations: 146.8 kB / 0.5823 GB, free: 14.53 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004444/0.4968, allocations: 2.324 MB / 0.5846 GB, free: 12.18 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007416/0.4976, allocations: 1.077 MB / 0.5856 GB, free: 11.07 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003002/0.4979, allocations: 95.41 kB / 0.5857 GB, free: 10.98 MB / 414.1 MB Notification: Performance of SimCode: time 1.012e-06/0.4979, allocations: 0.5469 kB / 0.5857 GB, free: 10.98 MB / 414.1 MB Notification: Performance of Templates: time 0.03248/0.5303, allocations: 22.63 MB / 0.6078 GB, free: 4.371 MB / 430.1 MB " [Timeout remaining time 659] 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: 8.62629795097746] Failed to read output from testmodel.py, exit status != 0: 0.5398594811558723 0.5533539239999999 0.424969601 Calling exit ...