Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.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.1.0-master/package.mo", uses=false) Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/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.PSATSystems.ThreeArea.SixthOrder_AVRII,fileNamePrefix="OpenIPSL_release_OpenIPSL_Examples_PSATSystems_ThreeArea_SixthOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII,fileNamePrefix="OpenIPSL_release_OpenIPSL_Examples_PSATSystems_ThreeArea_SixthOrder_AVRII",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.00211/0.00211, allocations: 179.8 kB / 7.458 MB, free: 2.5 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.05/1.05, allocations: 221.4 MB / 229.3 MB, free: 3.02 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.0008485/0.0008485, allocations: 98.48 kB / 280.1 MB, free: 1.25 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.3569/0.3569, allocations: 78.11 MB / 409 MB, free: 15.7 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1151/0.472, allocations: 75.5 MB / 484.5 MB, free: 4.48 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2578/0.7299, allocations: 69.35 MB / 0.5409 GB, free: 13.41 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1049/0.8348, allocations: 100.1 MB / 0.6386 GB, free: 9.117 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001906/0.8351, allocations: 75.95 kB / 0.6387 GB, free: 9.043 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 525 * Number of variables: 525 Notification: Performance of Generate backend data structure: time 0.3488/1.184, allocations: 73.65 MB / 0.7106 GB, free: 160.1 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.086e-05/1.184, allocations: 14.78 kB / 0.7107 GB, free: 160.1 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009473/1.193, allocations: 1.676 MB / 0.7123 GB, free: 159.9 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00293/1.196, allocations: 1.673 MB / 0.7139 GB, free: 159.6 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004758/1.197, allocations: 0.6815 MB / 0.7146 GB, free: 159 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003341/1.197, allocations: 131.1 kB / 0.7147 GB, free: 159 MB / 0.5573 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003559/1.201, allocations: 2.232 MB / 0.7169 GB, free: 159 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003491/1.204, allocations: 2.296 MB / 0.7191 GB, free: 158.8 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.838e-05/1.204, allocations: 3.797 kB / 0.7191 GB, free: 158.8 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002196/1.205, allocations: 3.609 kB / 0.7191 GB, free: 158.8 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.043e-05/1.205, allocations: 51.62 kB / 0.7192 GB, free: 158.8 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01513/1.22, allocations: 9.877 MB / 0.7288 GB, free: 156.4 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003189/1.223, allocations: 2.06 MB / 0.7309 GB, free: 156.3 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001842/1.225, allocations: 1.463 MB / 0.7323 GB, free: 156.3 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002476/1.225, allocations: 44.36 kB / 0.7323 GB, free: 156.3 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002258/1.227, allocations: 1.704 MB / 0.734 GB, free: 156.2 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=250): time 4.388e-06/1.227, allocations: 0 / 0.734 GB, free: 156.2 MB / 0.5573 GB Notification: Performance of matching and sorting (n=250): time 0.03674/1.264, allocations: 13.17 MB / 0.7469 GB, free: 155.3 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.496e-05/1.264, allocations: 188.6 kB / 0.747 GB, free: 155.2 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002795/1.267, allocations: 1.748 MB / 0.7487 GB, free: 154.9 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0004858/1.267, allocations: 25.7 kB / 0.7488 GB, free: 154.9 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003195/1.268, allocations: 0.716 MB / 0.7495 GB, free: 154.6 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.001302/1.269, allocations: 0.8276 MB / 0.7503 GB, free: 154 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003088/1.269, allocations: 0 / 0.7503 GB, free: 154 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001261/1.27, allocations: 405.9 kB / 0.7507 GB, free: 153.7 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002042/1.272, allocations: 1.232 MB / 0.7519 GB, free: 153.7 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002278/1.274, allocations: 1.533 MB / 0.7534 GB, free: 153.4 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002149/1.276, allocations: 1.346 MB / 0.7547 GB, free: 153.3 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.959e-06/1.276, allocations: 6.031 kB / 0.7547 GB, free: 153.3 MB / 0.5573 GB Notification: Performance of matching and sorting (n=320) (initialization): time 0.03867/1.315, allocations: 13.2 MB / 0.7676 GB, free: 152.2 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.002e-05/1.315, allocations: 5.625 kB / 0.7676 GB, free: 152.2 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.343e-05/1.315, allocations: 6.875 kB / 0.7676 GB, free: 152.2 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01699/1.332, allocations: 5.296 MB / 0.7727 GB, free: 150.4 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002298/1.334, allocations: 412.6 kB / 0.7731 GB, free: 150.1 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03663/1.371, allocations: 16.81 MB / 0.7896 GB, free: 135.1 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003983/1.375, allocations: 0.5219 MB / 0.7901 GB, free: 134.6 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000483/1.375, allocations: 93.67 kB / 0.7902 GB, free: 134.5 MB / 0.5573 GB Warning: Assuming fixed start value for the following 6 variables: Exc2.firstOrder2.y:VARIABLE(start = Exc2.firstOrder2.y_start ) "Connector of Real output signal" type: Real Exc1.firstOrder2.y:VARIABLE(start = Exc1.firstOrder2.y_start ) "Connector of Real output signal" type: Real Syn2.e2d:VARIABLE(start = Syn2.e2d0 unit = "1" ) "d-axis sub-transient voltage" type: Real Syn2.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order2.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order3_2.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (229): * Single equations (assignments): 223 * Array equations: 0 * Algorithm blocks: 4 * 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: 1 {(1,100.0%) 1} * Non-linear torn systems: 1 {66 25} Notification: Performance of prepare postOptimizeDAE: time 0.0007213/1.376, allocations: 209.2 kB / 0.7904 GB, free: 134.3 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000705/1.377, allocations: 295.3 kB / 0.7906 GB, free: 134.1 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03601/1.413, allocations: 13.45 MB / 0.8038 GB, free: 123.5 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.105e-05/1.413, allocations: 24 kB / 0.8038 GB, free: 123.5 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.007e-05/1.413, allocations: 20 kB / 0.8038 GB, free: 123.4 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.001e-05/1.413, allocations: 10.55 kB / 0.8038 GB, free: 123.4 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04277/1.456, allocations: 16.8 MB / 0.8202 GB, free: 110.4 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.54e-05/1.456, allocations: 0 / 0.8202 GB, free: 110.4 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001681/1.457, allocations: 250.8 kB / 0.8205 GB, free: 110.2 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01462/1.472, allocations: 5.156 MB / 0.8255 GB, free: 105.6 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005608/1.473, allocations: 19.98 kB / 0.8255 GB, free: 105.6 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03341/1.506, allocations: 17.51 MB / 0.8426 GB, free: 87.86 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.642e-06/1.506, allocations: 6.156 kB / 0.8426 GB, free: 87.86 MB / 0.5573 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.03891/1.545, allocations: 15.49 MB / 0.8578 GB, free: 72.3 MB / 0.5573 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.04175/1.587, allocations: 17.98 MB / 0.8753 GB, free: 54.26 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008661/1.588, allocations: 414.2 kB / 0.8757 GB, free: 53.83 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005704/1.588, allocations: 8 kB / 0.8757 GB, free: 53.82 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003139/1.591, allocations: 407.7 kB / 0.8761 GB, free: 53.43 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008684/1.592, allocations: 341.3 kB / 0.8764 GB, free: 53.09 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002285/1.593, allocations: 66.55 kB / 0.8765 GB, free: 53.03 MB / 0.5573 GB Notification: Performance of sort global known variables: time 0.001504/1.594, allocations: 1.308 MB / 0.8778 GB, free: 51.71 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.00288/1.597, allocations: 1.015 MB / 0.8788 GB, free: 50.7 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 19 (order3_2.delta,order3_2.w,order3_2.e1q,order2.delta,order2.w,Syn2.delta,Syn2.w,Syn2.e1q,Syn2.e1d,Syn2.e2q,Syn2.e2d,Exc1.ExcitationSystem.x_scaled[1],Exc1.derivativeBlock.x,Exc1.firstOrder2.y,Exc1.simpleLagLim.state,Exc2.ExcitationSystem.x_scaled[1],Exc2.derivativeBlock.x,Exc2.firstOrder2.y,Exc2.simpleLagLim.state) * Number of discrete variables: 4 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (159): * Single equations (assignments): 154 * Array equations: 0 * Algorithm blocks: 2 * 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 {(63,8.1%) 25} * Non-linear torn systems: 2 {1 6,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003693/1.597, allocations: 162.1 kB / 0.8789 GB, free: 50.56 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.01304/1.61, allocations: 5.659 MB / 0.8845 GB, free: 44.87 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 3.357e-06/1.61, allocations: 0 / 0.8845 GB, free: 44.87 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.01026/1.621, allocations: 4.208 MB / 0.8886 GB, free: 40.66 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001458/1.622, allocations: 188.4 kB / 0.8887 GB, free: 40.48 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009261/1.631, allocations: 4.279 MB / 0.8929 GB, free: 36.2 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00155/1.633, allocations: 2.014 MB / 0.8949 GB, free: 34.16 MB / 0.5573 GB Notification: Performance of SimCode: time 6.01e-07/1.633, allocations: 0 / 0.8949 GB, free: 34.16 MB / 0.5573 GB (rm -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_release_OpenIPSL_Examples_PSATSystems_ThreeArea_SixthOrder_AVRII_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_release_OpenIPSL_Examples_PSATSystems_ThreeArea_SixthOrder_AVRII.fmu > OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.pipe 2>&1)