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.001151/0.001151, allocations: 98.23 kB / 15.73 MB, free: 440 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001704/0.001703, allocations: 178.5 kB / 16.61 MB, free: 6.422 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.459/1.459, allocations: 223.2 MB / 240.6 MB, free: 5.457 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.2149/0.2149, allocations: 8.086 MB / 299.7 MB, free: 2.934 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003489/0.000349, allocations: 8 kB / 362.8 MB, free: 13.3 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1361/0.1365, allocations: 52.5 MB / 415.3 MB, free: 8.746 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithTwoOppositeBreakers): time 0.007066/0.1436, allocations: 7.138 MB / 422.4 MB, free: 1.574 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.2411/0.3847, allocations: 2.242 MB / 424.6 MB, free: 34.75 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001444/0.3862, allocations: 24.09 kB / 424.7 MB, free: 34.75 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007647/0.387, allocations: 253.7 kB / 424.9 MB, free: 34.75 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001744/0.3887, allocations: 0.7726 MB / 425.7 MB, free: 34.73 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002759/0.3915, allocations: 1.285 MB / 427 MB, free: 34.72 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002753/0.3943, allocations: 1.256 MB / 428.2 MB, free: 34.72 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008628/0.3951, allocations: 0.5228 MB / 428.8 MB, free: 34.62 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001282/0.3964, allocations: 0.6171 MB / 429.4 MB, free: 34.62 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001139/0.3976, allocations: 0.8097 MB / 430.2 MB, free: 34.49 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001577/0.3977, allocations: 86.39 kB / 430.3 MB, free: 34.49 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007952/0.3985, allocations: 280.6 kB / 430.5 MB, free: 34.49 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00029/0.3988, allocations: 280.2 kB / 430.8 MB, free: 34.44 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003109/0.3992, allocations: 336 kB / 431.1 MB, free: 34.36 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001626/0.4008, allocations: 1.721 MB / 432.9 MB, free: 34.22 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.598e-06/0.4008, allocations: 0 / 432.9 MB, free: 34.22 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.025e-06/0.4008, allocations: 0 / 432.9 MB, free: 34.22 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.082e-05/0.4009, allocations: 0 / 432.9 MB, free: 34.22 MB / 350.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.01569/0.4166, allocations: 3.905 MB / 436.8 MB, free: 33.25 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.027e-05/0.4166, allocations: 9.781 kB / 436.8 MB, free: 33.25 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008128/0.4175, allocations: 182.3 kB / 437 MB, free: 33.17 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001368/0.4188, allocations: 0.9064 MB / 437.9 MB, free: 32.83 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001155/0.419, allocations: 171.7 kB / 438 MB, free: 32.76 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002053/0.4192, allocations: 135.2 kB / 438.2 MB, free: 32.76 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002859/0.422, allocations: 1.993 MB / 440.2 MB, free: 32.62 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.278e-05/0.4221, allocations: 0.6875 kB / 440.2 MB, free: 32.62 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001566/0.4222, allocations: 57.5 kB / 440.2 MB, free: 32.62 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.28e-05/0.4223, allocations: 32.83 kB / 440.2 MB, free: 32.62 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002559/0.4248, allocations: 1.938 MB / 442.2 MB, free: 32.6 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009057/0.4339, allocations: 8.302 MB / 450.5 MB, free: 26.98 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003562/0.4375, allocations: 4.578 MB / 455.1 MB, free: 23.39 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001606/0.4377, allocations: 52.7 kB / 455.1 MB, free: 23.38 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001834/0.4395, allocations: 1.426 MB / 456.5 MB, free: 22.71 MB / 350.1 MB Notification: Performance of pre-optimization done (n=201): time 4.018e-06/0.4395, allocations: 0 / 456.5 MB, free: 22.71 MB / 350.1 MB Notification: Performance of matching and sorting (n=201): time 0.05842/0.498, allocations: 13.04 MB / 469.6 MB, free: 19.91 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001112/0.4981, allocations: 182.8 kB / 469.8 MB, free: 19.71 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001434/0.4996, allocations: 0.8076 MB / 470.6 MB, free: 19.27 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005068/0.5001, allocations: 79.48 kB / 470.6 MB, free: 19.2 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003564/0.5005, allocations: 435.5 kB / 471.1 MB, free: 18.82 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006775/0.5011, allocations: 0.6575 MB / 471.7 MB, free: 18.25 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001364/0.5013, allocations: 41.12 kB / 471.8 MB, free: 18.21 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001945/0.5015, allocations: 447.3 kB / 472.2 MB, free: 17.8 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002117/0.5036, allocations: 1.248 MB / 473.5 MB, free: 17.09 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002101/0.5057, allocations: 1.416 MB / 474.9 MB, free: 16.25 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002028/0.5078, allocations: 1.366 MB / 476.2 MB, free: 15.46 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.492e-06/0.5078, allocations: 0 / 476.2 MB, free: 15.46 MB / 350.1 MB Notification: Performance of matching and sorting (n=272) (initialization): time 0.01364/0.5214, allocations: 5.273 MB / 481.5 MB, free: 12.42 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.324e-05/0.5215, allocations: 4.469 kB / 481.5 MB, free: 12.42 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.369e-05/0.5215, allocations: 1.031 kB / 481.5 MB, free: 12.42 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0142/0.5357, allocations: 3.83 MB / 485.3 MB, free: 10.95 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001556/0.5373, allocations: 316.3 kB / 485.7 MB, free: 10.87 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02648/0.5638, allocations: 15.18 MB / 0.4891 GB, free: 13.07 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002156/0.566, allocations: 200.4 kB / 0.4893 GB, free: 12.88 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002192/0.5663, allocations: 78.25 kB / 0.4894 GB, free: 12.8 MB / 366.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,$PRE.cmd.pulseStart,cmd.pulseStart,n.y) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {28 58} Notification: Performance of prepare postOptimizeDAE: time 0.000959/0.5672, allocations: 366.1 kB / 0.4897 GB, free: 12.44 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003972/0.5676, allocations: 138.3 kB / 0.4898 GB, free: 12.3 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01357/0.5812, allocations: 5.195 MB / 0.4949 GB, free: 7.09 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.321e-05/0.5813, allocations: 27.89 kB / 0.4949 GB, free: 7.062 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.5813, allocations: 0 / 0.4949 GB, free: 7.062 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.171e-05/0.5814, allocations: 11.95 kB / 0.4949 GB, free: 7.051 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01801/0.5994, allocations: 7.743 MB / 0.5025 GB, free: 15.28 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.942e-05/0.5995, allocations: 0 / 0.5025 GB, free: 15.28 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001002/0.6005, allocations: 243.6 kB / 0.5027 GB, free: 15.04 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01351/0.614, allocations: 3.286 MB / 0.506 GB, free: 11.75 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005316/0.6146, allocations: 43.98 kB / 0.506 GB, free: 11.71 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02804/0.6426, allocations: 14.97 MB / 0.5206 GB, free: 12.61 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.6427, allocations: 0 / 0.5206 GB, free: 12.61 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01344/0.6561, allocations: 5.005 MB / 0.5255 GB, free: 7.578 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000891/0.6571, allocations: 246.8 kB / 0.5257 GB, free: 7.316 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005035/0.6576, allocations: 42.41 kB / 0.5258 GB, free: 7.277 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001585/0.6592, allocations: 139.3 kB / 0.5259 GB, free: 7.145 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009463/0.6602, allocations: 170.7 kB / 0.5261 GB, free: 6.98 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001814/0.6604, allocations: 67.98 kB / 0.5261 GB, free: 6.914 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0009315/0.6613, allocations: 0.5302 MB / 0.5266 GB, free: 6.383 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.9e-07/0.6613, allocations: 0 / 0.5266 GB, free: 6.383 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.003076/0.6644, allocations: 0.7377 MB / 0.5274 GB, free: 5.645 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: 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {28 58} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004558/0.6649, allocations: 183.6 kB / 0.5275 GB, free: 5.453 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.009741/0.6746, allocations: 4.085 MB / 0.5315 GB, free: 1.359 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.269e-05/0.6747, allocations: 5.281 kB / 0.5315 GB, free: 1.355 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.007274/0.682, allocations: 2.553 MB / 0.534 GB, free: 14.79 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001271/0.6833, allocations: 125.2 kB / 0.5342 GB, free: 14.66 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006079/0.6894, allocations: 3.598 MB / 0.5377 GB, free: 11.05 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009899/0.6904, allocations: 1.255 MB / 0.5389 GB, free: 9.766 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.000886/0.6913, allocations: 202 kB / 0.5391 GB, free: 9.566 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002972/0.6916, allocations: 119.4 kB / 0.5392 GB, free: 9.453 MB / 414.1 MB Notification: Performance of SimCode: time 1.212e-06/0.6916, allocations: 6.297 kB / 0.5392 GB, free: 9.449 MB / 414.1 MB Notification: Performance of Templates: time 0.2775/0.9691, allocations: 47.84 MB / 0.5859 GB, free: 122.5 MB / 446.1 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithTwoOppositeBreakers.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: