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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo", uses=false) 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=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithTwoOppositeBreakers") translateModel(PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithTwoOppositeBreakers,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithTwoOppositeBreakers") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00142/0.00142, allocations: 105.8 kB / 17.13 MB, free: 5.945 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001325/0.001325, allocations: 195.2 kB / 18.07 MB, free: 5.023 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.314/1.314, allocations: 222.9 MB / 241.8 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.05046/0.05046, allocations: 8.092 MB / 300 MB, free: 6.641 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001185/0.001185, allocations: 63.91 kB / 415.2 MB, free: 21.72 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1/0.1012, allocations: 51.51 MB / 466.7 MB, free: 2.156 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithTwoOppositeBreakers): time 0.01752/0.1188, allocations: 8.85 MB / 475.5 MB, free: 9.266 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.008022/0.1269, allocations: 2.336 MB / 477.9 MB, free: 6.918 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007794/0.1277, allocations: 24 kB / 477.9 MB, free: 6.895 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001293/0.129, allocations: 413.1 kB / 478.3 MB, free: 6.488 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002894/0.1319, allocations: 0.8386 MB / 479.1 MB, free: 5.645 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005611/0.1376, allocations: 1.603 MB / 480.7 MB, free: 4.047 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003267/0.1409, allocations: 1.906 MB / 482.6 MB, free: 2.133 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001415/0.1423, allocations: 0.6882 MB / 483.3 MB, free: 1.41 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001151/0.1435, allocations: 0.7862 MB / 484.1 MB, free: 0.6211 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001853/0.1453, allocations: 0.9844 MB / 485.1 MB, free: 15.63 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003907/0.1457, allocations: 188 kB / 485.3 MB, free: 15.45 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001247/0.147, allocations: 427.7 kB / 485.7 MB, free: 15.03 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004924/0.1475, allocations: 410.6 kB / 486.1 MB, free: 14.63 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001257/0.1488, allocations: 0.9098 MB / 487 MB, free: 13.71 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003588/0.1524, allocations: 2.294 MB / 489.3 MB, free: 11.41 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.785e-06/0.1524, allocations: 4 kB / 489.3 MB, free: 11.41 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.1525, allocations: 4 kB / 489.3 MB, free: 11.41 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.917e-05/0.1525, allocations: 0 / 489.3 MB, free: 11.41 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.032/0.1845, allocations: 4.156 MB / 493.5 MB, free: 7.184 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.12e-05/0.1846, allocations: 8.031 kB / 493.5 MB, free: 7.176 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006545/0.1852, allocations: 183 kB / 493.7 MB, free: 6.996 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002366/0.1876, allocations: 0.9325 MB / 494.6 MB, free: 6.023 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001957/0.1878, allocations: 166.9 kB / 494.8 MB, free: 5.848 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003847/0.1882, allocations: 136.4 kB / 494.9 MB, free: 5.715 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005502/0.1937, allocations: 2.021 MB / 496.9 MB, free: 3.648 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.843e-05/0.1938, allocations: 0 / 496.9 MB, free: 3.648 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002857/0.1941, allocations: 59.94 kB / 497 MB, free: 3.59 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.823e-05/0.1942, allocations: 28 kB / 497 MB, free: 3.562 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005284/0.1995, allocations: 1.95 MB / 498.9 MB, free: 1.605 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01423/0.2137, allocations: 8.181 MB / 0.4952 GB, free: 8.746 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004459/0.2182, allocations: 4.595 MB / 0.4997 GB, free: 3.746 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001887/0.2201, allocations: 1.406 MB / 0.5011 GB, free: 2.344 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001758/0.2203, allocations: 45.94 kB / 0.5011 GB, free: 2.301 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002205/0.2225, allocations: 1.437 MB / 0.5026 GB, free: 0.8516 MB / 382.1 MB Notification: Performance of pre-optimization done (n=201): time 4.258e-06/0.2225, allocations: 0 / 0.5026 GB, free: 0.8516 MB / 382.1 MB Notification: Performance of matching and sorting (n=201): time 0.2475/0.4701, allocations: 13.24 MB / 0.5155 GB, free: 41.48 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.802e-05/0.4701, allocations: 175.5 kB / 0.5156 GB, free: 41.29 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001019/0.4712, allocations: 0.8109 MB / 0.5164 GB, free: 40.84 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002092/0.4714, allocations: 74.89 kB / 0.5165 GB, free: 40.77 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002629/0.4717, allocations: 440.7 kB / 0.5169 GB, free: 40.48 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004115/0.4721, allocations: 0.6618 MB / 0.5176 GB, free: 39.95 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006153/0.4727, allocations: 384.7 kB / 0.5179 GB, free: 39.72 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.034e-05/0.4728, allocations: 357.6 kB / 0.5183 GB, free: 39.38 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00173/0.4745, allocations: 1.26 MB / 0.5195 GB, free: 38.67 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00179/0.4763, allocations: 1.432 MB / 0.5209 GB, free: 37.83 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003766/0.4801, allocations: 2.8 MB / 0.5236 GB, free: 36.22 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.182e-06/0.4801, allocations: 0 / 0.5236 GB, free: 36.22 MB / 382.1 MB Notification: Performance of matching and sorting (n=272) (initialization): time 0.01238/0.4925, allocations: 5.26 MB / 0.5288 GB, free: 33.2 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.272e-05/0.4925, allocations: 7.812 kB / 0.5288 GB, free: 33.19 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.044e-05/0.4926, allocations: 3.688 kB / 0.5288 GB, free: 33.19 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01341/0.506, allocations: 3.812 MB / 0.5325 GB, free: 30.64 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001219/0.5072, allocations: 315.5 kB / 0.5328 GB, free: 30.33 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02375/0.531, allocations: 15.85 MB / 0.5483 GB, free: 14.41 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001494/0.5325, allocations: 204.4 kB / 0.5485 GB, free: 14.21 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001514/0.5327, allocations: 75.97 kB / 0.5486 GB, free: 14.14 MB / 382.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.0006135/0.5333, allocations: 361.5 kB / 0.5489 GB, free: 13.77 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002602/0.5336, allocations: 142.3 kB / 0.549 GB, free: 13.63 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01232/0.5459, allocations: 5.199 MB / 0.5541 GB, free: 8.414 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.926e-05/0.5459, allocations: 11.95 kB / 0.5541 GB, free: 8.402 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.062e-06/0.5459, allocations: 0 / 0.5541 GB, free: 8.402 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002226/0.5462, allocations: 246.8 kB / 0.5544 GB, free: 8.141 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001986/0.5464, allocations: 36 kB / 0.5544 GB, free: 8.105 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001134/0.5475, allocations: 119.3 kB / 0.5545 GB, free: 7.992 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004186/0.5479, allocations: 269.5 kB / 0.5548 GB, free: 7.73 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.009865/0.5578, allocations: 4.306 MB / 0.559 GB, free: 3.473 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.005067/0.5629, allocations: 4.072 MB / 0.563 GB, free: 15.38 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001652/0.5646, allocations: 1.179 MB / 0.5641 GB, free: 14.2 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0007627/0.5653, allocations: 0.5381 MB / 0.5646 GB, free: 13.66 MB / 398.1 MB Notification: Performance of Backend: time 7.414e-06/0.5654, allocations: 0 / 0.5646 GB, free: 13.66 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.008198/0.5736, allocations: 3.201 MB / 0.5678 GB, free: 10.48 MB / 398.1 MB Notification: Performance of SimCode: time 0.004456/0.578, allocations: 3.437 MB / 0.5711 GB, free: 7.004 MB / 398.1 MB Notification: Performance of Templates: time 0.06462/0.6427, allocations: 46.52 MB / 0.6165 GB, free: 8.699 MB / 446.1 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithTwoOppositeBreakers.makefile (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)