Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.IEEE9.IEEE_9_Buses_Statcom.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/OpenIPSL 3.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.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(OpenIPSL.Examples.IEEE9.IEEE_9_Buses_Statcom,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_IEEE9_IEEE_9_Buses_Statcom",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.IEEE9.IEEE_9_Buses_Statcom,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_IEEE9_IEEE_9_Buses_Statcom",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.003474/0.003474, allocations: 178.3 kB / 7.455 MB, free: 2.508 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.16/1.16, allocations: 221.4 MB / 229.3 MB, free: 2.996 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.0009104/0.0009104, allocations: 93.94 kB / 280.1 MB, free: 1.238 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4037/0.4037, allocations: 78.05 MB / 408.9 MB, free: 15.49 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.14/0.5437, allocations: 75.48 MB / 484.4 MB, free: 4.344 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2683/0.812, allocations: 69.35 MB / 0.5408 GB, free: 21.37 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1178/0.9298, allocations: 102.9 MB / 0.6413 GB, free: 1.895 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000218/0.9301, allocations: 71.97 kB / 0.6414 GB, free: 1.824 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 476 * Number of variables: 476 Notification: Performance of Generate backend data structure: time 0.3966/1.327, allocations: 76.02 MB / 0.7156 GB, free: 91.21 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.814e-05/1.327, allocations: 8.75 kB / 0.7156 GB, free: 91.21 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008175/1.335, allocations: 1.237 MB / 0.7168 GB, free: 90.62 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00446/1.339, allocations: 1.824 MB / 0.7186 GB, free: 89.35 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005115/1.34, allocations: 436.5 kB / 0.719 GB, free: 88.98 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005711/1.341, allocations: 126.8 kB / 0.7191 GB, free: 88.95 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003441/1.344, allocations: 1.917 MB / 0.721 GB, free: 87.03 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003339/1.347, allocations: 1.961 MB / 0.7229 GB, free: 85.05 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.099e-05/1.347, allocations: 11.88 kB / 0.7229 GB, free: 85.04 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002092/1.348, allocations: 0 / 0.7229 GB, free: 85.04 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.959e-05/1.348, allocations: 44 kB / 0.723 GB, free: 84.99 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01425/1.362, allocations: 9.16 MB / 0.7319 GB, free: 75.64 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002291/1.364, allocations: 1.466 MB / 0.7333 GB, free: 74.14 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001529/1.366, allocations: 1.265 MB / 0.7346 GB, free: 72.88 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001954/1.366, allocations: 37.8 kB / 0.7346 GB, free: 72.85 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001979/1.368, allocations: 1.47 MB / 0.7361 GB, free: 71.36 MB / 490.7 MB Notification: Performance of pre-optimization done (n=245): time 4.168e-06/1.368, allocations: 0 / 0.7361 GB, free: 71.36 MB / 490.7 MB Notification: Performance of matching and sorting (n=245): time 0.02232/1.39, allocations: 7.7 MB / 0.7436 GB, free: 63.66 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.595e-05/1.39, allocations: 243.5 kB / 0.7438 GB, free: 63.37 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002932/1.393, allocations: 1.959 MB / 0.7457 GB, free: 61.4 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005294/1.394, allocations: 29.64 kB / 0.7457 GB, free: 61.36 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002986/1.394, allocations: 0.6662 MB / 0.7464 GB, free: 60.69 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00127/1.395, allocations: 0.8159 MB / 0.7472 GB, free: 59.86 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000212/1.396, allocations: 0 / 0.7472 GB, free: 59.86 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.000139/1.396, allocations: 399.1 kB / 0.7476 GB, free: 59.46 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001755/1.398, allocations: 1.063 MB / 0.7486 GB, free: 58.4 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001864/1.399, allocations: 1.318 MB / 0.7499 GB, free: 57.01 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001882/1.401, allocations: 1.172 MB / 0.751 GB, free: 55.82 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.674e-06/1.401, allocations: 3.906 kB / 0.751 GB, free: 55.81 MB / 490.7 MB Notification: Performance of matching and sorting (n=321) (initialization): time 0.02/1.421, allocations: 7.256 MB / 0.7581 GB, free: 48.54 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.233e-05/1.421, allocations: 4 kB / 0.7581 GB, free: 48.53 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.476e-05/1.421, allocations: 4 kB / 0.7581 GB, free: 48.53 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01046/1.432, allocations: 2.882 MB / 0.761 GB, free: 45.64 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002943/1.435, allocations: 463.4 kB / 0.7614 GB, free: 45.18 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02796/1.463, allocations: 14.6 MB / 0.7757 GB, free: 30.22 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004188/1.467, allocations: 393.8 kB / 0.776 GB, free: 29.84 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005893/1.468, allocations: 87.97 kB / 0.7761 GB, free: 29.75 MB / 490.7 MB Warning: Assuming fixed start value for the following 6 variables: gen3.gen.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real gen2.gen.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real gen1.gen.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real gen3.AVR.firstOrder2.y:VARIABLE(start = gen3.AVR.firstOrder2.y_start ) "Connector of Real output signal" type: Real gen3.gen.e1d:VARIABLE(start = gen3.gen.e1d0 unit = "1" ) "d-axis transient voltage" type: Real gen3.gen.e1q:VARIABLE(start = gen3.gen.e1q0 unit = "1" ) "q-axis transient voltage" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (235): * Single equations (assignments): 226 * Array equations: 0 * Algorithm blocks: 6 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 2 {36 46,1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0007894/1.469, allocations: 234.9 kB / 0.7763 GB, free: 29.5 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009544/1.469, allocations: 316.1 kB / 0.7766 GB, free: 29.18 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02283/1.492, allocations: 7.909 MB / 0.7844 GB, free: 21.28 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.339e-05/1.492, allocations: 24 kB / 0.7844 GB, free: 21.25 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.077e-06/1.492, allocations: 7.844 kB / 0.7844 GB, free: 21.25 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.814e-05/1.492, allocations: 15.95 kB / 0.7844 GB, free: 21.23 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02825/1.521, allocations: 11.54 MB / 0.7957 GB, free: 9.625 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.915e-05/1.521, allocations: 0 / 0.7957 GB, free: 9.625 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001621/1.522, allocations: 243.6 kB / 0.7959 GB, free: 9.387 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01123/1.534, allocations: 3.439 MB / 0.7993 GB, free: 5.934 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005107/1.534, allocations: 19.98 kB / 0.7993 GB, free: 5.914 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.034/1.568, allocations: 16.58 MB / 0.8155 GB, free: 4.871 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.714e-06/1.568, allocations: 4 kB / 0.8155 GB, free: 4.867 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.02946/1.598, allocations: 9.65 MB / 0.8249 GB, free: 11.18 MB / 0.5105 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.03154/1.629, allocations: 11.74 MB / 0.8364 GB, free: 15.41 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00125/1.631, allocations: 456.5 kB / 0.8368 GB, free: 14.94 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005356/1.631, allocations: 19.98 kB / 0.8368 GB, free: 14.92 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002816/1.634, allocations: 267.8 kB / 0.8371 GB, free: 14.66 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006552/1.635, allocations: 241.6 kB / 0.8373 GB, free: 14.42 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002228/1.635, allocations: 67.98 kB / 0.8374 GB, free: 14.36 MB / 0.5261 GB Notification: Performance of sort global known variables: time 0.002193/1.637, allocations: 1.461 MB / 0.8388 GB, free: 12.89 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.003266/1.64, allocations: 0.8853 MB / 0.8397 GB, free: 12.01 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 25 (sTATCOM3_1.simpleLagLim.state,gen1.gen.delta,gen1.gen.w,gen1.gen.e1q,gen1.gen.e1d,gen1.AVR.ExcitationSystem.x_scaled[1],gen1.AVR.derivativeBlock.x,gen1.AVR.firstOrder2.y,gen1.AVR.simpleLagLim.state,gen2.gen.delta,gen2.gen.w,gen2.gen.e1q,gen2.gen.e1d,gen2.AVR.ExcitationSystem.x_scaled[1],gen2.AVR.derivativeBlock.x,gen2.AVR.firstOrder2.y,gen2.AVR.simpleLagLim.state,gen3.gen.delta,gen3.gen.w,gen3.gen.e1q,gen3.gen.e1d,gen3.AVR.ExcitationSystem.x_scaled[1],gen3.AVR.derivativeBlock.x,gen3.AVR.firstOrder2.y,gen3.AVR.simpleLagLim.state) * Number of discrete variables: 8 ($whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (145): * Single equations (assignments): 138 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {43 49,1 6,1 6,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004855/1.641, allocations: 171.5 kB / 0.8398 GB, free: 11.83 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01031/1.651, allocations: 4.352 MB / 0.8441 GB, free: 7.418 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.509e-06/1.651, allocations: 0 / 0.8441 GB, free: 7.418 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.008495/1.66, allocations: 3.255 MB / 0.8473 GB, free: 4.102 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001927/1.662, allocations: 218 kB / 0.8475 GB, free: 3.891 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01109/1.673, allocations: 4.669 MB / 0.852 GB, free: 15.14 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002091/1.675, allocations: 2.077 MB / 0.8541 GB, free: 13.04 MB / 0.5417 GB Notification: Performance of SimCode: time 7.81e-07/1.675, allocations: 0 / 0.8541 GB, free: 13.04 MB / 0.5417 GB (rm -f OpenIPSL_OpenIPSL.Examples.IEEE9.IEEE_9_Buses_Statcom.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.IEEE9.IEEE_9_Buses_Statcom.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.IEEE9.IEEE_9_Buses_Statcom.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.IEEE9.IEEE_9_Buses_Statcom.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Examples_IEEE9_IEEE_9_Buses_Statcom_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Examples_IEEE9_IEEE_9_Buses_Statcom.fmu > OpenIPSL_OpenIPSL.Examples.IEEE9.IEEE_9_Buses_Statcom.pipe 2>&1)