Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithTwoOppositeBreakers.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.001262/0.001262, allocations: 115.7 kB / 17.85 MB, free: 5.074 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.001271/0.001271, allocations: 190.1 kB / 20.79 MB, free: 2.141 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.42/1.42, allocations: 225.6 MB / 249.2 MB, free: 3.613 MB / 190.1 MB " [Timeout remaining time 178] 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.05254/0.05254, allocations: 8.227 MB / 312.3 MB, free: 2.039 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.StructuredNetwork.DoubleNetworkWithTwoOppositeBreakers,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithTwoOppositeBreakers") translateModel(PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithTwoOppositeBreakers,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithTwoOppositeBreakers") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00188/0.00188, allocations: 63.89 kB / 435.1 MB, free: 11.29 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.237/0.2389, allocations: 54.35 MB / 489.5 MB, free: 27.64 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithTwoOppositeBreakers): time 0.006711/0.2456, allocations: 8.885 MB / 498.4 MB, free: 20.58 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003952/0.2496, allocations: 2.347 MB / 0.489 GB, free: 18.64 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001234/0.2508, allocations: 25.09 kB / 0.489 GB, free: 18.64 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009374/0.2517, allocations: 414.6 kB / 0.4894 GB, free: 18.34 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002095/0.2538, allocations: 0.8294 MB / 0.4902 GB, free: 17.62 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002705/0.2565, allocations: 1.62 MB / 0.4918 GB, free: 16.43 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.002138/0.2587, allocations: 1.908 MB / 0.4937 GB, free: 15.25 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005875/0.2593, allocations: 475.3 kB / 0.4941 GB, free: 14.91 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008436/0.2601, allocations: 0.7836 MB / 0.4949 GB, free: 14.45 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008947/0.261, allocations: 0.9843 MB / 0.4958 GB, free: 13.79 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002451/0.2612, allocations: 188.4 kB / 0.496 GB, free: 13.79 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008143/0.2621, allocations: 436.9 kB / 0.4964 GB, free: 13.68 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002102/0.2623, allocations: 407.2 kB / 0.4968 GB, free: 13.33 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006154/0.2629, allocations: 0.9096 MB / 0.4977 GB, free: 12.67 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001968/0.2649, allocations: 2.299 MB / 0.5 GB, free: 11.01 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.2649, allocations: 0 / 0.5 GB, free: 11.01 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.263e-06/0.2649, allocations: 0 / 0.5 GB, free: 11.01 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.032e-05/0.2649, allocations: 1.062 kB / 0.5 GB, free: 11.01 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 300 * Number of variables: 300 Notification: Performance of Generate backend data structure: time 0.01596/0.2808, allocations: 4.2 MB / 0.5041 GB, free: 8.652 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.638e-05/0.2809, allocations: 9.562 kB / 0.5041 GB, free: 8.652 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004068/0.2813, allocations: 189.8 kB / 0.5043 GB, free: 8.562 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001347/0.2826, allocations: 0.9425 MB / 0.5052 GB, free: 7.73 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001453/0.2828, allocations: 173.2 kB / 0.5053 GB, free: 7.609 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002616/0.283, allocations: 140.2 kB / 0.5055 GB, free: 7.562 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002951/0.286, allocations: 2.015 MB / 0.5074 GB, free: 6.07 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.652e-05/0.286, allocations: 0 / 0.5074 GB, free: 6.07 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001369/0.2861, allocations: 59.98 kB / 0.5075 GB, free: 6.012 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.845e-05/0.2862, allocations: 28 kB / 0.5075 GB, free: 5.984 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002315/0.2885, allocations: 1.946 MB / 0.5094 GB, free: 4.031 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01009/0.2986, allocations: 8.194 MB / 0.5174 GB, free: 11.16 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004731/0.3033, allocations: 4.357 MB / 0.5217 GB, free: 6.398 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001927/0.3052, allocations: 1.226 MB / 0.5229 GB, free: 5.172 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001757/0.3054, allocations: 45.94 kB / 0.5229 GB, free: 5.129 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002372/0.3078, allocations: 1.444 MB / 0.5243 GB, free: 3.672 MB / 382.1 MB Notification: Performance of pre-optimization done (n=201): time 4.398e-06/0.3078, allocations: 0 / 0.5243 GB, free: 3.672 MB / 382.1 MB Notification: Performance of matching and sorting (n=201): time 0.05642/0.3642, allocations: 13.13 MB / 0.5372 GB, free: 6.504 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001314/0.3643, allocations: 176.2 kB / 0.5373 GB, free: 6.297 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001276/0.3656, allocations: 0.8099 MB / 0.5381 GB, free: 5.477 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003761/0.366, allocations: 77.64 kB / 0.5382 GB, free: 5.395 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004065/0.3664, allocations: 447.6 kB / 0.5386 GB, free: 4.949 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007417/0.3671, allocations: 0.697 MB / 0.5393 GB, free: 4.246 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007087/0.3678, allocations: 379.9 kB / 0.5397 GB, free: 3.867 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000175/0.368, allocations: 357.9 kB / 0.54 GB, free: 3.512 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002112/0.3701, allocations: 1.258 MB / 0.5412 GB, free: 2.25 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002312/0.3724, allocations: 1.43 MB / 0.5426 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004562/0.377, allocations: 2.811 MB / 0.5454 GB, free: 13.94 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.903e-06/0.377, allocations: 3.938 kB / 0.5454 GB, free: 13.93 MB / 414.1 MB Notification: Performance of matching and sorting (n=272) (initialization): time 0.01442/0.3914, allocations: 5.162 MB / 0.5504 GB, free: 8.715 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.91e-05/0.3915, allocations: 4 kB / 0.5504 GB, free: 8.711 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.15e-05/0.3915, allocations: 3.938 kB / 0.5504 GB, free: 8.707 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01437/0.4059, allocations: 3.809 MB / 0.5541 GB, free: 4.895 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001449/0.4073, allocations: 319.5 kB / 0.5544 GB, free: 4.582 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03156/0.4389, allocations: 15.86 MB / 0.5699 GB, free: 4.602 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001875/0.4407, allocations: 202.1 kB / 0.5701 GB, free: 4.406 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002039/0.4409, allocations: 75.97 kB / 0.5702 GB, free: 4.332 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,n.y,cmd.pulseStart,$PRE.cmd.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (187): * Single equations (assignments): 186 * 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 {(28,58)} Notification: Performance of prepare postOptimizeDAE: time 0.0007777/0.4417, allocations: 366.4 kB / 0.5706 GB, free: 3.965 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003503/0.4421, allocations: 151.1 kB / 0.5707 GB, free: 3.816 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01395/0.456, allocations: 5.089 MB / 0.5757 GB, free: 14.71 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.868e-05/0.456, allocations: 24 kB / 0.5757 GB, free: 14.69 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.4561, allocations: 3.938 kB / 0.5757 GB, free: 14.68 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.062e-05/0.4561, allocations: 11.95 kB / 0.5757 GB, free: 14.67 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01817/0.4743, allocations: 7.617 MB / 0.5831 GB, free: 6.984 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.856e-05/0.4743, allocations: 0 / 0.5831 GB, free: 6.984 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001019/0.4753, allocations: 239.6 kB / 0.5834 GB, free: 6.75 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01441/0.4897, allocations: 3.262 MB / 0.5866 GB, free: 3.48 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005956/0.4903, allocations: 43.98 kB / 0.5866 GB, free: 3.438 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03335/0.5236, allocations: 15.67 MB / 0.6019 GB, free: 3.617 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.165e-06/0.5237, allocations: 0 / 0.6019 GB, free: 3.617 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2153/0.7389, allocations: 4.921 MB / 0.6067 GB, free: 109.2 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000471/0.7394, allocations: 255.2 kB / 0.607 GB, free: 109.1 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003618/0.7398, allocations: 38.09 kB / 0.607 GB, free: 109.1 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001281/0.741, allocations: 114.7 kB / 0.6071 GB, free: 109.1 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005849/0.7416, allocations: 173.2 kB / 0.6073 GB, free: 109.1 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001669/0.7418, allocations: 68.28 kB / 0.6073 GB, free: 109.1 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0007824/0.7426, allocations: 0.5421 MB / 0.6079 GB, free: 109 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.7426, allocations: 3.719 kB / 0.6079 GB, free: 109 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001883/0.7445, allocations: 0.7389 MB / 0.6086 GB, free: 109 MB / 462.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: 3 ($whenCondition1,cmd.pulseStart,n.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (144): * Single equations (assignments): 142 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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 {(28,58)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003295/0.7448, allocations: 176 kB / 0.6088 GB, free: 108.9 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.00811/0.7529, allocations: 3.895 MB / 0.6126 GB, free: 108.6 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 8.366e-06/0.7529, allocations: 3.344 kB / 0.6126 GB, free: 108.6 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005775/0.7587, allocations: 2.453 MB / 0.615 GB, free: 108.3 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001205/0.7599, allocations: 188.3 kB / 0.6151 GB, free: 108.2 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004797/0.7647, allocations: 3.162 MB / 0.6182 GB, free: 106.5 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006278/0.7653, allocations: 1.225 MB / 0.6194 GB, free: 105.8 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003783/0.7657, allocations: 131.6 kB / 0.6195 GB, free: 105.8 MB / 462.1 MB Notification: Performance of SimCode: time 1.202e-06/0.7657, allocations: 3.281 kB / 0.6195 GB, free: 105.8 MB / 462.1 MB Notification: Performance of Templates: time 0.03482/0.8005, allocations: 32.3 MB / 0.6511 GB, free: 84.46 MB / 462.1 MB " [Timeout remaining time 659] make -j1 -f PowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithTwoOppositeBreakers.makefile [Timeout 660] (rm -f PowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithTwoOppositeBreakers.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithTwoOppositeBreakers.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithTwoOppositeBreakers.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithTwoOppositeBreakers.sim & ./PowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithTwoOppositeBreakers -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithTwoOppositeBreakers.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.926641869999003] Failed to read output from testmodel.py, exit status != 0: 0.8081169109937036 0.815776281 0.548875852 Calling exit ...