Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_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.ThirdOrder_AVRIII,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_ThreeArea_ThirdOrder_AVRIII",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_ThreeArea_ThirdOrder_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.003697/0.003697, allocations: 175.8 kB / 7.457 MB, free: 2.512 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.228/1.228, allocations: 221.4 MB / 229.3 MB, free: 3.082 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.000921/0.000921, allocations: 95.91 kB / 280.1 MB, free: 1.254 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4475/0.4475, allocations: 78.92 MB / 409.8 MB, free: 14.99 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.147/0.5946, allocations: 75.64 MB / 485.5 MB, free: 3.582 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3603/0.9549, allocations: 69.51 MB / 0.542 GB, free: 20.72 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1219/1.077, allocations: 97.7 MB / 0.6374 GB, free: 6.234 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002086/1.077, allocations: 79.94 kB / 0.6374 GB, free: 6.156 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: 486 * Number of variables: 486 Notification: Performance of Generate backend data structure: time 0.411/1.488, allocations: 64.49 MB / 0.7004 GB, free: 96.23 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.24e-05/1.488, allocations: 15.69 kB / 0.7004 GB, free: 96.23 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01091/1.499, allocations: 1.637 MB / 0.702 GB, free: 96.02 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005267/1.504, allocations: 1.469 MB / 0.7035 GB, free: 95.5 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001273/1.506, allocations: 0.6168 MB / 0.7041 GB, free: 94.98 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001458/1.507, allocations: 118.6 kB / 0.7042 GB, free: 94.98 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.007101/1.514, allocations: 2.081 MB / 0.7062 GB, free: 94.66 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008044/1.522, allocations: 2.133 MB / 0.7083 GB, free: 93.82 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001141/1.523, allocations: 0 / 0.7083 GB, free: 93.82 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000672/1.523, allocations: 0.9375 kB / 0.7083 GB, free: 93.82 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.739e-05/1.523, allocations: 49.69 kB / 0.7084 GB, free: 93.82 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0236/1.547, allocations: 9.474 MB / 0.7176 GB, free: 87.76 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003918/1.551, allocations: 1.931 MB / 0.7195 GB, free: 86.88 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002018/1.553, allocations: 1.363 MB / 0.7208 GB, free: 85.98 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002591/1.553, allocations: 37.72 kB / 0.7209 GB, free: 85.95 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.963e-05/1.553, allocations: 60.56 kB / 0.7209 GB, free: 85.88 MB / 490.7 MB Notification: Performance of pre-optimization done (n=227): time 5.681e-06/1.553, allocations: 0 / 0.7209 GB, free: 85.88 MB / 490.7 MB Notification: Performance of matching and sorting (n=227): time 0.03669/1.59, allocations: 12.72 MB / 0.7333 GB, free: 73.18 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.4e-05/1.59, allocations: 124.8 kB / 0.7335 GB, free: 73.03 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002266/1.592, allocations: 1.495 MB / 0.7349 GB, free: 71.52 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006118/1.593, allocations: 25.7 kB / 0.7349 GB, free: 71.49 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002933/1.593, allocations: 0.6516 MB / 0.7356 GB, free: 70.82 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001068/1.594, allocations: 0.7581 MB / 0.7363 GB, free: 70.05 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001841/1.595, allocations: 0 / 0.7363 GB, free: 70.05 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 9.547e-05/1.595, allocations: 390.2 kB / 0.7367 GB, free: 69.67 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001741/1.596, allocations: 1.114 MB / 0.7378 GB, free: 68.55 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001841/1.598, allocations: 1.4 MB / 0.7391 GB, free: 67.05 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001851/1.6, allocations: 1.229 MB / 0.7403 GB, free: 65.82 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.939e-06/1.6, allocations: 4 kB / 0.7403 GB, free: 65.82 MB / 490.7 MB Notification: Performance of matching and sorting (n=274) (initialization): time 0.03786/1.638, allocations: 12.81 MB / 0.7529 GB, free: 53.02 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005168/1.639, allocations: 2.722 MB / 0.7555 GB, free: 50.07 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.097e-05/1.639, allocations: 14.38 kB / 0.7555 GB, free: 50.06 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01694/1.656, allocations: 5.174 MB / 0.7606 GB, free: 44.95 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002001/1.658, allocations: 323.5 kB / 0.7609 GB, free: 44.63 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03779/1.695, allocations: 15.55 MB / 0.7761 GB, free: 28.98 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004104/1.7, allocations: 481.9 kB / 0.7765 GB, free: 28.51 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005642/1.7, allocations: 75.98 kB / 0.7766 GB, free: 28.44 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.258e-05/1.7, allocations: 4 kB / 0.7766 GB, free: 28.43 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.036/1.736, allocations: 12.51 MB / 0.7888 GB, free: 15.94 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.481e-05/1.736, allocations: 8 kB / 0.7888 GB, free: 15.93 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01623/1.753, allocations: 5.167 MB / 0.7939 GB, free: 10.77 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001809/1.754, allocations: 311.5 kB / 0.7942 GB, free: 10.46 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03855/1.793, allocations: 15.57 MB / 0.8094 GB, free: 10.77 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004/1.797, allocations: 458 kB / 0.8098 GB, free: 10.32 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004606/1.798, allocations: 75.98 kB / 0.8099 GB, free: 10.24 MB / 0.4948 GB Warning: Assuming fixed start value for the following 6 variables: Exc2.vref:VARIABLE(unit = "1" fixed = false protected = true ) type: Real Exc1.vref:VARIABLE(unit = "1" fixed = false protected = true ) type: Real order3_1.e1q:VARIABLE(start = order3_1.e1q0 unit = "1" ) "q-axis transient voltage" type: Real order3_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 (184): * Single equations (assignments): 183 * 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 {64 27} Notification: Performance of prepare postOptimizeDAE: time 0.0007187/1.798, allocations: 153.6 kB / 0.81 GB, free: 10.09 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008101/1.799, allocations: 268.6 kB / 0.8103 GB, free: 9.82 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03951/1.839, allocations: 12.95 MB / 0.8229 GB, free: 12.87 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.605e-05/1.839, allocations: 24 kB / 0.823 GB, free: 12.85 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.956e-05/1.839, allocations: 19.91 kB / 0.823 GB, free: 12.83 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.791e-05/1.839, allocations: 15.95 kB / 0.823 GB, free: 12.81 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04583/1.885, allocations: 16.12 MB / 0.8387 GB, free: 12.66 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.992e-05/1.885, allocations: 7.938 kB / 0.8387 GB, free: 12.65 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001847/1.887, allocations: 251.7 kB / 0.839 GB, free: 12.4 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01592/1.902, allocations: 5.015 MB / 0.8439 GB, free: 7.375 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005774/1.903, allocations: 11.98 kB / 0.8439 GB, free: 7.363 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.035/1.938, allocations: 13.69 MB / 0.8573 GB, free: 9.543 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.682e-06/1.938, allocations: 0 / 0.8573 GB, free: 9.543 MB / 0.5417 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.04304/1.981, allocations: 14.89 MB / 0.8718 GB, free: 10.62 MB / 0.5573 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.04779/2.029, allocations: 17.22 MB / 0.8886 GB, free: 9.359 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001269/2.03, allocations: 373.2 kB / 0.889 GB, free: 8.973 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006261/2.031, allocations: 3.984 kB / 0.889 GB, free: 8.969 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002944/2.034, allocations: 367.7 kB / 0.8893 GB, free: 8.609 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008899/2.035, allocations: 313.3 kB / 0.8896 GB, free: 8.305 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002205/2.035, allocations: 52 kB / 0.8897 GB, free: 8.254 MB / 0.573 GB Notification: Performance of sort global known variables: time 0.001657/2.037, allocations: 1.122 MB / 0.8908 GB, free: 7.121 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.005528/2.042, allocations: 1.536 MB / 0.8923 GB, free: 5.582 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 14 (order3_2.delta,order3_2.w,order3_2.e1q,order2.delta,order2.w,order3_1.delta,order3_1.w,order3_1.e1q,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 (146): * Single equations (assignments): 145 * 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 {(65,7.8%) 23} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004934/2.043, allocations: 144.9 kB / 0.8924 GB, free: 5.434 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.267/2.31, allocations: 9.083 MB / 0.9013 GB, free: 216.4 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 8.666e-06/2.31, allocations: 0 / 0.9013 GB, free: 216.4 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.0133/2.323, allocations: 3.827 MB / 0.905 GB, free: 216.2 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002657/2.326, allocations: 146.2 kB / 0.9052 GB, free: 216.2 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01237/2.338, allocations: 4.025 MB / 0.9091 GB, free: 215.2 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001634/2.34, allocations: 1.852 MB / 0.9109 GB, free: 214.5 MB / 0.573 GB Notification: Performance of SimCode: time 7.72e-07/2.34, allocations: 0 / 0.9109 GB, free: 214.5 MB / 0.573 GB (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_ThreeArea_ThirdOrder_AVRIII_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_ThreeArea_ThirdOrder_AVRIII.fmu > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII.pipe 2>&1)