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.001039/0.001039, allocations: 114 kB / 17.13 MB, free: 5.965 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.000983/0.000983, allocations: 187.1 kB / 18.06 MB, free: 5.047 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.313/1.313, allocations: 222.9 MB / 241.8 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.04686/0.04686, allocations: 8.104 MB / 300 MB, free: 6.625 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001261/0.001261, allocations: 63.89 kB / 415.2 MB, free: 21.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1112/0.1125, allocations: 51.52 MB / 466.7 MB, free: 2.148 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithTwoOppositeBreakers): time 0.01723/0.1298, allocations: 8.85 MB / 475.5 MB, free: 9.254 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007746/0.1376, allocations: 2.332 MB / 477.9 MB, free: 6.91 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001377/0.139, allocations: 28 kB / 477.9 MB, free: 6.883 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001037/0.1401, allocations: 409.2 kB / 478.3 MB, free: 6.48 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002194/0.1423, allocations: 0.8307 MB / 479.1 MB, free: 5.645 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003284/0.1456, allocations: 1.622 MB / 480.7 MB, free: 4.031 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002502/0.1481, allocations: 1.898 MB / 482.6 MB, free: 2.125 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009942/0.1491, allocations: 0.6921 MB / 483.3 MB, free: 1.398 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001006/0.1501, allocations: 0.7784 MB / 484.1 MB, free: 0.6172 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001419/0.1516, allocations: 0.9883 MB / 485.1 MB, free: 15.62 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004003/0.152, allocations: 188 kB / 485.3 MB, free: 15.44 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00094/0.1529, allocations: 431.8 kB / 485.7 MB, free: 15.02 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003698/0.1533, allocations: 406.5 kB / 486.1 MB, free: 14.62 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001095/0.1544, allocations: 0.9099 MB / 487 MB, free: 13.71 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002549/0.157, allocations: 2.302 MB / 489.3 MB, free: 11.4 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.157, allocations: 0 / 489.3 MB, free: 11.4 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.157, allocations: 0 / 489.3 MB, free: 11.4 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.465e-05/0.1571, allocations: 0 / 489.3 MB, free: 11.4 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.0175/0.1746, allocations: 4.152 MB / 493.5 MB, free: 7.18 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.78e-05/0.1746, allocations: 12.02 kB / 493.5 MB, free: 7.168 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000507/0.1751, allocations: 183 kB / 493.7 MB, free: 6.988 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001436/0.1766, allocations: 0.9286 MB / 494.6 MB, free: 6.02 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001419/0.1767, allocations: 166.9 kB / 494.8 MB, free: 5.844 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002292/0.177, allocations: 136.4 kB / 494.9 MB, free: 5.711 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003162/0.1802, allocations: 2.021 MB / 496.9 MB, free: 3.645 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.665e-05/0.1802, allocations: 0 / 496.9 MB, free: 3.645 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001775/0.1804, allocations: 59.92 kB / 497 MB, free: 3.586 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.92e-05/0.1804, allocations: 28 kB / 497 MB, free: 3.559 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002907/0.1833, allocations: 1.946 MB / 498.9 MB, free: 1.605 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01071/0.1941, allocations: 8.197 MB / 0.4952 GB, free: 8.727 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004463/0.1986, allocations: 4.583 MB / 0.4997 GB, free: 3.738 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001957/0.2005, allocations: 1.402 MB / 0.5011 GB, free: 2.34 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001756/0.2007, allocations: 49.92 kB / 0.5011 GB, free: 2.293 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002243/0.203, allocations: 1.444 MB / 0.5026 GB, free: 0.8359 MB / 382.1 MB Notification: Performance of pre-optimization done (n=201): time 1.342e-05/0.203, allocations: 0 / 0.5026 GB, free: 0.8359 MB / 382.1 MB Notification: Performance of matching and sorting (n=201): time 0.2388/0.4418, allocations: 13.23 MB / 0.5155 GB, free: 41.4 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.912e-05/0.4419, allocations: 179.6 kB / 0.5156 GB, free: 41.21 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001051/0.443, allocations: 0.8065 MB / 0.5164 GB, free: 40.76 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004052/0.4434, allocations: 75.11 kB / 0.5165 GB, free: 40.69 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002647/0.4437, allocations: 435.9 kB / 0.5169 GB, free: 40.41 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004485/0.4442, allocations: 0.6636 MB / 0.5176 GB, free: 39.87 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006246/0.4448, allocations: 388.1 kB / 0.5179 GB, free: 39.64 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.2e-05/0.4449, allocations: 357.7 kB / 0.5183 GB, free: 39.3 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001802/0.4467, allocations: 1.259 MB / 0.5195 GB, free: 38.59 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001818/0.4485, allocations: 1.428 MB / 0.5209 GB, free: 37.75 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003774/0.4523, allocations: 2.804 MB / 0.5236 GB, free: 36.14 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.612e-06/0.4523, allocations: 4 kB / 0.5236 GB, free: 36.13 MB / 382.1 MB Notification: Performance of matching and sorting (n=272) (initialization): time 0.01233/0.4646, allocations: 5.264 MB / 0.5288 GB, free: 33.11 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.358e-05/0.4647, allocations: 5.281 kB / 0.5288 GB, free: 33.11 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.343e-05/0.4647, allocations: 0 / 0.5288 GB, free: 33.11 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01329/0.478, allocations: 3.81 MB / 0.5325 GB, free: 30.57 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001282/0.4793, allocations: 315.5 kB / 0.5328 GB, free: 30.27 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02413/0.5035, allocations: 15.84 MB / 0.5483 GB, free: 14.36 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00152/0.505, allocations: 209.5 kB / 0.5485 GB, free: 14.15 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001598/0.5052, allocations: 67.98 kB / 0.5485 GB, free: 14.09 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.000609/0.5058, allocations: 373.5 kB / 0.5489 GB, free: 13.71 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002422/0.5061, allocations: 141.8 kB / 0.549 GB, free: 13.57 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01212/0.5182, allocations: 5.201 MB / 0.5541 GB, free: 8.355 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.566e-05/0.5183, allocations: 24 kB / 0.5541 GB, free: 8.332 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-06/0.5183, allocations: 0 / 0.5541 GB, free: 8.332 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.367e-05/0.5183, allocations: 12.61 kB / 0.5542 GB, free: 8.32 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01428/0.5326, allocations: 7.732 MB / 0.5617 GB, free: 0.5664 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.444e-05/0.5326, allocations: 0 / 0.5617 GB, free: 0.5664 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008038/0.5334, allocations: 231.7 kB / 0.5619 GB, free: 348 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01344/0.5469, allocations: 3.258 MB / 0.5651 GB, free: 13.08 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002982/0.5472, allocations: 47.98 kB / 0.5652 GB, free: 13.03 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02783/0.5751, allocations: 15.65 MB / 0.5804 GB, free: 13.24 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.943e-06/0.5751, allocations: 3.938 kB / 0.5804 GB, free: 13.23 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01327/0.5884, allocations: 5.033 MB / 0.5853 GB, free: 8.176 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004317/0.5888, allocations: 238.8 kB / 0.5856 GB, free: 7.922 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003174/0.5892, allocations: 39.98 kB / 0.5856 GB, free: 7.883 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001327/0.5905, allocations: 115.9 kB / 0.5857 GB, free: 7.77 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005772/0.5911, allocations: 170.7 kB / 0.5859 GB, free: 7.602 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001629/0.5913, allocations: 67.61 kB / 0.586 GB, free: 7.539 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0007897/0.5921, allocations: 0.5419 MB / 0.5865 GB, free: 7 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.5921, allocations: 0 / 0.5865 GB, free: 7 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001907/0.594, allocations: 0.7377 MB / 0.5872 GB, free: 6.262 MB / 414.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.000356/0.5943, allocations: 172 kB / 0.5874 GB, free: 6.09 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.008743/0.6031, allocations: 4.144 MB / 0.5914 GB, free: 1.934 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 7.504e-06/0.6031, allocations: 5.281 kB / 0.5914 GB, free: 1.93 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006317/0.6095, allocations: 2.618 MB / 0.594 GB, free: 15.3 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001172/0.6107, allocations: 192.4 kB / 0.5942 GB, free: 15.12 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005334/0.616, allocations: 3.105 MB / 0.5972 GB, free: 12 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008131/0.6168, allocations: 1.224 MB / 0.5984 GB, free: 10.75 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004004/0.6172, allocations: 131.4 kB / 0.5985 GB, free: 10.62 MB / 430.1 MB Notification: Performance of SimCode: time 6.01e-07/0.6173, allocations: 0 / 0.5985 GB, free: 10.62 MB / 430.1 MB Notification: Performance of Templates: time 0.04007/0.6573, allocations: 32.14 MB / 0.6299 GB, free: 10.49 MB / 462.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)