Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.ESAC1A.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.Tests.Controls.PSSE.ES.ESAC1A,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_ES_ESAC1A",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.ES.ESAC1A,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_ES_ESAC1A",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.003114/0.003114, allocations: 181.2 kB / 7.458 MB, free: 2.242 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.314/1.314, allocations: 205.2 MB / 213.1 MB, free: 13.91 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.0009138/0.0009138, allocations: 97.33 kB / 261.1 MB, free: 13.54 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.06667/0.06667, allocations: 12.2 MB / 321.2 MB, free: 1.293 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.288/0.288, allocations: 78.05 MB / 449.9 MB, free: 3.656 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2917/0.5797, allocations: 76.1 MB / 0.5137 GB, free: 30.31 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1452/0.7249, allocations: 69.23 MB / 0.5813 GB, free: 9.172 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4289/1.154, allocations: 117 MB / 0.6956 GB, free: 8.16 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002911/1.154, allocations: 89.81 kB / 0.6956 GB, free: 8.109 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 283 * Number of variables: 283 Notification: Performance of Generate backend data structure: time 0.1458/1.3, allocations: 49.83 MB / 0.7443 GB, free: 14.89 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.834e-05/1.3, allocations: 11.94 kB / 0.7443 GB, free: 14.88 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004042/1.304, allocations: 0.6073 MB / 0.7449 GB, free: 14.32 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002867/1.307, allocations: 1.161 MB / 0.746 GB, free: 13.4 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005802/1.308, allocations: 463.9 kB / 0.7465 GB, free: 12.87 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002147/1.308, allocations: 79.52 kB / 0.7466 GB, free: 12.79 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002341/1.31, allocations: 1.189 MB / 0.7477 GB, free: 12.08 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00216/1.312, allocations: 1.224 MB / 0.7489 GB, free: 11.21 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.637e-05/1.312, allocations: 0 / 0.7489 GB, free: 11.21 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001243/1.313, allocations: 0 / 0.7489 GB, free: 11.21 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.638e-05/1.313, allocations: 28 kB / 0.7489 GB, free: 11.18 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01067/1.323, allocations: 5.419 MB / 0.7542 GB, free: 6.609 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002168/1.325, allocations: 1.205 MB / 0.7554 GB, free: 5.371 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001184/1.327, allocations: 0.7407 MB / 0.7561 GB, free: 4.625 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006618/1.327, allocations: 0.7413 MB / 0.7569 GB, free: 3.719 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001513/1.329, allocations: 0.8969 MB / 0.7577 GB, free: 2.797 MB / 490.7 MB Notification: Performance of pre-optimization done (n=139): time 3.547e-06/1.329, allocations: 0 / 0.7577 GB, free: 2.797 MB / 490.7 MB Notification: Performance of matching and sorting (n=139): time 0.0173/1.346, allocations: 5.322 MB / 0.7629 GB, free: 13.45 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001025/1.346, allocations: 153.9 kB / 0.7631 GB, free: 13.27 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002299/1.349, allocations: 1.16 MB / 0.7642 GB, free: 12.11 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0003832/1.349, allocations: 29.69 kB / 0.7642 GB, free: 12.07 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003269/1.349, allocations: 431.7 kB / 0.7647 GB, free: 11.64 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007209/1.35, allocations: 480.8 kB / 0.7651 GB, free: 11.17 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001024/1.35, allocations: 0 / 0.7651 GB, free: 11.17 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001639/1.35, allocations: 361.8 kB / 0.7655 GB, free: 10.81 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001202/1.352, allocations: 0.6406 MB / 0.7661 GB, free: 10.17 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001305/1.353, allocations: 0.8293 MB / 0.7669 GB, free: 9.281 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001597/1.354, allocations: 0.7165 MB / 0.7676 GB, free: 8.566 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.002e-06/1.354, allocations: 0 / 0.7676 GB, free: 8.566 MB / 0.4948 GB Notification: Performance of matching and sorting (n=188) (initialization): time 0.005223/1.36, allocations: 2.291 MB / 0.7698 GB, free: 6.258 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006722/1.36, allocations: 1.538 MB / 0.7713 GB, free: 4.59 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.585e-05/1.36, allocations: 7.984 kB / 0.7713 GB, free: 4.582 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008939/1.369, allocations: 2.459 MB / 0.7737 GB, free: 2.117 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001404/1.371, allocations: 239.7 kB / 0.774 GB, free: 1.883 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006293/1.377, allocations: 3.183 MB / 0.7771 GB, free: 14.65 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002784/1.38, allocations: 278.6 kB / 0.7773 GB, free: 14.38 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002543/1.38, allocations: 55.92 kB / 0.7774 GB, free: 14.32 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.133e-05/1.38, allocations: 4 kB / 0.7774 GB, free: 14.32 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004685/1.385, allocations: 2.081 MB / 0.7794 GB, free: 12.23 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.156e-05/1.385, allocations: 4 kB / 0.7794 GB, free: 12.23 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008823/1.394, allocations: 2.475 MB / 0.7819 GB, free: 9.746 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001353/1.395, allocations: 227.7 kB / 0.7821 GB, free: 9.523 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006224/1.401, allocations: 3.193 MB / 0.7852 GB, free: 6.27 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002961/1.404, allocations: 254.7 kB / 0.7854 GB, free: 6.02 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002297/1.405, allocations: 59.98 kB / 0.7855 GB, free: 5.961 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$whenCondition2,eSAC1A.rotatingExciterWithDemagnetization.sISO.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (123): * Single equations (assignments): 121 * 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: 0 * Non-linear torn systems: 2 {30 26,1 10} Notification: Performance of prepare postOptimizeDAE: time 0.0004385/1.405, allocations: 125.3 kB / 0.7856 GB, free: 5.832 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004773/1.406, allocations: 177.8 kB / 0.7858 GB, free: 5.656 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01725/1.423, allocations: 5.382 MB / 0.791 GB, free: 260 kB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.244e-05/1.423, allocations: 12 kB / 0.791 GB, free: 248 kB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.377e-06/1.423, allocations: 8 kB / 0.7911 GB, free: 240 kB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.285e-05/1.423, allocations: 7.969 kB / 0.7911 GB, free: 232 kB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02129/1.444, allocations: 7.396 MB / 0.7983 GB, free: 8.734 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.428e-05/1.444, allocations: 0 / 0.7983 GB, free: 8.734 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001771/1.446, allocations: 191.7 kB / 0.7985 GB, free: 8.547 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007427/1.454, allocations: 2.064 MB / 0.8005 GB, free: 6.477 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003783/1.454, allocations: 16 kB / 0.8005 GB, free: 6.461 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01927/1.473, allocations: 7.176 MB / 0.8075 GB, free: 15.16 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.941e-06/1.473, allocations: 3.938 kB / 0.8075 GB, free: 15.15 MB / 0.5417 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.02061/1.494, allocations: 6.493 MB / 0.8139 GB, free: 8.617 MB / 0.5417 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.02216/1.516, allocations: 7.894 MB / 0.8216 GB, free: 0.6758 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001068/1.517, allocations: 290.5 kB / 0.8218 GB, free: 380 kB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003804/1.518, allocations: 7.906 kB / 0.8218 GB, free: 372 kB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002068/1.52, allocations: 195.8 kB / 0.822 GB, free: 176 kB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005507/1.52, allocations: 185 kB / 0.8222 GB, free: 15.99 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001312/1.521, allocations: 35.94 kB / 0.8222 GB, free: 15.96 MB / 0.5573 GB Notification: Performance of sort global known variables: time 0.001392/1.522, allocations: 0.8797 MB / 0.8231 GB, free: 15.08 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.003529/1.525, allocations: 0.803 MB / 0.8239 GB, free: 14.28 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 14 (gENCLS.omega,gENCLS.delta,gENCLS.eq,gENROE.w,gENROE.delta,gENROE.Epd,gENROE.Epq,gENROE.PSIkd,gENROE.PSIkq,eSAC1A.imLeadLag.TF.x_scaled[1],eSAC1A.imSimpleLag.state,eSAC1A.simpleLagLim.state,eSAC1A.derivative.x,eSAC1A.rotatingExciterWithDemagnetization.sISO.y) * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (96): * Single equations (assignments): 95 * 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 {26 23} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004481/1.526, allocations: 178.8 kB / 0.8241 GB, free: 14.09 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.01479/1.541, allocations: 4.472 MB / 0.8284 GB, free: 9.625 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 6.232e-06/1.541, allocations: 0 / 0.8284 GB, free: 9.625 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.006494/1.547, allocations: 1.914 MB / 0.8303 GB, free: 7.703 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001522/1.549, allocations: 121.5 kB / 0.8304 GB, free: 7.582 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007372/1.556, allocations: 2.807 MB / 0.8332 GB, free: 4.719 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001434/1.558, allocations: 1.48 MB / 0.8346 GB, free: 3.207 MB / 0.5573 GB Notification: Performance of SimCode: time 9.22e-07/1.558, allocations: 0 / 0.8346 GB, free: 3.207 MB / 0.5573 GB (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.ESAC1A.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.ESAC1A.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.ESAC1A.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.ESAC1A.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_ES_ESAC1A_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_ES_ESAC1A.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.ESAC1A.pipe 2>&1)