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.0007673/0.0007673, allocations: 95.75 kB / 16.71 MB, free: 6.145 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.0008301/0.0008302, allocations: 176.3 kB / 17.62 MB, free: 5.855 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.444/1.444, allocations: 223.3 MB / 241.7 MB, free: 14.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.04125/0.04125, allocations: 8.099 MB / 300.9 MB, free: 6.43 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004528/0.0004528, allocations: 19.98 kB / 364.2 MB, free: 7.109 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2369/0.2374, allocations: 52.51 MB / 416.7 MB, free: 24.8 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithTwoOppositeBreakers): time 0.005642/0.2431, allocations: 8.233 MB / 424.9 MB, free: 16.54 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00412/0.2472, allocations: 2.289 MB / 427.2 MB, free: 14.23 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009315/0.2482, allocations: 28 kB / 427.2 MB, free: 14.21 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007406/0.2489, allocations: 334.3 kB / 427.5 MB, free: 13.88 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001928/0.2509, allocations: 0.7421 MB / 428.3 MB, free: 13.13 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002497/0.2534, allocations: 1.515 MB / 429.8 MB, free: 11.62 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002069/0.2555, allocations: 1.777 MB / 431.6 MB, free: 9.84 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000661/0.2561, allocations: 0.5802 MB / 432.2 MB, free: 9.223 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007518/0.2569, allocations: 0.6457 MB / 432.8 MB, free: 8.574 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008032/0.2577, allocations: 0.8712 MB / 433.7 MB, free: 7.699 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000157/0.2579, allocations: 84 kB / 433.8 MB, free: 7.617 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006832/0.2586, allocations: 319.8 kB / 434.1 MB, free: 7.305 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001668/0.2588, allocations: 290.5 kB / 434.4 MB, free: 7.02 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005823/0.2593, allocations: 0.81 MB / 435.2 MB, free: 6.199 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00132/0.2607, allocations: 1.738 MB / 436.9 MB, free: 4.457 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.091e-06/0.2607, allocations: 4 kB / 436.9 MB, free: 4.453 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.425e-06/0.2607, allocations: 0 / 436.9 MB, free: 4.453 MB / 302.1 MB Notification: Performance of Transformations before backend: time 2.226e-05/0.2607, allocations: 0 / 436.9 MB, free: 4.453 MB / 302.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.01548/0.2762, allocations: 3.876 MB / 440.8 MB, free: 0.5156 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.593e-05/0.2763, allocations: 8.031 kB / 440.8 MB, free: 0.5078 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005614/0.2768, allocations: 183 kB / 441 MB, free: 336 kB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001544/0.2784, allocations: 0.944 MB / 441.9 MB, free: 15.34 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001513/0.2786, allocations: 178.8 kB / 442.1 MB, free: 15.15 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002516/0.2788, allocations: 140.4 kB / 442.2 MB, free: 15.02 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00341/0.2822, allocations: 2.013 MB / 444.2 MB, free: 12.96 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.286e-05/0.2823, allocations: 0 / 444.2 MB, free: 12.96 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001865/0.2825, allocations: 56 kB / 444.3 MB, free: 12.9 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.576e-05/0.2825, allocations: 28 kB / 444.3 MB, free: 12.88 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003075/0.2856, allocations: 1.95 MB / 446.3 MB, free: 10.92 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01173/0.2973, allocations: 8.267 MB / 454.5 MB, free: 1.973 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004892/0.3023, allocations: 4.579 MB / 459.1 MB, free: 13 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002048/0.3043, allocations: 1.411 MB / 460.5 MB, free: 11.59 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001687/0.3045, allocations: 49.92 kB / 460.6 MB, free: 11.54 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002345/0.3069, allocations: 1.437 MB / 462 MB, free: 10.09 MB / 334.1 MB Notification: Performance of pre-optimization done (n=201): time 4.077e-06/0.3069, allocations: 0 / 462 MB, free: 10.09 MB / 334.1 MB Notification: Performance of matching and sorting (n=201): time 0.06083/0.3677, allocations: 13.2 MB / 475.2 MB, free: 12.84 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001063/0.3679, allocations: 176.2 kB / 475.4 MB, free: 12.62 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001236/0.3691, allocations: 0.8096 MB / 476.2 MB, free: 11.81 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003884/0.3695, allocations: 73.7 kB / 476.3 MB, free: 11.73 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003653/0.3699, allocations: 434.9 kB / 476.7 MB, free: 11.3 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006712/0.3706, allocations: 0.6621 MB / 477.4 MB, free: 10.62 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002882/0.3708, allocations: 197.8 kB / 477.6 MB, free: 10.43 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001386/0.371, allocations: 357.9 kB / 477.9 MB, free: 10.07 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002034/0.373, allocations: 1.254 MB / 479.2 MB, free: 8.812 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002149/0.3752, allocations: 1.43 MB / 480.6 MB, free: 7.352 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004443/0.3796, allocations: 2.807 MB / 483.4 MB, free: 4.5 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.811e-06/0.3797, allocations: 0 / 483.4 MB, free: 4.5 MB / 350.1 MB Notification: Performance of matching and sorting (n=272) (initialization): time 0.01435/0.394, allocations: 5.267 MB / 488.7 MB, free: 15.18 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.915e-05/0.3941, allocations: 8 kB / 488.7 MB, free: 15.17 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.091e-05/0.3941, allocations: 0 / 488.7 MB, free: 15.17 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01451/0.4086, allocations: 3.829 MB / 492.5 MB, free: 11.33 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001428/0.4101, allocations: 319.5 kB / 492.8 MB, free: 11.02 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02788/0.438, allocations: 14.46 MB / 0.4954 GB, free: 12.45 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001754/0.4398, allocations: 201.1 kB / 0.4956 GB, free: 12.25 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001884/0.44, allocations: 71.98 kB / 0.4956 GB, free: 12.18 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.0007014/0.4407, allocations: 361.6 kB / 0.496 GB, free: 11.82 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002715/0.4409, allocations: 150.2 kB / 0.4961 GB, free: 11.67 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01435/0.4553, allocations: 5.206 MB / 0.5012 GB, free: 6.441 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-05/0.4554, allocations: 24 kB / 0.5012 GB, free: 6.418 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.4554, allocations: 0 / 0.5012 GB, free: 6.418 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.221e-05/0.4554, allocations: 15.95 kB / 0.5013 GB, free: 6.402 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1865/0.6419, allocations: 7.746 MB / 0.5088 GB, free: 88.11 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.925e-05/0.642, allocations: 4.578 kB / 0.5088 GB, free: 88.11 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009542/0.6429, allocations: 233.9 kB / 0.509 GB, free: 88.1 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0139/0.6568, allocations: 3.278 MB / 0.5122 GB, free: 88.05 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003605/0.6572, allocations: 53.44 kB / 0.5123 GB, free: 88.05 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02479/0.682, allocations: 14.25 MB / 0.5262 GB, free: 81.41 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.073e-06/0.6821, allocations: 0 / 0.5262 GB, free: 81.41 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01238/0.6944, allocations: 5.032 MB / 0.5311 GB, free: 79.16 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003537/0.6948, allocations: 250.7 kB / 0.5314 GB, free: 78.93 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002981/0.6951, allocations: 36 kB / 0.5314 GB, free: 78.89 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001391/0.6965, allocations: 139.5 kB / 0.5315 GB, free: 78.79 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005654/0.6971, allocations: 174.2 kB / 0.5317 GB, free: 78.69 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000145/0.6973, allocations: 62.67 kB / 0.5318 GB, free: 78.63 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006787/0.698, allocations: 0.5393 MB / 0.5323 GB, free: 78.1 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.698, allocations: 0 / 0.5323 GB, free: 78.1 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001725/0.6997, allocations: 0.7371 MB / 0.533 GB, free: 77.38 MB / 382.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.0003294/0.7, allocations: 180.3 kB / 0.5332 GB, free: 77.2 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.007861/0.7079, allocations: 4.092 MB / 0.5372 GB, free: 73.12 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 8.586e-06/0.7079, allocations: 5.281 kB / 0.5372 GB, free: 73.11 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005841/0.7138, allocations: 2.557 MB / 0.5397 GB, free: 70.54 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001148/0.715, allocations: 179.8 kB / 0.5398 GB, free: 70.37 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004428/0.7194, allocations: 3.749 MB / 0.5435 GB, free: 66.61 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00055/0.72, allocations: 1.228 MB / 0.5447 GB, free: 65.35 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003754/0.7204, allocations: 139.4 kB / 0.5448 GB, free: 65.21 MB / 382.1 MB Notification: Performance of SimCode: time 6.31e-07/0.7204, allocations: 0 / 0.5448 GB, free: 65.21 MB / 382.1 MB Notification: Performance of Templates: time 0.03174/0.7521, allocations: 31.83 MB / 0.5759 GB, free: 33.37 MB / 382.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)