Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII.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.ThreeArea.ThirdOrder_AVRIII,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_ThreeArea_ThirdOrder_AVRIII",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII,fileNamePrefix="OpenIPSL_2_0_0_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 3.2.3+maint.om/package.mo): time 0.003774/0.003774, allocations: 181.5 kB / 7.457 MB, free: 2.508 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.26/1.26, allocations: 205.2 MB / 213.1 MB, free: 13.92 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.0009191/0.000919, allocations: 90.64 kB / 261.1 MB, free: 13.61 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.06731/0.06731, allocations: 12.19 MB / 321.2 MB, free: 1.367 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.2848/0.2848, allocations: 78.05 MB / 449.9 MB, free: 3.656 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2821/0.567, allocations: 76.09 MB / 0.5137 GB, free: 30.35 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1288/0.6958, allocations: 69.23 MB / 0.5813 GB, free: 9.195 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3827/1.079, allocations: 98.63 MB / 0.6776 GB, free: 9.676 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002601/1.079, allocations: 80.83 kB / 0.6777 GB, free: 9.664 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: 486 * Number of variables: 486 Notification: Performance of Generate backend data structure: time 0.1642/1.243, allocations: 61.91 MB / 0.7381 GB, free: 7.461 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.679e-05/1.243, allocations: 15.94 kB / 0.7381 GB, free: 7.445 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01108/1.254, allocations: 1.641 MB / 0.7397 GB, free: 5.859 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004059/1.258, allocations: 1.473 MB / 0.7412 GB, free: 4.32 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007322/1.259, allocations: 0.6162 MB / 0.7418 GB, free: 3.605 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009157/1.26, allocations: 119.9 kB / 0.7419 GB, free: 3.488 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005328/1.265, allocations: 2.074 MB / 0.7439 GB, free: 1.41 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005722/1.271, allocations: 2.141 MB / 0.746 GB, free: 15.25 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.936e-05/1.271, allocations: 0 / 0.746 GB, free: 15.25 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004477/1.272, allocations: 0 / 0.746 GB, free: 15.25 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.782e-05/1.272, allocations: 48 kB / 0.7461 GB, free: 15.2 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02257/1.294, allocations: 9.478 MB / 0.7553 GB, free: 5.348 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004084/1.298, allocations: 1.931 MB / 0.7572 GB, free: 3.414 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002377/1.301, allocations: 1.364 MB / 0.7585 GB, free: 2.051 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003126/1.301, allocations: 41.95 kB / 0.7586 GB, free: 2.012 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.63e-05/1.301, allocations: 52.56 kB / 0.7586 GB, free: 1.949 MB / 490.7 MB Notification: Performance of pre-optimization done (n=227): time 3.877e-06/1.301, allocations: 0 / 0.7586 GB, free: 1.949 MB / 490.7 MB Notification: Performance of matching and sorting (n=227): time 0.04015/1.341, allocations: 12.72 MB / 0.771 GB, free: 5.207 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.378e-05/1.342, allocations: 128.8 kB / 0.7712 GB, free: 5.059 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002903/1.344, allocations: 1.491 MB / 0.7726 GB, free: 3.551 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0006448/1.345, allocations: 25.7 kB / 0.7726 GB, free: 3.52 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005163/1.346, allocations: 0.6594 MB / 0.7733 GB, free: 2.848 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.00165/1.347, allocations: 0.7504 MB / 0.774 GB, free: 2.086 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003988/1.348, allocations: 0 / 0.774 GB, free: 2.086 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001931/1.348, allocations: 390.1 kB / 0.7744 GB, free: 1.699 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002235/1.35, allocations: 1.117 MB / 0.7755 GB, free: 0.5781 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002429/1.353, allocations: 1.404 MB / 0.7769 GB, free: 15.07 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002256/1.355, allocations: 1.228 MB / 0.7781 GB, free: 13.85 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.698e-06/1.355, allocations: 4 kB / 0.7781 GB, free: 13.84 MB / 0.5105 GB Notification: Performance of matching and sorting (n=274) (initialization): time 0.04075/1.396, allocations: 12.83 MB / 0.7906 GB, free: 0.9922 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.001014/1.397, allocations: 2.716 MB / 0.7932 GB, free: 14.05 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.219e-05/1.397, allocations: 8 kB / 0.7932 GB, free: 14.04 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01801/1.415, allocations: 5.171 MB / 0.7983 GB, free: 8.859 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001839/1.417, allocations: 319.5 kB / 0.7986 GB, free: 8.547 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04069/1.457, allocations: 15.56 MB / 0.8138 GB, free: 8.84 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00398/1.461, allocations: 481.9 kB / 0.8142 GB, free: 8.367 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003524/1.462, allocations: 83.88 kB / 0.8143 GB, free: 8.285 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 4.851e-05/1.462, allocations: 4 kB / 0.8143 GB, free: 8.281 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03912/1.501, allocations: 12.51 MB / 0.8265 GB, free: 11.76 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.174e-05/1.501, allocations: 8 kB / 0.8266 GB, free: 11.75 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01778/1.519, allocations: 5.171 MB / 0.8316 GB, free: 6.57 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001868/1.521, allocations: 307.6 kB / 0.8319 GB, free: 6.27 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04027/1.561, allocations: 15.57 MB / 0.8471 GB, free: 6.562 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003749/1.565, allocations: 454 kB / 0.8475 GB, free: 6.117 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002748/1.565, allocations: 79.97 kB / 0.8476 GB, free: 6.039 MB / 0.573 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.0006288/1.566, allocations: 141.9 kB / 0.8477 GB, free: 5.895 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004997/1.566, allocations: 272.6 kB / 0.848 GB, free: 5.625 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2652/1.831, allocations: 12.95 MB / 0.8607 GB, free: 133.5 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.238e-05/1.831, allocations: 19.75 kB / 0.8607 GB, free: 133.5 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.164e-05/1.832, allocations: 19.69 kB / 0.8607 GB, free: 133.5 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.547e-05/1.832, allocations: 10.22 kB / 0.8607 GB, free: 133.5 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04273/1.874, allocations: 16.11 MB / 0.8764 GB, free: 132.8 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.762e-05/1.874, allocations: 5.406 kB / 0.8764 GB, free: 132.8 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001677/1.876, allocations: 253.6 kB / 0.8767 GB, free: 132.8 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01462/1.891, allocations: 5.022 MB / 0.8816 GB, free: 132.5 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006416/1.891, allocations: 16.98 kB / 0.8816 GB, free: 132.5 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03228/1.924, allocations: 13.69 MB / 0.895 GB, free: 130.7 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.875e-06/1.924, allocations: 2.625 kB / 0.895 GB, free: 130.7 MB / 0.573 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.04424/1.968, allocations: 14.9 MB / 0.9095 GB, free: 129.3 MB / 0.573 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.04521/2.013, allocations: 17.22 MB / 0.9263 GB, free: 120.4 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001094/2.014, allocations: 372.6 kB / 0.9267 GB, free: 120.1 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005718/2.015, allocations: 3.75 kB / 0.9267 GB, free: 120.1 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002905/2.018, allocations: 363.7 kB / 0.927 GB, free: 119.8 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008177/2.019, allocations: 314.4 kB / 0.9273 GB, free: 119.6 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002389/2.019, allocations: 56 kB / 0.9274 GB, free: 119.6 MB / 0.573 GB Notification: Performance of sort global known variables: time 0.001462/2.02, allocations: 1.116 MB / 0.9285 GB, free: 118.5 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.00516/2.026, allocations: 1.541 MB / 0.93 GB, free: 117.1 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.000448/2.026, allocations: 146.3 kB / 0.9301 GB, free: 116.9 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.02534/2.051, allocations: 9.084 MB / 0.939 GB, free: 108.8 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 1.305e-05/2.051, allocations: 0 / 0.939 GB, free: 108.8 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.01189/2.063, allocations: 3.825 MB / 0.9427 GB, free: 105.5 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002541/2.066, allocations: 150.9 kB / 0.9429 GB, free: 105.3 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0151/2.081, allocations: 4.034 MB / 0.9468 GB, free: 101.7 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001756/2.083, allocations: 1.852 MB / 0.9486 GB, free: 100.2 MB / 0.573 GB Notification: Performance of SimCode: time 9.32e-07/2.083, allocations: 0 / 0.9486 GB, free: 100.2 MB / 0.573 GB (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_ThreeArea_ThirdOrder_AVRIII_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_ThreeArea_ThirdOrder_AVRIII.fmu > OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII.pipe 2>&1)