Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.BreakerTests.DistrictWithOppositeBreakers.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.BreakerTests.DistrictWithOppositeBreakers,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.BreakerTests.DistrictWithOppositeBreakers") translateModel(PowerSysPro.Examples.BreakerTests.DistrictWithOppositeBreakers,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.BreakerTests.DistrictWithOppositeBreakers") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001072/0.001072, allocations: 199 kB / 7.849 MB, free: 2.512 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.554/1.554, allocations: 221.4 MB / 229.7 MB, free: 3.223 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001208/0.001208, allocations: 93.55 kB / 280.5 MB, free: 1.25 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.03745/0.03745, allocations: 8.1 MB / 339.4 MB, free: 6.324 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 7.214e-06/7.244e-06, allocations: 0 / 397.9 MB, free: 67.99 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1414/0.1414, allocations: 52.52 MB / 450.4 MB, free: 15.47 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3761/0.5176, allocations: 81.94 MB / 0.5199 GB, free: 12.49 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002054/0.5178, allocations: 65.22 kB / 0.5199 GB, free: 12.46 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.08127/0.5991, allocations: 30.47 MB / 0.5497 GB, free: 4.988 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.089e-05/0.5992, allocations: 20 kB / 0.5497 GB, free: 4.969 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 203 * Number of variables: 203 Notification: Performance of Generate backend data structure: time 0.006726/0.606, allocations: 1.82 MB / 0.5515 GB, free: 3.109 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.444e-05/0.606, allocations: 11.97 kB / 0.5515 GB, free: 3.098 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005079/0.6066, allocations: 126.5 kB / 0.5516 GB, free: 2.973 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001152/0.6077, allocations: 0.5998 MB / 0.5522 GB, free: 2.328 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001119/0.6079, allocations: 93.34 kB / 0.5523 GB, free: 2.223 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001273/0.608, allocations: 44 kB / 0.5523 GB, free: 2.18 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002122/0.6101, allocations: 1.156 MB / 0.5535 GB, free: 1.023 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002088/0.6122, allocations: 1.163 MB / 0.5546 GB, free: 15.84 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.402e-05/0.6123, allocations: 0 / 0.5546 GB, free: 15.84 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.893e-05/0.6124, allocations: 0 / 0.5546 GB, free: 15.84 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.66e-05/0.6124, allocations: 24 kB / 0.5546 GB, free: 15.82 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00824/0.6206, allocations: 5.239 MB / 0.5597 GB, free: 10.14 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001945/0.6226, allocations: 1.431 MB / 0.5611 GB, free: 8.703 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001219/0.6239, allocations: 0.895 MB / 0.562 GB, free: 7.809 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001676/0.624, allocations: 33.27 kB / 0.5621 GB, free: 7.777 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.164e-05/0.6241, allocations: 55.81 kB / 0.5621 GB, free: 7.715 MB / 378.7 MB Notification: Performance of pre-optimization done (n=147): time 3.637e-06/0.6241, allocations: 0 / 0.5621 GB, free: 7.715 MB / 378.7 MB Notification: Performance of matching and sorting (n=147): time 0.01045/0.6346, allocations: 3.2 MB / 0.5652 GB, free: 4.496 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.707e-05/0.6347, allocations: 145.8 kB / 0.5654 GB, free: 4.324 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006465/0.6353, allocations: 423.5 kB / 0.5658 GB, free: 3.902 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001993/0.6355, allocations: 29.7 kB / 0.5658 GB, free: 3.867 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001609/0.6357, allocations: 217.8 kB / 0.566 GB, free: 3.648 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004629/0.6362, allocations: 476.6 kB / 0.5665 GB, free: 3.176 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.739e-05/0.6363, allocations: 4 kB / 0.5665 GB, free: 3.172 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001703/0.6364, allocations: 402.7 kB / 0.5668 GB, free: 2.77 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001057/0.6375, allocations: 0.6627 MB / 0.5675 GB, free: 2.105 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001111/0.6386, allocations: 0.7531 MB / 0.5682 GB, free: 1.34 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002205/0.6408, allocations: 0.8222 MB / 0.569 GB, free: 0.5195 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.499e-06/0.6409, allocations: 0 / 0.569 GB, free: 0.5195 MB / 378.7 MB Notification: Performance of matching and sorting (n=151) (initialization): time 0.01049/0.6514, allocations: 3.25 MB / 0.5722 GB, free: 13.26 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.455e-05/0.6514, allocations: 7.906 kB / 0.5722 GB, free: 13.25 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.28e-05/0.6514, allocations: 0 / 0.5722 GB, free: 13.25 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00971/0.6612, allocations: 2.069 MB / 0.5742 GB, free: 11.18 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008587/0.6621, allocations: 147.8 kB / 0.5744 GB, free: 11.03 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02078/0.6829, allocations: 9.115 MB / 0.5833 GB, free: 1.789 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001677/0.6846, allocations: 75.09 kB / 0.5834 GB, free: 1.715 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001622/0.6848, allocations: 39.98 kB / 0.5834 GB, free: 1.676 MB / 394.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: load11.terminal.i.im:VARIABLE(flow=true unit = "A" ) "Imaginary part of complex current" type: Real load21.terminal.i.re:VARIABLE(flow=true unit = "A" ) "Real part of complex current" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (brk1.BrkOpen) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (84): * Single equations (assignments): 83 * 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 {21 47} Notification: Performance of prepare postOptimizeDAE: time 0.0005299/0.6853, allocations: 122.7 kB / 0.5835 GB, free: 1.551 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003309/0.6857, allocations: 102.9 kB / 0.5836 GB, free: 1.449 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01121/0.6969, allocations: 3.516 MB / 0.587 GB, free: 13.93 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.301e-05/0.697, allocations: 20 kB / 0.5871 GB, free: 13.91 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.179e-06/0.697, allocations: 0 / 0.5871 GB, free: 13.91 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.588e-05/0.697, allocations: 7.969 kB / 0.5871 GB, free: 13.9 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002673/0.6997, allocations: 1.527 MB / 0.5886 GB, free: 12.33 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.688e-06/0.6997, allocations: 4 kB / 0.5886 GB, free: 12.33 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006816/0.7004, allocations: 167.8 kB / 0.5887 GB, free: 12.16 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.009914/0.7104, allocations: 2.076 MB / 0.5907 GB, free: 10.08 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000334/0.7108, allocations: 15.97 kB / 0.5908 GB, free: 10.07 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02125/0.732, allocations: 9.095 MB / 0.5996 GB, free: 0.8516 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.949e-06/0.7321, allocations: 3.906 kB / 0.5996 GB, free: 0.8477 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01069/0.7428, allocations: 3.386 MB / 0.603 GB, free: 13.44 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005034/0.7434, allocations: 191.5 kB / 0.6031 GB, free: 13.23 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002245/0.7436, allocations: 4 kB / 0.6031 GB, free: 13.23 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001008/0.7446, allocations: 55.95 kB / 0.6032 GB, free: 13.17 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002471/0.7449, allocations: 89.84 kB / 0.6033 GB, free: 13.08 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001292/0.745, allocations: 43.98 kB / 0.6033 GB, free: 13.04 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.0006066/0.7456, allocations: 331.2 kB / 0.6036 GB, free: 12.71 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001976/0.7476, allocations: 419.7 kB / 0.604 GB, free: 12.3 MB / 426.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: 1 (brk1.BrkOpen) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (102): * Single equations (assignments): 101 * 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 {21 47} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004768/0.7481, allocations: 119.1 kB / 0.6042 GB, free: 12.18 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.006572/0.7547, allocations: 2.406 MB / 0.6065 GB, free: 9.766 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.77e-06/0.7547, allocations: 4 kB / 0.6065 GB, free: 9.762 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004736/0.7595, allocations: 1.637 MB / 0.6081 GB, free: 8.117 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000776/0.7603, allocations: 66.92 kB / 0.6082 GB, free: 8.051 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003903/0.7642, allocations: 1.41 MB / 0.6095 GB, free: 6.602 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007948/0.765, allocations: 1.127 MB / 0.6106 GB, free: 5.445 MB / 426.7 MB Notification: Performance of SimCode: time 8.21e-07/0.765, allocations: 0 / 0.6106 GB, free: 5.445 MB / 426.7 MB Notification: Performance of Templates: time 0.04797/0.813, allocations: 30.12 MB / 0.6401 GB, free: 7.387 MB / 458.7 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.BreakerTests.DistrictWithOppositeBreakers.makefile (rm -f PowerSysPro_PowerSysPro.Examples.BreakerTests.DistrictWithOppositeBreakers.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.BreakerTests.DistrictWithOppositeBreakers.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.BreakerTests.DistrictWithOppositeBreakers.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.BreakerTests.DistrictWithOppositeBreakers.sim & ./PowerSysPro_PowerSysPro.Examples.BreakerTests.DistrictWithOppositeBreakers -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.BreakerTests.DistrictWithOppositeBreakers.pipe 2>&1)