Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.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/Modelica_Synchronous 0.93.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/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(OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_TwoArea_ThirdOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_TwoArea_ThirdOrder_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 3.2.3+maint.om/package.mo): time 0.002619/0.002619, allocations: 183.2 kB / 7.459 MB, free: 2.512 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.413/1.413, allocations: 205.2 MB / 213.1 MB, free: 13.85 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.0008763/0.0008763, allocations: 89.23 kB / 261.1 MB, free: 13.54 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.0685/0.0685, allocations: 12.19 MB / 321.2 MB, free: 1.293 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4149/0.4149, allocations: 78.05 MB / 449.9 MB, free: 3.648 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.3114/0.7263, allocations: 76.09 MB / 0.5137 GB, free: 30.34 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1332/0.8595, allocations: 69.23 MB / 0.5813 GB, free: 9.203 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3984/1.258, allocations: 102.2 MB / 0.6811 GB, free: 7.098 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002054/1.258, allocations: 81.17 kB / 0.6812 GB, free: 7.055 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 892 * Number of variables: 892 Notification: Performance of Generate backend data structure: time 0.2736/1.532, allocations: 101.4 MB / 0.7802 GB, free: 12.09 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.256e-05/1.532, allocations: 11.94 kB / 0.7802 GB, free: 12.07 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01972/1.552, allocations: 2.924 MB / 0.7831 GB, free: 9.141 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006533/1.558, allocations: 2.237 MB / 0.7853 GB, free: 6.828 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001138/1.559, allocations: 0.8869 MB / 0.7861 GB, free: 5.805 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001872/1.561, allocations: 200 kB / 0.7863 GB, free: 5.609 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00874/1.57, allocations: 3.431 MB / 0.7897 GB, free: 2.176 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007746/1.578, allocations: 3.586 MB / 0.7932 GB, free: 14.56 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.019e-05/1.578, allocations: 3.938 kB / 0.7932 GB, free: 14.56 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000346/1.578, allocations: 0 / 0.7932 GB, free: 14.56 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.191e-05/1.578, allocations: 84 kB / 0.7933 GB, free: 14.48 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04192/1.62, allocations: 18.52 MB / 0.8114 GB, free: 10.85 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004303/1.625, allocations: 2.262 MB / 0.8136 GB, free: 8.578 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003551/1.628, allocations: 2.112 MB / 0.8156 GB, free: 6.461 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004274/1.629, allocations: 70.91 kB / 0.8157 GB, free: 6.391 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004316/1.633, allocations: 2.465 MB / 0.8181 GB, free: 3.887 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=382): time 7.404e-06/1.633, allocations: 7.922 kB / 0.8181 GB, free: 3.879 MB / 0.5417 GB Notification: Performance of matching and sorting (n=382): time 0.05888/1.692, allocations: 18.38 MB / 0.8361 GB, free: 1.445 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.65e-05/1.692, allocations: 141.8 kB / 0.8362 GB, free: 1.281 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004515/1.697, allocations: 2.44 MB / 0.8386 GB, free: 14.83 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.001274/1.698, allocations: 29.7 kB / 0.8386 GB, free: 14.79 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009476/1.699, allocations: 1.182 MB / 0.8398 GB, free: 13.59 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.003314/1.702, allocations: 1.243 MB / 0.841 GB, free: 12.33 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000291/1.703, allocations: 4 kB / 0.841 GB, free: 12.33 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0002498/1.703, allocations: 441.6 kB / 0.8414 GB, free: 11.89 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003227/1.706, allocations: 1.769 MB / 0.8431 GB, free: 10.12 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003639/1.71, allocations: 2.321 MB / 0.8454 GB, free: 7.602 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003744/1.713, allocations: 1.965 MB / 0.8473 GB, free: 5.625 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.34e-05/1.713, allocations: 4 kB / 0.8473 GB, free: 5.621 MB / 0.573 GB Notification: Performance of matching and sorting (n=466) (initialization): time 0.2963/2.01, allocations: 18.4 MB / 0.8653 GB, free: 186.6 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 2.472e-05/2.01, allocations: 5.281 kB / 0.8653 GB, free: 186.6 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.602e-05/2.01, allocations: 15.19 kB / 0.8653 GB, free: 186.6 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02516/2.035, allocations: 7.197 MB / 0.8723 GB, free: 186.5 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003492/2.039, allocations: 0.5561 MB / 0.8729 GB, free: 186.5 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05696/2.096, allocations: 22.28 MB / 0.8946 GB, free: 184.5 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006265/2.102, allocations: 0.6829 MB / 0.8953 GB, free: 184.3 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006377/2.103, allocations: 130.2 kB / 0.8954 GB, free: 184.3 MB / 0.573 GB Warning: Assuming fixed start value for the following 4 variables: order3_1.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order3.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real aVRTypeII.firstOrder2.y:VARIABLE(start = aVRTypeII.firstOrder2.y_start ) "Connector of Real output signal" type: Real order3_1.e1q:VARIABLE(start = order3_1.e1q0 unit = "1" ) "q-axis transient voltage" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 65 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (329): * Single equations (assignments): 326 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {93 45} Notification: Performance of prepare postOptimizeDAE: time 0.0008396/2.103, allocations: 197.4 kB / 0.8956 GB, free: 184.2 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001038/2.104, allocations: 452.7 kB / 0.896 GB, free: 184 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05365/2.158, allocations: 18.81 MB / 0.9144 GB, free: 182.5 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.223e-05/2.158, allocations: 36.66 kB / 0.9144 GB, free: 182.5 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-05/2.158, allocations: 27.19 kB / 0.9145 GB, free: 182.5 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001042/2.158, allocations: 18.33 kB / 0.9145 GB, free: 182.5 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06705/2.225, allocations: 23.37 MB / 0.9373 GB, free: 172.7 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.917e-05/2.225, allocations: 3.422 kB / 0.9373 GB, free: 172.7 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002536/2.228, allocations: 392 kB / 0.9377 GB, free: 172.4 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02392/2.252, allocations: 7.251 MB / 0.9448 GB, free: 166.8 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001498/2.253, allocations: 22.94 kB / 0.9448 GB, free: 166.8 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05194/2.305, allocations: 21.99 MB / 0.9663 GB, free: 147 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.39e-06/2.305, allocations: 0 / 0.9663 GB, free: 147 MB / 0.573 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.05736/2.363, allocations: 21.72 MB / 0.9875 GB, free: 129.1 MB / 0.573 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.06246/2.425, allocations: 25.21 MB / 1.012 GB, free: 107.6 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001644/2.427, allocations: 0.5616 MB / 1.013 GB, free: 107.1 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001478/2.429, allocations: 3.516 kB / 1.013 GB, free: 107.1 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004944/2.434, allocations: 487.1 kB / 1.013 GB, free: 106.8 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001621/2.435, allocations: 458.7 kB / 1.014 GB, free: 106.5 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003665/2.436, allocations: 96.58 kB / 1.014 GB, free: 106.4 MB / 0.573 GB Notification: Performance of sort global known variables: time 0.002896/2.438, allocations: 1.808 MB / 1.015 GB, free: 104.8 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.005803/2.444, allocations: 1.559 MB / 1.017 GB, free: 103.3 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 10 (order3.delta,order3.w,order3.e1q,order3_1.delta,order3_1.w,order3_1.e1q,aVRTypeII.ExcitationSystem.x_scaled[1],aVRTypeII.derivativeBlock.x,aVRTypeII.firstOrder2.y,aVRTypeII.simpleLagLim.state) * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (246): * Single equations (assignments): 243 * 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: 1 {(98,5.5%) 38} * Non-linear torn systems: 1 {1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006873/2.445, allocations: 159.4 kB / 1.017 GB, free: 103.1 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.02097/2.466, allocations: 7.888 MB / 1.025 GB, free: 95.95 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 8.005e-06/2.466, allocations: 0.8125 kB / 1.025 GB, free: 95.95 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.01893/2.485, allocations: 5.935 MB / 1.031 GB, free: 90.06 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003885/2.489, allocations: 252.4 kB / 1.031 GB, free: 89.81 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0177/2.507, allocations: 5.886 MB / 1.037 GB, free: 83.89 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00251/2.509, allocations: 2.665 MB / 1.039 GB, free: 81.19 MB / 0.573 GB Notification: Performance of SimCode: time 9.22e-07/2.509, allocations: 0 / 1.039 GB, free: 81.19 MB / 0.573 GB (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_TwoArea_ThirdOrder_AVRII_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_TwoArea_ThirdOrder_AVRII.fmu > OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.pipe 2>&1)