Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Breaker.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(PowerSystems.Examples.AC1ph_DC.Elementary.Breaker,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC1ph_DC_Elementary_Breaker",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC1ph_DC.Elementary.Breaker,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC1ph_DC_Elementary_Breaker",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 3.2.3+maint.om/package.mo): time 0.001168/0.001169, allocations: 191.3 kB / 8.139 MB, free: 2.184 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.447/1.447, allocations: 205.2 MB / 213.7 MB, free: 13.86 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008975/0.0008975, allocations: 104.2 kB / 261.8 MB, free: 13.55 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1671/0.1671, allocations: 37.97 MB / 347.7 MB, free: 7.477 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.205/0.3722, allocations: 62.44 MB / 410.1 MB, free: 46.78 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1003/0.4725, allocations: 56.32 MB / 466.4 MB, free: 6.391 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3129/0.7854, allocations: 97.9 MB / 0.5511 GB, free: 12.62 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002733/0.7858, allocations: 91.94 kB / 0.5512 GB, free: 12.53 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 90 * Number of variables: 90 Notification: Performance of Generate backend data structure: time 0.02939/0.8152, allocations: 10.43 MB / 0.5614 GB, free: 1.949 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.123e-05/0.8152, allocations: 8 kB / 0.5614 GB, free: 1.941 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001898/0.8154, allocations: 55.34 kB / 0.5614 GB, free: 1.887 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00247/0.8179, allocations: 0.889 MB / 0.5623 GB, free: 0.957 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.716e-05/0.818, allocations: 20 kB / 0.5623 GB, free: 0.9375 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001145/0.8181, allocations: 24 kB / 0.5623 GB, free: 0.9141 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007702/0.8189, allocations: 333.4 kB / 0.5627 GB, free: 0.5898 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007166/0.8196, allocations: 422.2 kB / 0.5631 GB, free: 152 kB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.435e-05/0.8197, allocations: 0 / 0.5631 GB, free: 152 kB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.997e-05/0.8197, allocations: 7.984 kB / 0.5631 GB, free: 144 kB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.256e-05/0.8197, allocations: 8 kB / 0.5631 GB, free: 136 kB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002494/0.8222, allocations: 1.64 MB / 0.5647 GB, free: 14.41 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003492/0.8226, allocations: 192.7 kB / 0.5649 GB, free: 14.21 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004684/0.8231, allocations: 221.9 kB / 0.5651 GB, free: 13.98 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.872e-05/0.8231, allocations: 8.172 kB / 0.5651 GB, free: 13.98 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003599/0.8235, allocations: 251.4 kB / 0.5653 GB, free: 13.7 MB / 410.7 MB Notification: Performance of pre-optimization done (n=35): time 1.814e-06/0.8235, allocations: 0 / 0.5653 GB, free: 13.7 MB / 410.7 MB Notification: Performance of matching and sorting (n=36): time 0.001534/0.825, allocations: 0.8948 MB / 0.5662 GB, free: 12.75 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.81e-05/0.8251, allocations: 140.5 kB / 0.5663 GB, free: 12.58 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003728/0.8255, allocations: 306 kB / 0.5666 GB, free: 12.29 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.846e-05/0.8256, allocations: 33.69 kB / 0.5666 GB, free: 12.25 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001311/0.8257, allocations: 212.1 kB / 0.5669 GB, free: 12.04 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.927e-05/0.8258, allocations: 102.5 kB / 0.5669 GB, free: 11.93 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.725e-05/0.8258, allocations: 0 / 0.5669 GB, free: 11.93 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001444/0.826, allocations: 354.8 kB / 0.5673 GB, free: 11.58 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002164/0.8262, allocations: 121 kB / 0.5674 GB, free: 11.46 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002575/0.8265, allocations: 247.8 kB / 0.5676 GB, free: 11.17 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002351/0.8267, allocations: 152 kB / 0.5678 GB, free: 11.02 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.8267, allocations: 0 / 0.5678 GB, free: 11.02 MB / 410.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0008361/0.8275, allocations: 462.2 kB / 0.5682 GB, free: 10.55 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.621e-05/0.8276, allocations: 4 kB / 0.5682 GB, free: 10.55 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.159e-05/0.8276, allocations: 4 kB / 0.5682 GB, free: 10.55 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002626/0.8279, allocations: 82.08 kB / 0.5683 GB, free: 10.46 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002951/0.8282, allocations: 71.89 kB / 0.5684 GB, free: 10.39 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002084/0.8303, allocations: 2.637 MB / 0.571 GB, free: 7.52 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003292/0.8306, allocations: 15.91 kB / 0.571 GB, free: 7.504 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.25e-05/0.8307, allocations: 23.98 kB / 0.571 GB, free: 7.48 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 18 (system.initime,$whenCondition1,$PRE.relay.cnt,relay.cnt,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$PRE.relay.y[1],relay.y[1],$PRE.breaker.breaker_1.arc,breaker.breaker_1.arc,$PRE.breaker.breaker_1.open,breaker.breaker_1.open,breaker.breaker_1.closed,$PRE.breaker.breaker_1.t0,breaker.breaker_1.t0,breaker.breaker_1.opening) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (54): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001859/0.8309, allocations: 158.6 kB / 0.5711 GB, free: 7.312 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.646e-05/0.8309, allocations: 43.53 kB / 0.5712 GB, free: 7.27 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007921/0.8317, allocations: 403.2 kB / 0.5716 GB, free: 6.863 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.27e-06/0.8318, allocations: 4 kB / 0.5716 GB, free: 6.859 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.692e-06/0.8318, allocations: 0 / 0.5716 GB, free: 6.859 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.801e-06/0.8318, allocations: 3.938 kB / 0.5716 GB, free: 6.855 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001398/0.8332, allocations: 0.8988 MB / 0.5725 GB, free: 5.902 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.159e-06/0.8332, allocations: 4 kB / 0.5725 GB, free: 5.898 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002007/0.8334, allocations: 35.98 kB / 0.5725 GB, free: 5.863 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002431/0.8337, allocations: 85.56 kB / 0.5726 GB, free: 5.773 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.402e-05/0.8337, allocations: 11.98 kB / 0.5726 GB, free: 5.762 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00187/0.8356, allocations: 2.641 MB / 0.5752 GB, free: 2.887 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.127e-06/0.8356, allocations: 3.984 kB / 0.5752 GB, free: 2.883 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0009522/0.8366, allocations: 0.6926 MB / 0.5758 GB, free: 2.148 MB / 410.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.00125/0.8378, allocations: 1.24 MB / 0.5771 GB, free: 0.8633 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001096/0.838, allocations: 116.6 kB / 0.5772 GB, free: 0.7305 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.724e-05/0.838, allocations: 8 kB / 0.5772 GB, free: 0.7227 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000262/0.8383, allocations: 19.92 kB / 0.5772 GB, free: 0.7031 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.921e-05/0.8384, allocations: 27.95 kB / 0.5772 GB, free: 0.6758 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.355e-05/0.8384, allocations: 16.06 kB / 0.5772 GB, free: 0.6602 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.0002748/0.8387, allocations: 240.6 kB / 0.5775 GB, free: 432 kB / 410.7 MB Notification: Performance of remove unused functions: time 0.001148/0.8399, allocations: 111.8 kB / 0.5776 GB, free: 320 kB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (ind.i[1],ind.i[2]) * Number of discrete variables: 13 (breaker.breaker_1.closed,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,relay.y[1],relay.cnt,breaker.breaker_1.arc,breaker.breaker_1.open,breaker.breaker_1.t0,breaker.breaker_1.opening,system.initime) * Number of discrete states: 5 (breaker.breaker_1.arc,relay.y[1],relay.cnt,$whenCondition1,breaker.breaker_1.open) * Top-level inputs: 0 Notification: Strong component statistics for simulation (35): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 3 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002189/0.8401, allocations: 127.2 kB / 0.5777 GB, free: 180 kB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0009453/0.8411, allocations: 0.5642 MB / 0.5782 GB, free: 15.59 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.488e-06/0.8411, allocations: 4 kB / 0.5782 GB, free: 15.58 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006021/0.8417, allocations: 438.1 kB / 0.5787 GB, free: 15.13 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004464/0.8421, allocations: 69.19 kB / 0.5787 GB, free: 15.06 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001558/0.8437, allocations: 0.7124 MB / 0.5794 GB, free: 14.32 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005584/0.8443, allocations: 0.9089 MB / 0.5803 GB, free: 13.38 MB / 426.7 MB Notification: Performance of SimCode: time 3.11e-07/0.8443, allocations: 0 / 0.5803 GB, free: 13.38 MB / 426.7 MB (rm -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Breaker.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Breaker.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Breaker.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Breaker.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Breaker_res.mat --tempDir=temp_PowerSystems_latest_PowerSystems_Examples_AC1ph_DC_Elementary_Breaker_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 PowerSystems_latest_PowerSystems_Examples_AC1ph_DC_Elementary_Breaker.fmu > PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Breaker.pipe 2>&1)