Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Introductory.SimulationSteadyState.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo", uses=false) Using package PowerSystems with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: "" <> buildModelFMU(PowerSystems.Examples.Introductory.SimulationSteadyState,fileNamePrefix="PowerSystems_PowerSystems_Examples_Introductory_SimulationSteadyState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Introductory.SimulationSteadyState,fileNamePrefix="PowerSystems_PowerSystems_Examples_Introductory_SimulationSteadyState",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.2+maint.om/package.mo): time 0.0009544/0.0009545, allocations: 182.3 kB / 8.137 MB, free: 2.223 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 0.9783/0.9783, allocations: 194.2 MB / 202.8 MB, free: 8.66 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001727/0.001727, allocations: 125.1 kB / 247.8 MB, free: 6.383 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1518/0.1518, allocations: 37.92 MB / 330.5 MB, free: 6.914 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1748/0.3267, allocations: 59.34 MB / 389.9 MB, free: 78.04 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07179/0.3985, allocations: 53.23 MB / 443.1 MB, free: 24.91 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2334/0.6319, allocations: 98.03 MB / 0.5285 GB, free: 8.293 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002336/0.6322, allocations: 87.33 kB / 0.5285 GB, free: 8.281 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: 224 * Number of variables: 224 Notification: Performance of Generate backend data structure: time 0.06637/0.6986, allocations: 26.4 MB / 0.5543 GB, free: 2.941 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.217e-05/0.6986, allocations: 8 kB / 0.5543 GB, free: 2.934 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009243/0.6996, allocations: 174.6 kB / 0.5545 GB, free: 2.762 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003151/0.7027, allocations: 1.351 MB / 0.5558 GB, free: 1.613 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.265e-05/0.7028, allocations: 35.91 kB / 0.5559 GB, free: 1.578 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001266/0.7029, allocations: 51.31 kB / 0.5559 GB, free: 1.531 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001217/0.7041, allocations: 0.7578 MB / 0.5566 GB, free: 1.012 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001396/0.7056, allocations: 1.047 MB / 0.5577 GB, free: 128 kB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.019e-05/0.7056, allocations: 7.938 kB / 0.5577 GB, free: 120 kB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.64e-05/0.7057, allocations: 4 kB / 0.5577 GB, free: 116 kB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.58e-05/0.7058, allocations: 53.41 kB / 0.5577 GB, free: 64 kB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004991/0.7108, allocations: 4.576 MB / 0.5622 GB, free: 11.9 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008822/0.7116, allocations: 0.607 MB / 0.5628 GB, free: 11.44 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000453/0.7121, allocations: 386.5 kB / 0.5632 GB, free: 11.18 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.503e-05/0.7122, allocations: 12.64 kB / 0.5632 GB, free: 11.17 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005241/0.7127, allocations: 442.1 kB / 0.5636 GB, free: 10.82 MB / 378.7 MB Notification: Performance of pre-optimization done (n=69): time 4.769e-06/0.7127, allocations: 7.922 kB / 0.5636 GB, free: 10.81 MB / 378.7 MB Notification: Performance of matching and sorting (n=70): time 0.002697/0.7154, allocations: 1.594 MB / 0.5652 GB, free: 9.48 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.585e-05/0.7155, allocations: 162.9 kB / 0.5653 GB, free: 9.285 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004738/0.716, allocations: 471.4 kB / 0.5658 GB, free: 8.914 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.147e-05/0.716, allocations: 37.2 kB / 0.5658 GB, free: 8.875 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002221/0.7163, allocations: 387.3 kB / 0.5662 GB, free: 8.531 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002006/0.7165, allocations: 232.4 kB / 0.5664 GB, free: 8.328 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.152e-05/0.7165, allocations: 0 / 0.5664 GB, free: 8.328 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000154/0.7167, allocations: 385.9 kB / 0.5668 GB, free: 7.973 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000408/0.7171, allocations: 285 kB / 0.567 GB, free: 7.781 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005273/0.7176, allocations: 0.5371 MB / 0.5676 GB, free: 7.242 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005435/0.7182, allocations: 388.7 kB / 0.5679 GB, free: 6.965 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.33e-06/0.7182, allocations: 4 kB / 0.5679 GB, free: 6.961 MB / 378.7 MB Notification: Performance of matching and sorting (n=108) (initialization): time 0.001845/0.72, allocations: 1.126 MB / 0.569 GB, free: 6.051 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.402e-05/0.7201, allocations: 8.734 kB / 0.569 GB, free: 6.043 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.399e-05/0.7201, allocations: 8 kB / 0.569 GB, free: 6.035 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001014/0.7211, allocations: 339.1 kB / 0.5694 GB, free: 5.758 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005074/0.7216, allocations: 138.7 kB / 0.5695 GB, free: 5.629 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004883/0.7265, allocations: 4.507 MB / 0.5739 GB, free: 1.59 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004443/0.727, allocations: 19.98 kB / 0.5739 GB, free: 1.57 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.02e-05/0.7271, allocations: 34.81 kB / 0.574 GB, free: 1.543 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * Number of states: 0 () * Number of discrete variables: 11 (system.initime,$whenCondition1,$PRE.relayNet.cnt,relayNet.cnt,switch.control[1],$PRE.switch.open,switch.open,$PRE.switch.closed,switch.closed,$PRE.relayNet.y[1],relayNet.y[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (80): * Single equations (assignments): 76 * Array equations: 1 * 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 {(3,100.0%) 17,(1,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000179/0.7272, allocations: 166.4 kB / 0.5741 GB, free: 1.371 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.641e-05/0.7273, allocations: 79 kB / 0.5742 GB, free: 1.293 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001733/0.7291, allocations: 0.9979 MB / 0.5752 GB, free: 0.5352 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.675e-05/0.7291, allocations: 11.98 kB / 0.5752 GB, free: 0.5234 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.457e-06/0.7291, allocations: 8 kB / 0.5752 GB, free: 0.5156 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.663e-06/0.7291, allocations: 0 / 0.5752 GB, free: 0.5156 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002966/0.7321, allocations: 1.972 MB / 0.5771 GB, free: 14.7 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.013e-06/0.7321, allocations: 4 kB / 0.5771 GB, free: 14.7 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003199/0.7325, allocations: 79.73 kB / 0.5772 GB, free: 14.62 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008506/0.7333, allocations: 310 kB / 0.5775 GB, free: 14.31 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.366e-05/0.7334, allocations: 7.984 kB / 0.5775 GB, free: 14.3 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004591/0.738, allocations: 4.457 MB / 0.5818 GB, free: 9.613 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.055e-06/0.738, allocations: 0 / 0.5818 GB, free: 9.613 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001678/0.7397, allocations: 1.212 MB / 0.583 GB, free: 8.285 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001812/0.7415, allocations: 1.606 MB / 0.5846 GB, free: 6.559 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001515/0.7417, allocations: 152.1 kB / 0.5847 GB, free: 6.391 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001097/0.7418, allocations: 8 kB / 0.5847 GB, free: 6.383 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003593/0.7421, allocations: 15.98 kB / 0.5848 GB, free: 6.367 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.847e-05/0.7423, allocations: 40.44 kB / 0.5848 GB, free: 6.328 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.47e-05/0.7423, allocations: 24 kB / 0.5848 GB, free: 6.305 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0003694/0.7427, allocations: 363.1 kB / 0.5852 GB, free: 5.957 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001414/0.7441, allocations: 248 kB / 0.5854 GB, free: 5.715 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 7 (switch.open,switch.closed,switch.control[1],$whenCondition1,relayNet.y[1],relayNet.cnt,system.initime) * Number of discrete states: 3 (relayNet.y[1],relayNet.cnt,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (43): * Single equations (assignments): 38 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 0 * When equations: 1 * 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 {(3,100.0%) 17,(1,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002533/0.7444, allocations: 167.9 kB / 0.5856 GB, free: 5.539 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001549/0.7459, allocations: 1.054 MB / 0.5866 GB, free: 4.461 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.7459, allocations: 0 / 0.5866 GB, free: 4.461 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009832/0.7469, allocations: 0.6935 MB / 0.5873 GB, free: 3.738 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006488/0.7476, allocations: 138.8 kB / 0.5874 GB, free: 3.594 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002369/0.75, allocations: 1.42 MB / 0.5888 GB, free: 2.113 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007462/0.7507, allocations: 1.158 MB / 0.5899 GB, free: 0.9297 MB / 394.7 MB Notification: Performance of SimCode: time 3.1e-07/0.7507, allocations: 0 / 0.5899 GB, free: 0.9297 MB / 394.7 MB (rm -f PowerSystems_PowerSystems.Examples.Introductory.SimulationSteadyState.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Introductory.SimulationSteadyState.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Introductory.SimulationSteadyState.pipe >> ../files/PowerSystems_PowerSystems.Examples.Introductory.SimulationSteadyState.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_Introductory_SimulationSteadyState_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_Introductory_SimulationSteadyState.fmu > PowerSystems_PowerSystems.Examples.Introductory.SimulationSteadyState.pipe 2>&1)