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: "" <> buildModelFMU(PowerSysPro.Examples.BreakerTests.DistrictWithOppositeBreakers,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_BreakerTests_DistrictWithOppositeBreakers",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.BreakerTests.DistrictWithOppositeBreakers,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_BreakerTests_DistrictWithOppositeBreakers",fmuType="me",version="2.0",platforms={"static"}) [: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.00104/0.001041, allocations: 185.1 kB / 7.843 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.163/1.163, allocations: 221.4 MB / 229.7 MB, free: 3.07 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.0009465/0.0009466, allocations: 96.11 kB / 280.5 MB, free: 1.242 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.03869/0.03869, allocations: 8.097 MB / 339.4 MB, free: 6.34 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1812/0.22, allocations: 58.62 MB / 398 MB, free: 67.93 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08855/0.3085, allocations: 52.51 MB / 450.5 MB, free: 15.43 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2708/0.5793, allocations: 81.97 MB / 0.52 GB, free: 12.18 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001983/0.5796, allocations: 68.52 kB / 0.5201 GB, free: 12.14 MB / 346.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.08443/0.664, allocations: 32.3 MB / 0.5516 GB, free: 2.977 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.6641, allocations: 11.94 kB / 0.5516 GB, free: 2.965 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004519/0.6646, allocations: 127.4 kB / 0.5517 GB, free: 2.84 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001393/0.666, allocations: 0.6004 MB / 0.5523 GB, free: 2.207 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001091/0.6661, allocations: 93.34 kB / 0.5524 GB, free: 2.102 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002062/0.6663, allocations: 47.98 kB / 0.5525 GB, free: 2.055 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002074/0.6684, allocations: 1.156 MB / 0.5536 GB, free: 0.8984 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002073/0.6705, allocations: 1.155 MB / 0.5547 GB, free: 15.73 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.917e-05/0.6705, allocations: 0 / 0.5547 GB, free: 15.73 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001115/0.6706, allocations: 8 kB / 0.5547 GB, free: 15.72 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.103e-05/0.6707, allocations: 20 kB / 0.5547 GB, free: 15.7 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008694/0.6794, allocations: 5.231 MB / 0.5599 GB, free: 10.03 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002048/0.6815, allocations: 1.439 MB / 0.5613 GB, free: 8.586 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001352/0.6828, allocations: 0.8871 MB / 0.5621 GB, free: 7.699 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001722/0.683, allocations: 33.27 kB / 0.5622 GB, free: 7.668 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.291e-05/0.6831, allocations: 55.86 kB / 0.5622 GB, free: 7.605 MB / 378.7 MB Notification: Performance of pre-optimization done (n=147): time 4.579e-06/0.6831, allocations: 0.5625 kB / 0.5622 GB, free: 7.605 MB / 378.7 MB Notification: Performance of matching and sorting (n=147): time 0.01093/0.694, allocations: 3.207 MB / 0.5653 GB, free: 4.379 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.313e-05/0.6942, allocations: 149.8 kB / 0.5655 GB, free: 4.203 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006653/0.6948, allocations: 427.5 kB / 0.5659 GB, free: 3.777 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002003/0.695, allocations: 25.7 kB / 0.5659 GB, free: 3.746 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001296/0.6952, allocations: 213.7 kB / 0.5661 GB, free: 3.531 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004833/0.6957, allocations: 488.5 kB / 0.5666 GB, free: 3.047 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.948e-05/0.6958, allocations: 0 / 0.5666 GB, free: 3.047 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002105/0.696, allocations: 398.7 kB / 0.567 GB, free: 2.648 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001119/0.6971, allocations: 0.6627 MB / 0.5676 GB, free: 1.984 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001088/0.6982, allocations: 0.7569 MB / 0.5684 GB, free: 1.215 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0022/0.7004, allocations: 0.8105 MB / 0.5691 GB, free: 416 kB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.147e-06/0.7004, allocations: 0 / 0.5691 GB, free: 416 kB / 378.7 MB Notification: Performance of matching and sorting (n=151) (initialization): time 0.01041/0.7108, allocations: 3.258 MB / 0.5723 GB, free: 13.14 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.448e-05/0.7109, allocations: 7.906 kB / 0.5723 GB, free: 13.13 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.588e-05/0.7109, allocations: 7.969 kB / 0.5723 GB, free: 13.12 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00983/0.7208, allocations: 2.065 MB / 0.5744 GB, free: 11.05 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007488/0.7215, allocations: 143.8 kB / 0.5745 GB, free: 10.91 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02052/0.7421, allocations: 9.111 MB / 0.5834 GB, free: 1.664 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001173/0.7433, allocations: 83.03 kB / 0.5835 GB, free: 1.582 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001262/0.7434, allocations: 39.97 kB / 0.5835 GB, free: 1.543 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.000325/0.7438, allocations: 120.8 kB / 0.5836 GB, free: 1.418 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002173/0.744, allocations: 98.88 kB / 0.5837 GB, free: 1.32 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01097/0.755, allocations: 3.504 MB / 0.5871 GB, free: 13.81 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-05/0.755, allocations: 20 kB / 0.5872 GB, free: 13.79 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.7551, allocations: 0 / 0.5872 GB, free: 13.79 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.541e-05/0.7551, allocations: 7.969 kB / 0.5872 GB, free: 13.78 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00236/0.7575, allocations: 1.527 MB / 0.5887 GB, free: 12.21 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.52e-06/0.7575, allocations: 4 kB / 0.5887 GB, free: 12.21 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000649/0.7582, allocations: 171.7 kB / 0.5888 GB, free: 12.04 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.009334/0.7675, allocations: 2.069 MB / 0.5908 GB, free: 9.969 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002306/0.7678, allocations: 19.97 kB / 0.5909 GB, free: 9.949 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0194/0.7872, allocations: 9.103 MB / 0.5998 GB, free: 0.7266 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.853e-06/0.7872, allocations: 3.906 kB / 0.5998 GB, free: 0.7227 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01034/0.7976, allocations: 3.386 MB / 0.6031 GB, free: 13.31 MB / 426.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01076/0.8084, allocations: 3.781 MB / 0.6068 GB, free: 9.508 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003489/0.8088, allocations: 187.6 kB / 0.6069 GB, free: 9.305 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002303/0.809, allocations: 0 / 0.6069 GB, free: 9.305 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009384/0.81, allocations: 55.95 kB / 0.607 GB, free: 9.25 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002156/0.8102, allocations: 89.84 kB / 0.6071 GB, free: 9.164 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001229/0.8103, allocations: 55.83 kB / 0.6071 GB, free: 9.109 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.0004024/0.8107, allocations: 335.2 kB / 0.6075 GB, free: 8.781 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001957/0.8127, allocations: 415.7 kB / 0.6078 GB, free: 8.375 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.0002844/0.813, allocations: 124.5 kB / 0.608 GB, free: 8.246 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.006168/0.8192, allocations: 2.394 MB / 0.6103 GB, free: 5.844 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.8192, allocations: 3.938 kB / 0.6103 GB, free: 5.84 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004649/0.8239, allocations: 1.645 MB / 0.6119 GB, free: 4.184 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006432/0.8245, allocations: 61.44 kB / 0.612 GB, free: 4.121 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003762/0.8283, allocations: 1.411 MB / 0.6134 GB, free: 2.676 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007788/0.8291, allocations: 1.127 MB / 0.6145 GB, free: 1.516 MB / 426.7 MB Notification: Performance of SimCode: time 5.41e-07/0.8291, allocations: 0 / 0.6145 GB, free: 1.516 MB / 426.7 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_BreakerTests_DistrictWithOppositeBreakers_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_BreakerTests_DistrictWithOppositeBreakers.fmu > PowerSysPro_PowerSysPro.Examples.BreakerTests.DistrictWithOppositeBreakers.pipe 2>&1)