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/package.mo", uses=false) Using package PowerSysPro with version 2.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/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.001137/0.001137, allocations: 106.7 kB / 16.45 MB, free: 6.438 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.001089/0.001089, allocations: 188.9 kB / 17.39 MB, free: 5.691 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.458/1.458, allocations: 222.9 MB / 241.1 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.05741/0.05741, allocations: 8.098 MB / 299.3 MB, free: 6.613 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001177/0.001177, allocations: 59.91 kB / 414.5 MB, free: 21.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0983/0.09949, allocations: 51.53 MB / 466 MB, free: 2.137 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithTwoOppositeBreakers): time 0.009315/0.1088, allocations: 8.842 MB / 474.9 MB, free: 9.25 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005904/0.1148, allocations: 2.332 MB / 477.2 MB, free: 6.906 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001136/0.116, allocations: 24 kB / 477.2 MB, free: 6.883 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001037/0.117, allocations: 413.1 kB / 477.6 MB, free: 6.477 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002066/0.1191, allocations: 0.8307 MB / 478.4 MB, free: 5.641 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003046/0.1222, allocations: 1.606 MB / 480 MB, free: 4.039 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002296/0.1245, allocations: 1.902 MB / 481.9 MB, free: 2.129 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009013/0.1254, allocations: 0.6921 MB / 482.6 MB, free: 1.402 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009684/0.1264, allocations: 0.7862 MB / 483.4 MB, free: 0.6133 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001159/0.1276, allocations: 0.9805 MB / 484.4 MB, free: 15.63 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000236/0.1278, allocations: 191.9 kB / 484.6 MB, free: 15.44 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009355/0.1288, allocations: 427.8 kB / 485 MB, free: 15.02 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00036/0.1291, allocations: 410.6 kB / 485.4 MB, free: 14.62 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009278/0.1301, allocations: 0.9098 MB / 486.3 MB, free: 13.71 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00257/0.1326, allocations: 2.294 MB / 488.6 MB, free: 11.41 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.67e-06/0.1327, allocations: 0 / 488.6 MB, free: 11.41 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.375e-06/0.1327, allocations: 4 kB / 488.6 MB, free: 11.4 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.963e-05/0.1327, allocations: 0 / 488.6 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.01655/0.1493, allocations: 4.163 MB / 492.8 MB, free: 7.176 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.665e-05/0.1493, allocations: 8.031 kB / 492.8 MB, free: 7.168 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008798/0.1502, allocations: 183 kB / 493 MB, free: 6.988 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001969/0.1522, allocations: 0.9325 MB / 493.9 MB, free: 6.016 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002027/0.1524, allocations: 162.9 kB / 494.1 MB, free: 5.844 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004436/0.1529, allocations: 144.3 kB / 494.2 MB, free: 5.703 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003992/0.1569, allocations: 2.021 MB / 496.2 MB, free: 3.637 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.607e-05/0.1569, allocations: 3.938 kB / 496.2 MB, free: 3.633 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001824/0.1571, allocations: 56 kB / 496.3 MB, free: 3.578 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.824e-05/0.1572, allocations: 28 kB / 496.3 MB, free: 3.551 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003261/0.1604, allocations: 1.95 MB / 498.3 MB, free: 1.594 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01115/0.1716, allocations: 8.185 MB / 0.4946 GB, free: 8.73 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004767/0.1764, allocations: 4.591 MB / 0.4991 GB, free: 3.734 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001989/0.1784, allocations: 1.403 MB / 0.5004 GB, free: 2.332 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002085/0.1787, allocations: 45.94 kB / 0.5005 GB, free: 2.289 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002414/0.1811, allocations: 1.44 MB / 0.5019 GB, free: 0.8359 MB / 382.1 MB Notification: Performance of pre-optimization done (n=201): time 4.228e-06/0.1811, allocations: 0 / 0.5019 GB, free: 0.8359 MB / 382.1 MB Notification: Performance of matching and sorting (n=201): time 0.3126/0.4937, allocations: 13.24 MB / 0.5148 GB, free: 41.49 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.831e-05/0.4938, allocations: 180.8 kB / 0.515 GB, free: 41.29 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001155/0.495, allocations: 0.8072 MB / 0.5158 GB, free: 40.84 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002941/0.4953, allocations: 75.17 kB / 0.5158 GB, free: 40.78 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002627/0.4955, allocations: 439.5 kB / 0.5163 GB, free: 40.49 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004206/0.496, allocations: 0.662 MB / 0.5169 GB, free: 39.95 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006576/0.4966, allocations: 384.8 kB / 0.5173 GB, free: 39.73 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.325e-05/0.4967, allocations: 353.8 kB / 0.5176 GB, free: 39.39 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001721/0.4984, allocations: 1.259 MB / 0.5188 GB, free: 38.68 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001736/0.5002, allocations: 1.432 MB / 0.5202 GB, free: 37.84 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003686/0.5039, allocations: 2.804 MB / 0.523 GB, free: 36.22 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.54e-06/0.5039, allocations: 0 / 0.523 GB, free: 36.22 MB / 382.1 MB Notification: Performance of matching and sorting (n=272) (initialization): time 0.01157/0.5155, allocations: 5.266 MB / 0.5281 GB, free: 33.2 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.404e-05/0.5155, allocations: 3.938 kB / 0.5281 GB, free: 33.2 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.118e-05/0.5155, allocations: 4 kB / 0.5281 GB, free: 33.19 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01222/0.5278, allocations: 3.806 MB / 0.5318 GB, free: 30.59 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001147/0.5289, allocations: 319.5 kB / 0.5321 GB, free: 30.28 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02469/0.5536, allocations: 15.84 MB / 0.5476 GB, free: 14.37 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001833/0.5555, allocations: 197.9 kB / 0.5478 GB, free: 14.17 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001862/0.5557, allocations: 75.97 kB / 0.5479 GB, free: 14.1 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.0006536/0.5564, allocations: 365.5 kB / 0.5482 GB, free: 13.73 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000269/0.5567, allocations: 138.3 kB / 0.5484 GB, free: 13.59 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01147/0.5681, allocations: 5.215 MB / 0.5535 GB, free: 8.367 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-05/0.5682, allocations: 24 kB / 0.5535 GB, free: 8.344 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.5682, allocations: 0 / 0.5535 GB, free: 8.344 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.125e-05/0.5682, allocations: 7.969 kB / 0.5535 GB, free: 8.336 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01344/0.5817, allocations: 7.716 MB / 0.561 GB, free: 0.5977 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.279e-05/0.5817, allocations: 4 kB / 0.561 GB, free: 0.5938 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007157/0.5824, allocations: 247.6 kB / 0.5613 GB, free: 360 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01262/0.5951, allocations: 3.266 MB / 0.5644 GB, free: 13.08 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002884/0.5954, allocations: 43.98 kB / 0.5645 GB, free: 13.04 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0275/0.6229, allocations: 15.64 MB / 0.5798 GB, free: 13.26 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.464e-06/0.623, allocations: 0 / 0.5798 GB, free: 13.26 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01268/0.6356, allocations: 5.029 MB / 0.5847 GB, free: 8.203 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005377/0.6362, allocations: 246.8 kB / 0.5849 GB, free: 7.941 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003305/0.6366, allocations: 36 kB / 0.5849 GB, free: 7.906 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00123/0.6378, allocations: 122.2 kB / 0.5851 GB, free: 7.797 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007553/0.6386, allocations: 170.8 kB / 0.5852 GB, free: 7.629 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001739/0.6388, allocations: 71.98 kB / 0.5853 GB, free: 7.559 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0008641/0.6396, allocations: 0.5381 MB / 0.5858 GB, free: 7.023 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6396, allocations: 3.938 kB / 0.5858 GB, free: 7.02 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0025/0.6421, allocations: 0.7338 MB / 0.5865 GB, free: 6.285 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.0004472/0.6426, allocations: 176.3 kB / 0.5867 GB, free: 6.105 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.009096/0.6517, allocations: 4.144 MB / 0.5907 GB, free: 1.949 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.01e-05/0.6518, allocations: 5.281 kB / 0.5908 GB, free: 1.945 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006525/0.6583, allocations: 2.624 MB / 0.5933 GB, free: 15.34 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001584/0.6599, allocations: 180.8 kB / 0.5935 GB, free: 15.17 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006257/0.6662, allocations: 3.065 MB / 0.5965 GB, free: 12.09 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001031/0.6672, allocations: 1.224 MB / 0.5977 GB, free: 10.83 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0008461/0.6681, allocations: 206 kB / 0.5979 GB, free: 10.63 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003612/0.6685, allocations: 127.3 kB / 0.598 GB, free: 10.5 MB / 430.1 MB Notification: Performance of SimCode: time 1.062e-06/0.6685, allocations: 0 / 0.598 GB, free: 10.5 MB / 430.1 MB Notification: Performance of Templates: time 0.08247/0.751, allocations: 53.74 MB / 0.6505 GB, free: 4.953 MB / 478.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)