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/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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001133/0.001133, allocations: 186.9 kB / 16.68 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.439/1.439, allocations: 222.9 MB / 240.3 MB, free: 11.01 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001015/0.001015, allocations: 104.7 kB / 290.6 MB, free: 10.96 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.04438/0.04438, allocations: 8.087 MB / 348.8 MB, free: 0.7148 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001022/0.001023, allocations: 50.2 kB / 411.1 MB, free: 57.61 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09157/0.09261, allocations: 51.52 MB / 462.6 MB, free: 6.078 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithTwoOppositeBreakers): time 0.007706/0.1004, allocations: 8.747 MB / 471.4 MB, free: 13.29 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.00552/0.1059, allocations: 2.324 MB / 473.7 MB, free: 10.95 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001563/0.1075, allocations: 28 kB / 473.7 MB, free: 10.93 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001217/0.1088, allocations: 338.3 kB / 474 MB, free: 10.59 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002611/0.1115, allocations: 0.7343 MB / 474.8 MB, free: 9.855 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003218/0.1147, allocations: 1.56 MB / 476.3 MB, free: 8.305 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.002372/0.1171, allocations: 1.8 MB / 478.1 MB, free: 6.496 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007568/0.1178, allocations: 0.5802 MB / 478.7 MB, free: 5.879 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007801/0.1186, allocations: 0.6964 MB / 479.4 MB, free: 5.18 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000991/0.1196, allocations: 0.9297 MB / 480.3 MB, free: 4.246 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001863/0.1198, allocations: 112 kB / 480.5 MB, free: 4.137 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008104/0.1207, allocations: 351.8 kB / 480.8 MB, free: 3.793 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002641/0.1209, allocations: 326.5 kB / 481.1 MB, free: 3.473 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007317/0.1217, allocations: 0.8317 MB / 482 MB, free: 2.637 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002032/0.1237, allocations: 2.224 MB / 484.2 MB, free: 416 kB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.1237, allocations: 4 kB / 484.2 MB, free: 412 kB / 314.7 MB Notification: Performance of FrontEnd: time 2.024e-06/0.1237, allocations: 0 / 484.2 MB, free: 412 kB / 314.7 MB Notification: Performance of Transformations before backend: time 2e-05/0.1238, allocations: 7.938 kB / 484.2 MB, free: 404 kB / 314.7 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.2148/0.3385, allocations: 4.145 MB / 488.3 MB, free: 27.31 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.296e-05/0.3386, allocations: 9.625 kB / 488.3 MB, free: 27.31 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000445/0.3391, allocations: 188.5 kB / 488.5 MB, free: 27.22 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001384/0.3405, allocations: 0.929 MB / 489.5 MB, free: 26.54 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001396/0.3406, allocations: 165.6 kB / 489.6 MB, free: 26.43 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002384/0.3409, allocations: 144.6 kB / 489.8 MB, free: 26.38 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00317/0.344, allocations: 2.012 MB / 491.8 MB, free: 25.43 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.537e-05/0.3441, allocations: 6.234 kB / 491.8 MB, free: 25.42 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001482/0.3442, allocations: 59.84 kB / 491.8 MB, free: 25.38 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.962e-05/0.3443, allocations: 27.56 kB / 491.9 MB, free: 25.38 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003032/0.3473, allocations: 1.945 MB / 493.8 MB, free: 24.5 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01044/0.3578, allocations: 8.219 MB / 0.4903 GB, free: 18.06 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003798/0.3616, allocations: 4.594 MB / 0.4947 GB, free: 14.26 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001891/0.3635, allocations: 1.407 MB / 0.4961 GB, free: 13.48 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001938/0.3637, allocations: 51.69 kB / 0.4962 GB, free: 13.47 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002119/0.3659, allocations: 1.441 MB / 0.4976 GB, free: 12.58 MB / 314.7 MB Notification: Performance of pre-optimization done (n=201): time 3.607e-06/0.3659, allocations: 1 kB / 0.4976 GB, free: 12.58 MB / 314.7 MB Notification: Performance of matching and sorting (n=201): time 0.05493/0.4208, allocations: 13.23 MB / 0.5105 GB, free: 1.531 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.048e-05/0.4209, allocations: 186.9 kB / 0.5107 GB, free: 1.316 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001042/0.422, allocations: 0.8097 MB / 0.5115 GB, free: 0.4961 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004258/0.4224, allocations: 73.7 kB / 0.5115 GB, free: 428 kB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002706/0.4227, allocations: 433.4 kB / 0.5119 GB, free: 15.99 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006523/0.4233, allocations: 0.6614 MB / 0.5126 GB, free: 15.34 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006761/0.424, allocations: 379.9 kB / 0.513 GB, free: 14.96 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001238/0.4242, allocations: 361.9 kB / 0.5133 GB, free: 14.6 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001914/0.4261, allocations: 1.262 MB / 0.5145 GB, free: 13.33 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002059/0.4282, allocations: 1.426 MB / 0.5159 GB, free: 11.88 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004057/0.4322, allocations: 2.803 MB / 0.5187 GB, free: 9.031 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.21e-06/0.4322, allocations: 3.938 kB / 0.5187 GB, free: 9.027 MB / 330.7 MB Notification: Performance of matching and sorting (n=272) (initialization): time 0.01315/0.4454, allocations: 5.255 MB / 0.5238 GB, free: 3.719 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.571e-05/0.4455, allocations: 12 kB / 0.5238 GB, free: 3.707 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.051e-05/0.4455, allocations: 0 / 0.5238 GB, free: 3.707 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0137/0.4592, allocations: 3.805 MB / 0.5275 GB, free: 15.89 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00135/0.4606, allocations: 315.5 kB / 0.5278 GB, free: 15.59 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02574/0.4863, allocations: 14.47 MB / 0.542 GB, free: 1.039 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001707/0.4881, allocations: 197.8 kB / 0.5421 GB, free: 0.8438 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001823/0.4883, allocations: 75.97 kB / 0.5422 GB, free: 0.7695 MB / 346.7 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.0006855/0.489, allocations: 357.6 kB / 0.5426 GB, free: 420 kB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002758/0.4892, allocations: 147.5 kB / 0.5427 GB, free: 272 kB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01368/0.5029, allocations: 5.215 MB / 0.5478 GB, free: 11.09 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-05/0.503, allocations: 23.98 kB / 0.5478 GB, free: 11.07 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.503, allocations: 0 / 0.5478 GB, free: 11.07 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.303e-05/0.5031, allocations: 7.969 kB / 0.5478 GB, free: 11.06 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01609/0.5192, allocations: 7.744 MB / 0.5554 GB, free: 3.254 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.421e-05/0.5192, allocations: 0 / 0.5554 GB, free: 3.254 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009481/0.5202, allocations: 239.6 kB / 0.5556 GB, free: 3.02 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01326/0.5335, allocations: 3.27 MB / 0.5588 GB, free: 15.74 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004856/0.534, allocations: 43.98 kB / 0.5589 GB, free: 15.7 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02649/0.5605, allocations: 14.23 MB / 0.5727 GB, free: 1.328 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.958e-06/0.5605, allocations: 7.219 kB / 0.5728 GB, free: 1.324 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01623/0.5768, allocations: 7.49 MB / 0.5801 GB, free: 9.773 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004042/0.5772, allocations: 238.8 kB / 0.5803 GB, free: 9.52 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002564/0.5775, allocations: 39.94 kB / 0.5803 GB, free: 9.48 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001866/0.5794, allocations: 125.7 kB / 0.5805 GB, free: 9.363 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009749/0.5803, allocations: 170.7 kB / 0.5806 GB, free: 9.191 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002931/0.5807, allocations: 67.98 kB / 0.5807 GB, free: 9.125 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001262/0.5819, allocations: 0.542 MB / 0.5812 GB, free: 8.586 MB / 394.7 MB Notification: Performance of sort global known variables: time 2.51e-07/0.5819, allocations: 0 / 0.5812 GB, free: 8.586 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.003594/0.5855, allocations: 0.7377 MB / 0.5819 GB, free: 7.848 MB / 394.7 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.0006089/0.5862, allocations: 176.3 kB / 0.5821 GB, free: 7.668 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.01494/0.6011, allocations: 4.09 MB / 0.5861 GB, free: 3.559 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.3e-05/0.6012, allocations: 5.281 kB / 0.5861 GB, free: 3.555 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01229/0.6135, allocations: 2.568 MB / 0.5886 GB, free: 0.9727 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002731/0.6163, allocations: 173.5 kB / 0.5888 GB, free: 0.8086 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01208/0.6284, allocations: 4.788 MB / 0.5935 GB, free: 11.99 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001564/0.63, allocations: 1.28 MB / 0.5947 GB, free: 10.68 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001779/0.6318, allocations: 202 kB / 0.5949 GB, free: 10.48 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005727/0.6324, allocations: 115.4 kB / 0.595 GB, free: 10.36 MB / 410.7 MB Notification: Performance of SimCode: time 1.583e-06/0.6324, allocations: 0 / 0.595 GB, free: 10.36 MB / 410.7 MB Notification: Performance of Templates: time 0.3328/0.9652, allocations: 53.01 MB / 0.6468 GB, free: 141.3 MB / 442.7 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)