Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRI.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.TwoArea.FifthOrder_AVRI,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_PSATSystems_TwoArea_FifthOrder_AVRI",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRI,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_PSATSystems_TwoArea_FifthOrder_AVRI",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.003387/0.003387, 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.264/1.264, allocations: 221.4 MB / 229.3 MB, free: 3.07 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.0009891/0.000989, allocations: 104 kB / 280.1 MB, free: 1.238 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4272/0.4272, allocations: 78.06 MB / 409 MB, free: 15.54 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1575/0.5847, allocations: 75.48 MB / 484.4 MB, free: 4.348 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3538/0.9385, allocations: 69.35 MB / 0.5408 GB, free: 21.42 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1251/1.064, allocations: 101.4 MB / 0.6398 GB, free: 3.477 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002741/1.064, allocations: 79.95 kB / 0.6399 GB, free: 3.398 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: 891 * Number of variables: 891 Notification: Performance of Generate backend data structure: time 0.5126/1.577, allocations: 104.2 MB / 0.7417 GB, free: 66.25 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/1.577, allocations: 8 kB / 0.7417 GB, free: 66.24 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01886/1.595, allocations: 2.924 MB / 0.7446 GB, free: 63.3 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006689/1.602, allocations: 2.298 MB / 0.7468 GB, free: 60.93 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009523/1.603, allocations: 0.8462 MB / 0.7476 GB, free: 59.95 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001743/1.605, allocations: 208 kB / 0.7478 GB, free: 59.75 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.008386/1.613, allocations: 3.447 MB / 0.7512 GB, free: 56.3 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01014/1.624, allocations: 3.598 MB / 0.7547 GB, free: 52.67 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001124/1.624, allocations: 4 kB / 0.7547 GB, free: 52.66 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008709/1.625, allocations: 7.922 kB / 0.7547 GB, free: 52.66 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.942e-05/1.625, allocations: 84 kB / 0.7548 GB, free: 52.57 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03943/1.664, allocations: 18.65 MB / 0.773 GB, free: 32.88 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00428/1.668, allocations: 2.263 MB / 0.7752 GB, free: 30.6 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004005/1.672, allocations: 2.116 MB / 0.7773 GB, free: 28.48 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006733/1.673, allocations: 78.89 kB / 0.7774 GB, free: 28.4 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.098e-05/1.673, allocations: 69.55 kB / 0.7774 GB, free: 28.32 MB / 490.7 MB Notification: Performance of pre-optimization done (n=381): time 6.502e-06/1.673, allocations: 0 / 0.7774 GB, free: 28.32 MB / 490.7 MB Notification: Performance of matching and sorting (n=381): time 0.05552/1.729, allocations: 18.26 MB / 0.7953 GB, free: 10.01 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.469e-05/1.729, allocations: 179.3 kB / 0.7954 GB, free: 9.801 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003738/1.733, allocations: 2.46 MB / 0.7978 GB, free: 7.328 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001064/1.734, allocations: 29.7 kB / 0.7979 GB, free: 7.293 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000574/1.734, allocations: 1.182 MB / 0.799 GB, free: 6.094 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002616/1.737, allocations: 1.247 MB / 0.8002 GB, free: 4.828 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003804/1.737, allocations: 4 kB / 0.8002 GB, free: 4.824 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001685/1.737, allocations: 445.5 kB / 0.8007 GB, free: 4.383 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002795/1.74, allocations: 1.765 MB / 0.8024 GB, free: 2.617 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002955/1.743, allocations: 2.318 MB / 0.8047 GB, free: 104 kB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003619/1.747, allocations: 1.975 MB / 0.8066 GB, free: 14.11 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.584e-05/1.747, allocations: 4 kB / 0.8066 GB, free: 14.11 MB / 0.4948 GB Notification: Performance of matching and sorting (n=461) (initialization): time 0.06662/1.814, allocations: 18.35 MB / 0.8245 GB, free: 11.71 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.002907/1.816, allocations: 6.607 MB / 0.831 GB, free: 4.594 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.755e-05/1.817, allocations: 16 kB / 0.831 GB, free: 4.578 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02607/1.843, allocations: 7.113 MB / 0.8379 GB, free: 13.46 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003575/1.846, allocations: 0.5616 MB / 0.8385 GB, free: 12.9 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06009/1.906, allocations: 21.97 MB / 0.8599 GB, free: 6.773 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006651/1.913, allocations: 0.6606 MB / 0.8606 GB, free: 6.109 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005879/1.914, allocations: 132 kB / 0.8607 GB, free: 5.98 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.035e-05/1.914, allocations: 4 kB / 0.8607 GB, free: 5.977 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.05688/1.971, allocations: 17.87 MB / 0.8781 GB, free: 4.07 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.958e-05/1.971, allocations: 15.98 kB / 0.8782 GB, free: 4.055 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02509/1.996, allocations: 7.105 MB / 0.8851 GB, free: 12.95 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003475/1.999, allocations: 0.5539 MB / 0.8856 GB, free: 12.39 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2626/2.262, allocations: 21.97 MB / 0.9071 GB, free: 173.5 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006355/2.268, allocations: 0.6327 MB / 0.9077 GB, free: 173.5 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008217/2.269, allocations: 129.9 kB / 0.9078 GB, free: 173.5 MB / 0.573 GB Warning: Assuming fixed start value for the following 5 variables: order5.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order3.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order5.e2d:VARIABLE(start = order5.e2d0 unit = "1" ) "d-axis sub-transient voltage" type: Real order5.e2q:VARIABLE(start = order5.e2q0 unit = "1" ) "q-axis sub-transient voltage" type: Real order5.e1q:VARIABLE(start = order5.e1q0 unit = "1" ) "q-axis transient voltage" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 65 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (327): * Single equations (assignments): 324 * Array equations: 0 * Algorithm blocks: 2 * 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 {92 43} Notification: Performance of prepare postOptimizeDAE: time 0.001022/2.27, allocations: 204.3 kB / 0.908 GB, free: 173.4 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001825/2.272, allocations: 459.5 kB / 0.9085 GB, free: 173.2 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05405/2.326, allocations: 18.68 MB / 0.9267 GB, free: 172.9 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.63e-05/2.326, allocations: 39.25 kB / 0.9268 GB, free: 172.9 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.296e-05/2.326, allocations: 27.66 kB / 0.9268 GB, free: 172.9 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001274/2.326, allocations: 24.78 kB / 0.9268 GB, free: 172.9 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06693/2.393, allocations: 23.61 MB / 0.9499 GB, free: 172.1 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.993e-05/2.393, allocations: 0 / 0.9499 GB, free: 172.1 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003143/2.397, allocations: 407.8 kB / 0.9502 GB, free: 172.1 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02566/2.422, allocations: 7.159 MB / 0.9572 GB, free: 171.8 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001091/2.423, allocations: 20.27 kB / 0.9573 GB, free: 171.8 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05166/2.475, allocations: 20.14 MB / 0.9769 GB, free: 165.7 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.622e-06/2.475, allocations: 0 / 0.9769 GB, free: 165.7 MB / 0.573 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.05924/2.534, allocations: 21.62 MB / 0.998 GB, free: 152.9 MB / 0.573 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0623/2.597, allocations: 25.12 MB / 1.023 GB, free: 131.5 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001579/2.598, allocations: 0.5562 MB / 1.023 GB, free: 131 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001131/2.599, allocations: 1.641 kB / 1.023 GB, free: 131 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004637/2.604, allocations: 483.6 kB / 1.024 GB, free: 130.6 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001306/2.605, allocations: 447.5 kB / 1.024 GB, free: 130.4 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003516/2.606, allocations: 93.83 kB / 1.024 GB, free: 130.3 MB / 0.573 GB Notification: Performance of sort global known variables: time 0.002632/2.608, allocations: 1.831 MB / 1.026 GB, free: 128.6 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.009004/2.617, allocations: 2.591 MB / 1.028 GB, free: 126.2 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 12 (order3.delta,order3.w,order3.e1q,order5.delta,order5.w,order5.e1q,order5.e2q,order5.e2d,aVRTypeI.firstOrder.y,aVRTypeI.firstOrder2.y,aVRTypeI.transferFunction.x_scaled[1],aVRTypeI.transferFunction.x_scaled[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (251): * Single equations (assignments): 249 * Array equations: 0 * Algorithm blocks: 1 * 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 {(96,5.5%) 40} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005885/2.618, allocations: 162.9 kB / 1.029 GB, free: 126 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.04067/2.659, allocations: 13.9 MB / 1.042 GB, free: 113.5 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 1.037e-05/2.659, allocations: 0 / 1.042 GB, free: 113.5 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.01821/2.677, allocations: 5.774 MB / 1.048 GB, free: 108.5 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004707/2.682, allocations: 247.1 kB / 1.048 GB, free: 108.2 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0245/2.706, allocations: 6.348 MB / 1.054 GB, free: 102.5 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002566/2.709, allocations: 2.7 MB / 1.057 GB, free: 100.4 MB / 0.573 GB Notification: Performance of SimCode: time 9.72e-07/2.709, allocations: 0 / 1.057 GB, free: 100.4 MB / 0.573 GB (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRI.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRI.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRI.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Examples_PSATSystems_TwoArea_FifthOrder_AVRI_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Examples_PSATSystems_TwoArea_FifthOrder_AVRI.fmu > OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRI.pipe 2>&1)