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.001053/0.001053, allocations: 103 kB / 16.07 MB, free: 32 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.001162/0.001162, allocations: 181.8 kB / 16.96 MB, free: 6.875 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.519/1.519, allocations: 223.3 MB / 241 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.2326/0.2326, allocations: 8.084 MB / 300.2 MB, free: 2.871 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003671/0.0003673, allocations: 12 kB / 363.5 MB, free: 12.95 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1214/0.1218, allocations: 52.52 MB / 416 MB, free: 8.391 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithTwoOppositeBreakers): time 0.007936/0.1298, allocations: 8.233 MB / 424.2 MB, free: 116 kB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.2483/0.3781, allocations: 2.284 MB / 426.5 MB, free: 35.33 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001064/0.3792, allocations: 25.31 kB / 426.6 MB, free: 35.33 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009249/0.3802, allocations: 334.7 kB / 426.9 MB, free: 35.31 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002286/0.3825, allocations: 0.746 MB / 427.6 MB, free: 35.08 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003205/0.3857, allocations: 1.51 MB / 429.1 MB, free: 34.88 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002859/0.3885, allocations: 1.779 MB / 430.9 MB, free: 34.45 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009661/0.3895, allocations: 0.5772 MB / 431.5 MB, free: 34.33 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009831/0.3905, allocations: 0.6428 MB / 432.1 MB, free: 34.19 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009933/0.3915, allocations: 0.8791 MB / 433 MB, free: 33.98 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000177/0.3917, allocations: 84.84 kB / 433.1 MB, free: 33.98 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008615/0.3926, allocations: 308.2 kB / 433.4 MB, free: 33.97 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002488/0.3928, allocations: 293.8 kB / 433.7 MB, free: 33.89 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007558/0.3936, allocations: 0.8159 MB / 434.5 MB, free: 33.61 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002146/0.3958, allocations: 2.147 MB / 436.6 MB, free: 33.28 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.492e-06/0.3958, allocations: 0 / 436.6 MB, free: 33.28 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.936e-06/0.3958, allocations: 0 / 436.6 MB, free: 33.28 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.99e-05/0.3958, allocations: 3.938 kB / 436.7 MB, free: 33.27 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.01527/0.4111, allocations: 3.881 MB / 440.5 MB, free: 32.31 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.35e-05/0.4112, allocations: 9.531 kB / 440.5 MB, free: 32.31 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006582/0.4118, allocations: 180 kB / 440.7 MB, free: 32.23 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001406/0.4132, allocations: 0.9393 MB / 441.7 MB, free: 31.61 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001084/0.4134, allocations: 164.8 kB / 441.8 MB, free: 31.5 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002181/0.4136, allocations: 134.9 kB / 442 MB, free: 31.46 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002815/0.4164, allocations: 2.026 MB / 444 MB, free: 30.49 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.315e-05/0.4164, allocations: 0 / 444 MB, free: 30.49 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001563/0.4166, allocations: 55.56 kB / 444 MB, free: 30.45 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.939e-05/0.4166, allocations: 29.8 kB / 444.1 MB, free: 30.45 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002456/0.4191, allocations: 1.946 MB / 446 MB, free: 29.57 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009158/0.4283, allocations: 8.268 MB / 454.3 MB, free: 23.6 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003454/0.4318, allocations: 4.577 MB / 458.9 MB, free: 20 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001662/0.4335, allocations: 1.407 MB / 460.3 MB, free: 19.3 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001638/0.4336, allocations: 49.56 kB / 460.3 MB, free: 19.29 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002036/0.4357, allocations: 1.443 MB / 461.7 MB, free: 18.61 MB / 350.1 MB Notification: Performance of pre-optimization done (n=201): time 5.03e-06/0.4357, allocations: 3.984 kB / 461.8 MB, free: 18.61 MB / 350.1 MB Notification: Performance of matching and sorting (n=201): time 0.06058/0.4963, allocations: 13.2 MB / 475 MB, free: 15.45 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001216/0.4965, allocations: 180 kB / 475.1 MB, free: 15.25 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001567/0.498, allocations: 0.8125 MB / 475.9 MB, free: 14.78 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005726/0.4986, allocations: 75.36 kB / 476 MB, free: 14.71 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004579/0.4991, allocations: 437.4 kB / 476.4 MB, free: 14.33 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007559/0.4999, allocations: 0.6565 MB / 477.1 MB, free: 13.76 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003701/0.5002, allocations: 194.5 kB / 477.3 MB, free: 13.63 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001135/0.5004, allocations: 357.5 kB / 477.6 MB, free: 13.29 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002267/0.5026, allocations: 1.26 MB / 478.9 MB, free: 12.58 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00228/0.5049, allocations: 1.433 MB / 480.3 MB, free: 11.74 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00487/0.5098, allocations: 2.799 MB / 483.1 MB, free: 10.13 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.969e-06/0.5098, allocations: 1.375 kB / 483.1 MB, free: 10.13 MB / 350.1 MB Notification: Performance of matching and sorting (n=272) (initialization): time 0.01409/0.5239, allocations: 5.272 MB / 488.4 MB, free: 7.098 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.08e-05/0.524, allocations: 5.844 kB / 488.4 MB, free: 7.098 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.935e-05/0.5241, allocations: 4 kB / 488.4 MB, free: 7.094 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01461/0.5387, allocations: 3.825 MB / 492.2 MB, free: 4.402 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001653/0.5404, allocations: 316.3 kB / 492.5 MB, free: 4.094 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02789/0.5683, allocations: 14.46 MB / 0.4951 GB, free: 5.551 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002075/0.5704, allocations: 194 kB / 0.4953 GB, free: 5.359 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001755/0.5706, allocations: 75.92 kB / 0.4954 GB, free: 5.285 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,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.000857/0.5715, allocations: 369.5 kB / 0.4957 GB, free: 4.914 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002766/0.5718, allocations: 146.2 kB / 0.4959 GB, free: 4.77 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01461/0.5864, allocations: 5.215 MB / 0.501 GB, free: 15.53 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.813e-05/0.5865, allocations: 20 kB / 0.501 GB, free: 15.51 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.5865, allocations: 0 / 0.501 GB, free: 15.51 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.172e-05/0.5865, allocations: 11.95 kB / 0.501 GB, free: 15.5 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01749/0.604, allocations: 7.752 MB / 0.5086 GB, free: 7.723 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.267e-05/0.6041, allocations: 0 / 0.5086 GB, free: 7.723 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009038/0.605, allocations: 235.7 kB / 0.5088 GB, free: 7.492 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01409/0.6191, allocations: 3.29 MB / 0.512 GB, free: 4.191 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006363/0.6198, allocations: 43.98 kB / 0.512 GB, free: 4.148 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02808/0.6479, allocations: 14.25 MB / 0.526 GB, free: 5.758 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.648, allocations: 0 / 0.526 GB, free: 5.758 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01363/0.6616, allocations: 5.032 MB / 0.5309 GB, free: 0.707 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000464/0.6621, allocations: 258.7 kB / 0.5311 GB, free: 444 kB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003383/0.6624, allocations: 36 kB / 0.5312 GB, free: 408 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001424/0.6639, allocations: 137.1 kB / 0.5313 GB, free: 276 kB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005996/0.6645, allocations: 174.7 kB / 0.5315 GB, free: 100 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001643/0.6647, allocations: 63.98 kB / 0.5315 GB, free: 36 kB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000807/0.6655, allocations: 0.5381 MB / 0.532 GB, free: 15.5 MB / 414.1 MB Notification: Performance of sort global known variables: time 6.51e-07/0.6655, allocations: 4 kB / 0.532 GB, free: 15.5 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002201/0.6677, allocations: 0.7338 MB / 0.5328 GB, free: 14.76 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.0003716/0.6681, allocations: 175.8 kB / 0.5329 GB, free: 14.59 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.008969/0.677, allocations: 4.087 MB / 0.5369 GB, free: 10.48 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.319e-05/0.6771, allocations: 5.281 kB / 0.5369 GB, free: 10.48 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.007/0.6841, allocations: 2.567 MB / 0.5394 GB, free: 7.898 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001529/0.6857, allocations: 174.2 kB / 0.5396 GB, free: 7.734 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005939/0.6916, allocations: 3.709 MB / 0.5432 GB, free: 4.016 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001043/0.6927, allocations: 1.228 MB / 0.5444 GB, free: 2.754 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0008457/0.6936, allocations: 198 kB / 0.5446 GB, free: 2.559 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003002/0.6939, allocations: 119.4 kB / 0.5447 GB, free: 2.445 MB / 414.1 MB Notification: Performance of SimCode: time 9.62e-07/0.6939, allocations: 0 / 0.5447 GB, free: 2.445 MB / 414.1 MB Notification: Performance of Templates: time 0.2773/0.9712, allocations: 49.28 MB / 0.5928 GB, free: 122.9 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: