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.0008712/0.0008712, allocations: 84.19 kB / 15.75 MB, free: 416 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.0008713/0.0008713, allocations: 176.9 kB / 16.63 MB, free: 6.891 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.437/1.437, allocations: 223.3 MB / 240.7 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.2024/0.2024, allocations: 8.087 MB / 299.8 MB, free: 2.93 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003334/0.0003335, allocations: 8 kB / 362.9 MB, free: 13.31 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1136/0.114, allocations: 52.53 MB / 415.4 MB, free: 8.734 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithTwoOppositeBreakers): time 0.008014/0.122, allocations: 7.7 MB / 423.1 MB, free: 1 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.2798/0.4019, allocations: 2.16 MB / 425.2 MB, free: 34.71 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001039/0.403, allocations: 24.25 kB / 425.3 MB, free: 34.71 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007466/0.4038, allocations: 258.3 kB / 425.5 MB, free: 34.7 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001889/0.4057, allocations: 0.676 MB / 426.2 MB, free: 34.67 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002905/0.4086, allocations: 1.279 MB / 427.5 MB, free: 34.5 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002704/0.4113, allocations: 1.68 MB / 429.2 MB, free: 34.03 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007935/0.4121, allocations: 0.5254 MB / 429.7 MB, free: 33.93 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009467/0.4131, allocations: 0.6279 MB / 430.3 MB, free: 33.79 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001119/0.4142, allocations: 0.8375 MB / 431.1 MB, free: 33.62 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000164/0.4144, allocations: 88.55 kB / 431.2 MB, free: 33.62 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008657/0.4152, allocations: 313.4 kB / 431.5 MB, free: 33.6 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002649/0.4155, allocations: 281 kB / 431.8 MB, free: 33.54 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003192/0.4158, allocations: 334.4 kB / 432.1 MB, free: 33.45 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001693/0.4175, allocations: 1.743 MB / 433.9 MB, free: 33.3 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.164e-06/0.4176, allocations: 1.219 kB / 433.9 MB, free: 33.3 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.4176, allocations: 0 / 433.9 MB, free: 33.3 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.905e-05/0.4176, allocations: 4 kB / 433.9 MB, free: 33.3 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.01463/0.4322, allocations: 3.893 MB / 437.8 MB, free: 32.34 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.588e-05/0.4323, allocations: 13.17 kB / 437.8 MB, free: 32.34 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001333/0.4337, allocations: 182.5 kB / 438 MB, free: 32.26 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001876/0.4355, allocations: 0.9017 MB / 438.9 MB, free: 31.91 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001556/0.4357, allocations: 174.3 kB / 439 MB, free: 31.84 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002179/0.4359, allocations: 133.2 kB / 439.2 MB, free: 31.84 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003197/0.4391, allocations: 2.006 MB / 441.2 MB, free: 31.71 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.37e-05/0.4392, allocations: 0.5625 kB / 441.2 MB, free: 31.71 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001506/0.4393, allocations: 53.41 kB / 441.2 MB, free: 31.71 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.445e-05/0.4394, allocations: 30.61 kB / 441.3 MB, free: 31.71 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002869/0.4422, allocations: 1.95 MB / 443.2 MB, free: 31.62 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01024/0.4525, allocations: 8.267 MB / 451.5 MB, free: 25.66 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004177/0.4567, allocations: 4.58 MB / 456.1 MB, free: 22.05 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00187/0.4586, allocations: 1.398 MB / 457.5 MB, free: 21.35 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002111/0.4588, allocations: 47.53 kB / 457.5 MB, free: 21.34 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002182/0.461, allocations: 1.429 MB / 458.9 MB, free: 20.66 MB / 350.1 MB Notification: Performance of pre-optimization done (n=201): time 3.626e-06/0.461, allocations: 0 / 458.9 MB, free: 20.66 MB / 350.1 MB Notification: Performance of matching and sorting (n=201): time 0.05359/0.5146, allocations: 12.99 MB / 471.9 MB, free: 17.7 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001125/0.5148, allocations: 176.1 kB / 472.1 MB, free: 17.5 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001425/0.5162, allocations: 0.8086 MB / 472.9 MB, free: 17.02 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005573/0.5168, allocations: 74.73 kB / 473 MB, free: 16.96 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003837/0.5172, allocations: 437.5 kB / 473.4 MB, free: 16.58 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007031/0.5179, allocations: 0.6649 MB / 474.1 MB, free: 16 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001355/0.518, allocations: 40.66 kB / 474.1 MB, free: 15.96 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001742/0.5182, allocations: 439.8 kB / 474.5 MB, free: 15.55 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002059/0.5203, allocations: 1.248 MB / 475.8 MB, free: 14.85 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002232/0.5225, allocations: 1.427 MB / 477.2 MB, free: 14.01 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002279/0.5248, allocations: 1.369 MB / 478.6 MB, free: 13.21 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.493e-06/0.5248, allocations: 3.594 kB / 478.6 MB, free: 13.21 MB / 350.1 MB Notification: Performance of matching and sorting (n=272) (initialization): time 0.01348/0.5383, allocations: 5.274 MB / 483.9 MB, free: 10.17 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.529e-05/0.5384, allocations: 5.5 kB / 483.9 MB, free: 10.17 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.29e-05/0.5384, allocations: 0 / 483.9 MB, free: 10.17 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01341/0.5518, allocations: 3.828 MB / 487.7 MB, free: 8.699 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001503/0.5534, allocations: 318.8 kB / 488 MB, free: 8.621 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02582/0.5792, allocations: 14.43 MB / 0.4907 GB, free: 10.81 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001998/0.5812, allocations: 194 kB / 0.4909 GB, free: 10.62 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001812/0.5814, allocations: 75.98 kB / 0.4909 GB, free: 10.55 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.0009245/0.5824, allocations: 366.1 kB / 0.4913 GB, free: 10.18 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002893/0.5827, allocations: 142.3 kB / 0.4914 GB, free: 10.04 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01294/0.5956, allocations: 5.195 MB / 0.4965 GB, free: 4.828 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.056e-05/0.5957, allocations: 24 kB / 0.4965 GB, free: 4.805 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.5957, allocations: 3.938 kB / 0.4965 GB, free: 4.801 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.123e-05/0.5957, allocations: 15.95 kB / 0.4965 GB, free: 4.785 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01672/0.6125, allocations: 7.731 MB / 0.5041 GB, free: 13.02 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.017e-05/0.6126, allocations: 0 / 0.5041 GB, free: 13.02 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001022/0.6136, allocations: 241.8 kB / 0.5043 GB, free: 12.79 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01241/0.626, allocations: 3.278 MB / 0.5075 GB, free: 9.508 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000569/0.6266, allocations: 43.98 kB / 0.5075 GB, free: 9.465 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03166/0.6583, allocations: 14.23 MB / 0.5214 GB, free: 11.1 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.799e-06/0.6584, allocations: 0 / 0.5214 GB, free: 11.1 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01298/0.6714, allocations: 5.001 MB / 0.5263 GB, free: 6.074 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006173/0.672, allocations: 254.7 kB / 0.5266 GB, free: 5.805 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003891/0.6724, allocations: 36 kB / 0.5266 GB, free: 5.77 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001377/0.6738, allocations: 139.2 kB / 0.5267 GB, free: 5.637 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007132/0.6745, allocations: 170.8 kB / 0.5269 GB, free: 5.473 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001642/0.6747, allocations: 71.98 kB / 0.527 GB, free: 5.402 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0009587/0.6757, allocations: 0.5302 MB / 0.5275 GB, free: 4.871 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.6757, allocations: 0 / 0.5275 GB, free: 4.871 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002862/0.6785, allocations: 0.7299 MB / 0.5282 GB, free: 4.141 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.0004657/0.679, allocations: 185.2 kB / 0.5284 GB, free: 3.949 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.00938/0.6884, allocations: 4.087 MB / 0.5324 GB, free: 15.85 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.34e-05/0.6885, allocations: 5.281 kB / 0.5324 GB, free: 15.85 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006309/0.6948, allocations: 2.549 MB / 0.5349 GB, free: 13.29 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001571/0.6964, allocations: 178.6 kB / 0.535 GB, free: 13.11 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006449/0.7028, allocations: 3.566 MB / 0.5385 GB, free: 9.539 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001/0.7038, allocations: 1.22 MB / 0.5397 GB, free: 8.289 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0009272/0.7048, allocations: 206 kB / 0.5399 GB, free: 8.086 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003978/0.7052, allocations: 115.4 kB / 0.54 GB, free: 7.977 MB / 414.1 MB Notification: Performance of SimCode: time 1.463e-06/0.7052, allocations: 0 / 0.54 GB, free: 7.977 MB / 414.1 MB Notification: Performance of Templates: time 0.3492/1.054, allocations: 48.01 MB / 0.5869 GB, free: 123.2 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: