Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRIII.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.PSATSystems.ThreeArea.FourthOrder_AVRIII,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_PSATSystems_ThreeArea_FourthOrder_AVRIII",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRIII,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_PSATSystems_ThreeArea_FourthOrder_AVRIII",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.004153/0.004153, allocations: 180.1 kB / 7.458 MB, free: 2.164 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.263/1.263, allocations: 221.4 MB / 229.3 MB, free: 3.012 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.0009295/0.0009295, allocations: 104.5 kB / 280.1 MB, free: 1.242 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4395/0.4395, allocations: 78.05 MB / 408.9 MB, free: 15.52 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1579/0.5975, allocations: 75.49 MB / 484.4 MB, free: 4.352 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3256/0.9231, allocations: 69.35 MB / 0.5408 GB, free: 21.66 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1285/1.052, allocations: 97.87 MB / 0.6364 GB, free: 7.031 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002662/1.052, allocations: 75.97 kB / 0.6364 GB, free: 6.957 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: 487 * Number of variables: 487 Notification: Performance of Generate backend data structure: time 0.4468/1.499, allocations: 63.79 MB / 0.6987 GB, free: 96.29 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.466e-05/1.499, allocations: 7.688 kB / 0.6987 GB, free: 96.29 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01069/1.509, allocations: 1.642 MB / 0.7004 GB, free: 96.07 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003296/1.513, allocations: 1.481 MB / 0.7018 GB, free: 95.58 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004954/1.513, allocations: 0.6228 MB / 0.7024 GB, free: 95.06 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004014/1.514, allocations: 119.3 kB / 0.7025 GB, free: 95.05 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004625/1.518, allocations: 2.074 MB / 0.7045 GB, free: 95.05 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004505/1.523, allocations: 2.142 MB / 0.7066 GB, free: 94.27 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.395e-05/1.523, allocations: 4.109 kB / 0.7066 GB, free: 94.27 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002243/1.523, allocations: 0 / 0.7066 GB, free: 94.27 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.247e-05/1.523, allocations: 46.59 kB / 0.7067 GB, free: 94.27 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02065/1.544, allocations: 9.483 MB / 0.7159 GB, free: 88.99 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003841/1.548, allocations: 1.938 MB / 0.7178 GB, free: 88.1 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002136/1.55, allocations: 1.362 MB / 0.7192 GB, free: 87.42 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000275/1.55, allocations: 42.86 kB / 0.7192 GB, free: 87.41 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.127e-05/1.55, allocations: 60.09 kB / 0.7193 GB, free: 87.35 MB / 490.7 MB Notification: Performance of pre-optimization done (n=228): time 4.008e-06/1.55, allocations: 0 / 0.7193 GB, free: 87.35 MB / 490.7 MB Notification: Performance of matching and sorting (n=228): time 0.03745/1.588, allocations: 12.71 MB / 0.7317 GB, free: 75.28 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001056/1.588, allocations: 128.8 kB / 0.7318 GB, free: 75.13 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002599/1.591, allocations: 1.475 MB / 0.7332 GB, free: 73.64 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001022/1.592, allocations: 25.7 kB / 0.7333 GB, free: 73.61 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004444/1.592, allocations: 0.6672 MB / 0.7339 GB, free: 72.93 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001315/1.593, allocations: 0.7619 MB / 0.7347 GB, free: 72.16 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001806/1.594, allocations: 0 / 0.7347 GB, free: 72.16 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.000106/1.594, allocations: 382.2 kB / 0.735 GB, free: 71.78 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001856/1.596, allocations: 1.117 MB / 0.7361 GB, free: 70.66 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001851/1.597, allocations: 1.408 MB / 0.7375 GB, free: 69.14 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001906/1.599, allocations: 1.238 MB / 0.7387 GB, free: 67.91 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.827e-06/1.599, allocations: 0 / 0.7387 GB, free: 67.91 MB / 490.7 MB Notification: Performance of matching and sorting (n=276) (initialization): time 0.03731/1.637, allocations: 12.81 MB / 0.7512 GB, free: 55.1 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004434/1.637, allocations: 2.718 MB / 0.7539 GB, free: 52.16 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.059e-05/1.637, allocations: 8 kB / 0.7539 GB, free: 52.15 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0169/1.654, allocations: 5.19 MB / 0.7589 GB, free: 47.02 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001951/1.656, allocations: 331.5 kB / 0.7593 GB, free: 46.7 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0372/1.693, allocations: 15.5 MB / 0.7744 GB, free: 31.14 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003922/1.697, allocations: 473.9 kB / 0.7748 GB, free: 30.67 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003685/1.698, allocations: 83.97 kB / 0.7749 GB, free: 30.59 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.638e-06/1.698, allocations: 4 kB / 0.7749 GB, free: 30.59 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03616/1.734, allocations: 12.52 MB / 0.7872 GB, free: 18.09 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.051e-05/1.734, allocations: 8 kB / 0.7872 GB, free: 18.08 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01643/1.75, allocations: 5.188 MB / 0.7922 GB, free: 12.89 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001779/1.752, allocations: 311.5 kB / 0.7925 GB, free: 12.59 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03752/1.79, allocations: 15.48 MB / 0.8076 GB, free: 12.97 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003727/1.793, allocations: 458 kB / 0.8081 GB, free: 12.52 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003327/1.794, allocations: 75.98 kB / 0.8082 GB, free: 12.45 MB / 0.4948 GB Warning: Assuming fixed start value for the following 7 variables: Exc2.vref:VARIABLE(unit = "1" fixed = false protected = true ) type: Real Exc1.vref:VARIABLE(unit = "1" fixed = false protected = true ) type: Real order4_1.e1d:VARIABLE(start = order4_1.e1d0 unit = "1" ) "d-axis transient voltage" type: Real order4_1.e1q:VARIABLE(start = order4_1.e1q0 unit = "1" ) "q-axis transient voltage" type: Real order4_1.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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (186): * Single equations (assignments): 185 * Array equations: 0 * Algorithm blocks: 0 * 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 {65 26} Notification: Performance of prepare postOptimizeDAE: time 0.0006909/1.795, allocations: 146.9 kB / 0.8083 GB, free: 12.3 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006526/1.795, allocations: 276.6 kB / 0.8086 GB, free: 12.02 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04/1.835, allocations: 12.95 MB / 0.8212 GB, free: 15.07 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.85e-05/1.835, allocations: 24 kB / 0.8212 GB, free: 15.05 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.742e-05/1.835, allocations: 16 kB / 0.8213 GB, free: 15.04 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.294e-05/1.835, allocations: 14.39 kB / 0.8213 GB, free: 15.02 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04534/1.881, allocations: 16.11 MB / 0.837 GB, free: 14.87 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.67e-05/1.881, allocations: 0 / 0.837 GB, free: 14.87 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00177/1.883, allocations: 255.6 kB / 0.8372 GB, free: 14.62 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01603/1.899, allocations: 4.982 MB / 0.8421 GB, free: 9.637 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007823/1.899, allocations: 12 kB / 0.8421 GB, free: 9.625 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03657/1.936, allocations: 13.71 MB / 0.8555 GB, free: 11.79 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.149e-06/1.936, allocations: 7.875 kB / 0.8555 GB, free: 11.78 MB / 0.5417 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.04401/1.98, allocations: 14.9 MB / 0.8701 GB, free: 12.85 MB / 0.5573 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.2497/2.23, allocations: 17.24 MB / 0.8869 GB, free: 190.5 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008863/2.231, allocations: 371.8 kB / 0.8873 GB, free: 190.4 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005813/2.231, allocations: 7.812 kB / 0.8873 GB, free: 190.4 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002845/2.234, allocations: 370.6 kB / 0.8876 GB, free: 190.4 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007972/2.235, allocations: 311.5 kB / 0.8879 GB, free: 190.4 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002286/2.235, allocations: 55.97 kB / 0.888 GB, free: 190.4 MB / 0.5573 GB Notification: Performance of sort global known variables: time 0.001331/2.237, allocations: 1.106 MB / 0.889 GB, free: 190.3 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.005438/2.242, allocations: 1.537 MB / 0.8905 GB, free: 190.3 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 15 (order3_2.delta,order3_2.w,order3_2.e1q,order2.delta,order2.w,order4_1.delta,order4_1.w,order4_1.e1q,order4_1.e1d,Exc1.vm,Exc1.vr,Exc1.vf1,Exc2.vm,Exc2.vr,Exc2.vf1) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (147): * Single equations (assignments): 146 * Array equations: 0 * Algorithm blocks: 0 * 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: 1 {(63,8.1%) 25} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004189/2.242, allocations: 153.9 kB / 0.8907 GB, free: 190.2 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0257/2.268, allocations: 9.117 MB / 0.8996 GB, free: 189.7 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 7.804e-06/2.268, allocations: 0 / 0.8996 GB, free: 189.7 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.01139/2.28, allocations: 3.805 MB / 0.9033 GB, free: 189.5 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001791/2.281, allocations: 153.4 kB / 0.9035 GB, free: 189.5 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01204/2.293, allocations: 4.084 MB / 0.9074 GB, free: 188.5 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001703/2.295, allocations: 1.862 MB / 0.9093 GB, free: 187.7 MB / 0.5573 GB Notification: Performance of SimCode: time 1.082e-06/2.295, allocations: 3.969 kB / 0.9093 GB, free: 187.7 MB / 0.5573 GB (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRIII.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRIII.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRIII.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRIII.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Examples_PSATSystems_ThreeArea_FourthOrder_AVRIII_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Examples_PSATSystems_ThreeArea_FourthOrder_AVRIII.fmu > OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRIII.pipe 2>&1)