Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_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.SixthOrder_AVRIII,fileNamePrefix="OpenIPSL_release_OpenIPSL_Examples_PSATSystems_ThreeArea_SixthOrder_AVRIII",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRIII,fileNamePrefix="OpenIPSL_release_OpenIPSL_Examples_PSATSystems_ThreeArea_SixthOrder_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.002092/0.002092, allocations: 177.5 kB / 7.454 MB, free: 2.516 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.069/1.069, allocations: 221.4 MB / 229.3 MB, free: 3.059 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.0008719/0.0008719, allocations: 97.5 kB / 280.1 MB, free: 1.25 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.3664/0.3664, allocations: 78.1 MB / 409 MB, free: 15.67 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.117/0.4834, allocations: 75.5 MB / 484.5 MB, free: 4.449 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2222/0.7057, allocations: 69.34 MB / 0.5408 GB, free: 21.41 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.0965/0.8022, allocations: 98.49 MB / 0.637 GB, free: 6.402 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001794/0.8024, allocations: 75.95 kB / 0.6371 GB, free: 6.328 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: 489 * Number of variables: 489 Notification: Performance of Generate backend data structure: time 0.3179/1.12, allocations: 65.08 MB / 0.7007 GB, free: 96.2 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.446e-05/1.12, allocations: 11.97 kB / 0.7007 GB, free: 96.2 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009006/1.129, allocations: 1.646 MB / 0.7023 GB, free: 95.98 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002145/1.132, allocations: 1.501 MB / 0.7037 GB, free: 95.48 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005736/1.132, allocations: 0.619 MB / 0.7043 GB, free: 94.97 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000399/1.133, allocations: 119.6 kB / 0.7045 GB, free: 94.96 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003983/1.137, allocations: 2.099 MB / 0.7065 GB, free: 94.69 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003891/1.14, allocations: 2.165 MB / 0.7086 GB, free: 93.84 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.539e-05/1.14, allocations: 0 / 0.7086 GB, free: 93.84 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002098/1.141, allocations: 0 / 0.7086 GB, free: 93.84 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.558e-05/1.141, allocations: 46.38 kB / 0.7087 GB, free: 93.84 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01561/1.156, allocations: 9.58 MB / 0.718 GB, free: 87.72 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0034/1.16, allocations: 1.965 MB / 0.7199 GB, free: 86.82 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001799/1.162, allocations: 1.384 MB / 0.7213 GB, free: 85.91 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000249/1.162, allocations: 44.06 kB / 0.7213 GB, free: 85.87 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.602e-05/1.162, allocations: 52.56 kB / 0.7214 GB, free: 85.81 MB / 490.7 MB Notification: Performance of pre-optimization done (n=230): time 3.426e-06/1.162, allocations: 4 kB / 0.7214 GB, free: 85.81 MB / 490.7 MB Notification: Performance of matching and sorting (n=230): time 0.03512/1.197, allocations: 12.75 MB / 0.7338 GB, free: 73.07 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.167e-05/1.197, allocations: 124.8 kB / 0.734 GB, free: 72.92 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002181/1.199, allocations: 1.527 MB / 0.7355 GB, free: 71.38 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004672/1.2, allocations: 25.7 kB / 0.7355 GB, free: 71.34 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002742/1.2, allocations: 0.6635 MB / 0.7361 GB, free: 70.67 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008548/1.201, allocations: 0.758 MB / 0.7369 GB, free: 69.9 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001738/1.201, allocations: 4 kB / 0.7369 GB, free: 69.89 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 8.121e-05/1.201, allocations: 394.2 kB / 0.7372 GB, free: 69.5 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001694/1.203, allocations: 1.137 MB / 0.7384 GB, free: 68.36 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001763/1.205, allocations: 1.424 MB / 0.7397 GB, free: 66.84 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001755/1.206, allocations: 1.244 MB / 0.741 GB, free: 65.59 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.831e-06/1.206, allocations: 8 kB / 0.741 GB, free: 65.59 MB / 490.7 MB Notification: Performance of matching and sorting (n=280) (initialization): time 0.0363/1.243, allocations: 12.92 MB / 0.7536 GB, free: 52.68 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003514/1.243, allocations: 2.73 MB / 0.7562 GB, free: 49.73 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.343e-05/1.243, allocations: 8 kB / 0.7563 GB, free: 49.72 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01596/1.259, allocations: 5.274 MB / 0.7614 GB, free: 44.51 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001557/1.261, allocations: 319.5 kB / 0.7617 GB, free: 44.2 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03509/1.296, allocations: 16.84 MB / 0.7782 GB, free: 27.15 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003152/1.299, allocations: 485.8 kB / 0.7786 GB, free: 26.67 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002516/1.299, allocations: 79.97 kB / 0.7787 GB, free: 26.59 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.56e-06/1.299, allocations: 6.125 kB / 0.7787 GB, free: 26.59 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03557/1.335, allocations: 12.61 MB / 0.791 GB, free: 14 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.774e-05/1.335, allocations: 9.406 kB / 0.791 GB, free: 13.99 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01595/1.351, allocations: 5.274 MB / 0.7962 GB, free: 8.711 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001361/1.352, allocations: 307.4 kB / 0.7965 GB, free: 8.41 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03731/1.389, allocations: 16.83 MB / 0.8129 GB, free: 7.328 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003209/1.393, allocations: 466 kB / 0.8134 GB, free: 6.871 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000296/1.393, allocations: 79.98 kB / 0.8134 GB, free: 6.793 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 Syn2.e2d:VARIABLE(start = Syn2.e2d0 unit = "1" ) "d-axis sub-transient voltage" type: Real Syn2.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order3_2.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order2.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 (189): * Single equations (assignments): 187 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 1 {65 26} Notification: Performance of prepare postOptimizeDAE: time 0.0005356/1.394, allocations: 143.5 kB / 0.8136 GB, free: 6.648 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000708/1.394, allocations: 276.6 kB / 0.8138 GB, free: 6.375 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03769/1.432, allocations: 13 MB / 0.8265 GB, free: 9.387 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.959e-05/1.432, allocations: 24 kB / 0.8265 GB, free: 9.363 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.196e-05/1.432, allocations: 20 kB / 0.8266 GB, free: 9.344 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.22e-05/1.432, allocations: 15.86 kB / 0.8266 GB, free: 9.328 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.042/1.474, allocations: 16.22 MB / 0.8424 GB, free: 9.078 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.446e-06/1.474, allocations: 4 kB / 0.8424 GB, free: 9.074 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001483/1.476, allocations: 247.8 kB / 0.8427 GB, free: 8.832 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01502/1.491, allocations: 4.994 MB / 0.8475 GB, free: 3.832 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002832/1.491, allocations: 12 kB / 0.8475 GB, free: 3.82 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03307/1.524, allocations: 13.7 MB / 0.8609 GB, free: 5.996 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.342e-06/1.524, allocations: 7.938 kB / 0.8609 GB, free: 5.988 MB / 0.5417 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.04036/1.564, allocations: 14.97 MB / 0.8756 GB, free: 6.988 MB / 0.5573 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.1789/1.743, allocations: 17.32 MB / 0.8925 GB, free: 192.3 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006151/1.744, allocations: 377.9 kB / 0.8928 GB, free: 192.2 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004756/1.744, allocations: 10.47 kB / 0.8928 GB, free: 192.2 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002695/1.747, allocations: 368.7 kB / 0.8932 GB, free: 192.2 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007644/1.748, allocations: 313.8 kB / 0.8935 GB, free: 192.2 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002214/1.748, allocations: 63.67 kB / 0.8935 GB, free: 192.2 MB / 0.5573 GB Notification: Performance of sort global known variables: time 0.001199/1.749, allocations: 1.148 MB / 0.8947 GB, free: 192.1 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.004214/1.754, allocations: 1.559 MB / 0.8962 GB, free: 192.1 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 17 (order3_2.delta,order3_2.w,order3_2.e1q,order2.delta,order2.w,Syn2.delta,Syn2.w,Syn2.e1q,Syn2.e1d,Syn2.e2q,Syn2.e2d,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 (149): * Single equations (assignments): 148 * 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.0003328/1.754, allocations: 153.9 kB / 0.8963 GB, free: 192 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.02324/1.777, allocations: 9.427 MB / 0.9055 GB, free: 191.3 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/1.777, allocations: 0 / 0.9055 GB, free: 191.3 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.01011/1.787, allocations: 3.842 MB / 0.9093 GB, free: 191.1 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001123/1.788, allocations: 160.4 kB / 0.9094 GB, free: 191.1 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009131/1.798, allocations: 4.295 MB / 0.9136 GB, free: 190.1 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001368/1.799, allocations: 1.889 MB / 0.9155 GB, free: 189.3 MB / 0.5573 GB Notification: Performance of SimCode: time 5.71e-07/1.799, allocations: 3.719 kB / 0.9155 GB, free: 189.3 MB / 0.5573 GB (rm -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRIII.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRIII.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRIII.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRIII.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_release_OpenIPSL_Examples_PSATSystems_ThreeArea_SixthOrder_AVRIII_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_release_OpenIPSL_Examples_PSATSystems_ThreeArea_SixthOrder_AVRIII.fmu > OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRIII.pipe 2>&1)