Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_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.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.FourthOrder_AVRIII,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_ThreeArea_FourthOrder_AVRIII",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRIII,fileNamePrefix="OpenIPSL_dev_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.00447/0.004471, allocations: 184.3 kB / 7.462 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.314/1.314, allocations: 221.4 MB / 229.3 MB, free: 3.129 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.001321/0.001322, allocations: 85.23 kB / 280.1 MB, free: 1.328 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4533/0.4533, allocations: 78.92 MB / 409.8 MB, free: 14.96 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1369/0.5902, allocations: 75.65 MB / 485.5 MB, free: 3.539 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2899/0.8801, allocations: 69.5 MB / 0.542 GB, free: 20.9 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1166/0.9967, allocations: 98.55 MB / 0.6382 GB, free: 5.348 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002056/0.9969, allocations: 75.95 kB / 0.6383 GB, free: 5.273 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.4038/1.401, allocations: 64.99 MB / 0.7017 GB, free: 96.89 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.382e-05/1.401, allocations: 11.81 kB / 0.7017 GB, free: 96.89 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01121/1.412, allocations: 1.64 MB / 0.7034 GB, free: 96.68 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004672/1.417, allocations: 1.471 MB / 0.7048 GB, free: 96.15 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007292/1.417, allocations: 0.6212 MB / 0.7054 GB, free: 95.63 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001/1.419, allocations: 117.2 kB / 0.7055 GB, free: 95.63 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005129/1.424, allocations: 2.079 MB / 0.7075 GB, free: 94.89 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004354/1.428, allocations: 2.14 MB / 0.7096 GB, free: 94.04 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.894e-05/1.428, allocations: 0.7188 kB / 0.7096 GB, free: 94.04 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002222/1.428, allocations: 0.75 kB / 0.7096 GB, free: 94.04 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.521e-05/1.428, allocations: 46.03 kB / 0.7097 GB, free: 94.04 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01944/1.448, allocations: 9.521 MB / 0.719 GB, free: 87.34 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003436/1.451, allocations: 1.931 MB / 0.7209 GB, free: 86.05 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001751/1.453, allocations: 1.366 MB / 0.7222 GB, free: 84.68 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002546/1.453, allocations: 37.56 kB / 0.7222 GB, free: 84.66 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.399e-05/1.453, allocations: 60.55 kB / 0.7223 GB, free: 84.59 MB / 490.7 MB Notification: Performance of pre-optimization done (n=228): time 4.599e-06/1.453, allocations: 0 / 0.7223 GB, free: 84.59 MB / 490.7 MB Notification: Performance of matching and sorting (n=228): time 0.03651/1.49, allocations: 12.71 MB / 0.7347 GB, free: 71.89 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.042e-05/1.49, allocations: 124.8 kB / 0.7348 GB, free: 71.74 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001995/1.492, allocations: 1.483 MB / 0.7363 GB, free: 70.24 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004736/1.492, allocations: 25.7 kB / 0.7363 GB, free: 70.21 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002705/1.493, allocations: 0.6554 MB / 0.7369 GB, free: 69.54 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000947/1.494, allocations: 0.758 MB / 0.7377 GB, free: 68.77 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001786/1.494, allocations: 0 / 0.7377 GB, free: 68.77 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 8.36e-05/1.494, allocations: 390.2 kB / 0.738 GB, free: 68.39 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001675/1.496, allocations: 1.114 MB / 0.7391 GB, free: 67.27 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001766/1.497, allocations: 1.409 MB / 0.7405 GB, free: 65.76 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001777/1.499, allocations: 1.23 MB / 0.7417 GB, free: 64.53 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.302e-06/1.499, allocations: 0 / 0.7417 GB, free: 64.53 MB / 490.7 MB Notification: Performance of matching and sorting (n=276) (initialization): time 0.03659/1.536, allocations: 12.82 MB / 0.7542 GB, free: 51.73 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004645/1.536, allocations: 2.725 MB / 0.7569 GB, free: 48.77 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.936e-05/1.536, allocations: 15.98 kB / 0.7569 GB, free: 48.76 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01619/1.553, allocations: 5.183 MB / 0.762 GB, free: 43.64 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001922/1.555, allocations: 331.5 kB / 0.7623 GB, free: 43.31 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03652/1.591, allocations: 15.49 MB / 0.7774 GB, free: 27.7 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003961/1.595, allocations: 477.8 kB / 0.7779 GB, free: 27.23 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003778/1.595, allocations: 79.97 kB / 0.7779 GB, free: 27.15 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.544e-05/1.595, allocations: 5.875 kB / 0.7779 GB, free: 27.14 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03592/1.631, allocations: 12.51 MB / 0.7902 GB, free: 14.66 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.714e-05/1.632, allocations: 11.98 kB / 0.7902 GB, free: 14.64 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01636/1.648, allocations: 5.186 MB / 0.7952 GB, free: 9.457 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00184/1.65, allocations: 307.6 kB / 0.7955 GB, free: 9.156 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03862/1.688, allocations: 15.49 MB / 0.8107 GB, free: 9.535 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004179/1.693, allocations: 454 kB / 0.8111 GB, free: 9.09 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000463/1.693, allocations: 75.98 kB / 0.8112 GB, free: 9.016 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.0008013/1.694, allocations: 165.7 kB / 0.8113 GB, free: 8.848 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008059/1.695, allocations: 264.7 kB / 0.8116 GB, free: 8.586 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03942/1.734, allocations: 12.96 MB / 0.8242 GB, free: 11.63 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.327e-05/1.734, allocations: 20 kB / 0.8243 GB, free: 11.61 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.224e-05/1.734, allocations: 23.98 kB / 0.8243 GB, free: 11.59 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.041e-05/1.734, allocations: 7.969 kB / 0.8243 GB, free: 11.58 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07676/1.811, allocations: 16.12 MB / 0.84 GB, free: 11.43 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.315e-05/1.811, allocations: 7.969 kB / 0.84 GB, free: 11.42 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003395/1.815, allocations: 255.8 kB / 0.8403 GB, free: 11.17 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.03123/1.846, allocations: 4.987 MB / 0.8451 GB, free: 6.172 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007259/1.847, allocations: 15.98 kB / 0.8452 GB, free: 6.156 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04561/1.892, allocations: 13.69 MB / 0.8585 GB, free: 8.344 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.077e-06/1.892, allocations: 11.94 kB / 0.8585 GB, free: 8.332 MB / 0.5417 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.04548/1.938, allocations: 14.9 MB / 0.8731 GB, free: 9.402 MB / 0.5573 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.04813/1.986, allocations: 17.23 MB / 0.8899 GB, free: 8.137 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001126/1.987, allocations: 377.1 kB / 0.8903 GB, free: 7.746 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006999/1.988, allocations: 4 kB / 0.8903 GB, free: 7.742 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003009/1.991, allocations: 363.7 kB / 0.8906 GB, free: 7.387 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008568/1.992, allocations: 313.4 kB / 0.8909 GB, free: 7.082 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002256/1.992, allocations: 59.98 kB / 0.891 GB, free: 7.023 MB / 0.573 GB Notification: Performance of sort global known variables: time 0.001707/1.994, allocations: 1.106 MB / 0.8921 GB, free: 5.906 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.0059/2, allocations: 1.544 MB / 0.8936 GB, free: 4.359 MB / 0.573 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 {(64,8.0%) 24} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004022/2, allocations: 138.9 kB / 0.8937 GB, free: 4.215 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.2231/2.223, allocations: 9.112 MB / 0.9026 GB, free: 216.5 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 8.796e-06/2.223, allocations: 0 / 0.9026 GB, free: 216.5 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.02241/2.246, allocations: 3.819 MB / 0.9063 GB, free: 216.3 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003632/2.249, allocations: 152.7 kB / 0.9065 GB, free: 216.3 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01604/2.265, allocations: 4.085 MB / 0.9105 GB, free: 215.2 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002102/2.268, allocations: 1.859 MB / 0.9123 GB, free: 214.5 MB / 0.573 GB Notification: Performance of SimCode: time 1.272e-06/2.268, allocations: 1.625 kB / 0.9123 GB, free: 214.5 MB / 0.573 GB (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRIII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRIII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRIII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRIII.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_ThreeArea_FourthOrder_AVRIII_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_ThreeArea_FourthOrder_AVRIII.fmu > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRIII.pipe 2>&1)