Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.ESDC1A.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.ESDC1A,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_ES_ESDC1A",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.ES.ESDC1A,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_ES_ESDC1A",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.003576/0.003576, allocations: 179.8 kB / 7.458 MB, free: 2.5 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.306/1.306, allocations: 205.2 MB / 213.1 MB, free: 13.84 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.0008704/0.0008705, allocations: 93.59 kB / 261.1 MB, free: 13.6 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.07339/0.07339, allocations: 12.19 MB / 321.2 MB, free: 1.344 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.3698/0.3698, allocations: 78.05 MB / 449.9 MB, free: 3.637 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2929/0.6627, allocations: 76.1 MB / 0.5137 GB, free: 30.29 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1311/0.7939, allocations: 69.23 MB / 0.5813 GB, free: 9.133 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3897/1.184, allocations: 114.3 MB / 0.6929 GB, free: 10.78 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003313/1.184, allocations: 83.7 kB / 0.693 GB, free: 10.74 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: 263 * Number of variables: 263 Notification: Performance of Generate backend data structure: time 0.1407/1.325, allocations: 47.96 MB / 0.7398 GB, free: 3.121 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.877e-05/1.325, allocations: 15.94 kB / 0.7398 GB, free: 3.105 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004127/1.329, allocations: 0.5952 MB / 0.7404 GB, free: 2.551 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003226/1.332, allocations: 1.115 MB / 0.7415 GB, free: 1.66 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005895/1.333, allocations: 430 kB / 0.7419 GB, free: 1.168 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004728/1.333, allocations: 67.59 kB / 0.742 GB, free: 1.105 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002728/1.336, allocations: 1.125 MB / 0.7431 GB, free: 436 kB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002851/1.339, allocations: 1.153 MB / 0.7442 GB, free: 15.6 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.061e-05/1.339, allocations: 3.938 kB / 0.7442 GB, free: 15.6 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001559/1.339, allocations: 0 / 0.7442 GB, free: 15.6 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.711e-05/1.339, allocations: 28 kB / 0.7442 GB, free: 15.57 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01136/1.351, allocations: 5.231 MB / 0.7494 GB, free: 11.45 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002264/1.353, allocations: 1.147 MB / 0.7505 GB, free: 10.38 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001258/1.354, allocations: 0.721 MB / 0.7512 GB, free: 9.648 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006682/1.355, allocations: 0.7375 MB / 0.7519 GB, free: 8.746 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001535/1.356, allocations: 0.8773 MB / 0.7528 GB, free: 7.844 MB / 490.7 MB Notification: Performance of pre-optimization done (n=133): time 4.979e-06/1.356, allocations: 0 / 0.7528 GB, free: 7.844 MB / 490.7 MB Notification: Performance of matching and sorting (n=133): time 0.01668/1.373, allocations: 5.205 MB / 0.7578 GB, free: 2.621 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.391e-05/1.373, allocations: 124.1 kB / 0.758 GB, free: 2.473 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002236/1.375, allocations: 1.143 MB / 0.7591 GB, free: 1.324 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000371/1.376, allocations: 25.7 kB / 0.7591 GB, free: 1.293 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003017/1.376, allocations: 415.4 kB / 0.7595 GB, free: 0.8789 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007786/1.377, allocations: 461.1 kB / 0.7599 GB, free: 432 kB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001357/1.377, allocations: 4 kB / 0.7599 GB, free: 428 kB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001635/1.377, allocations: 365.8 kB / 0.7603 GB, free: 56 kB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001208/1.378, allocations: 0.6133 MB / 0.7609 GB, free: 15.44 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001295/1.38, allocations: 0.7896 MB / 0.7617 GB, free: 14.6 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001525/1.381, allocations: 0.7126 MB / 0.7624 GB, free: 13.89 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.461e-06/1.381, allocations: 0 / 0.7624 GB, free: 13.89 MB / 0.4948 GB Notification: Performance of matching and sorting (n=185) (initialization): time 0.004334/1.386, allocations: 2.146 MB / 0.7644 GB, free: 11.73 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.706e-05/1.386, allocations: 16 kB / 0.7645 GB, free: 11.72 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.552e-05/1.386, allocations: 7.984 kB / 0.7645 GB, free: 11.71 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008688/1.394, allocations: 2.361 MB / 0.7668 GB, free: 9.344 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001397/1.396, allocations: 239.6 kB / 0.767 GB, free: 9.109 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005758/1.402, allocations: 2.528 MB / 0.7695 GB, free: 6.555 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002495/1.404, allocations: 254.7 kB / 0.7697 GB, free: 6.305 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002646/1.404, allocations: 55.98 kB / 0.7698 GB, free: 6.25 MB / 0.4948 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,eSDC1A.rotatingExciterLimited.sISO.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (128): * Single equations (assignments): 126 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 {30 26} Notification: Performance of prepare postOptimizeDAE: time 0.0004034/1.405, allocations: 132.7 kB / 0.7699 GB, free: 6.113 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005599/1.405, allocations: 173.8 kB / 0.7701 GB, free: 5.941 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0166/1.422, allocations: 5.339 MB / 0.7753 GB, free: 0.582 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.934e-05/1.422, allocations: 12 kB / 0.7753 GB, free: 0.5703 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.438e-06/1.422, allocations: 0 / 0.7753 GB, free: 0.5703 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.246e-05/1.422, allocations: 15.97 kB / 0.7753 GB, free: 0.5547 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02197/1.444, allocations: 7.317 MB / 0.7824 GB, free: 9.148 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.38e-05/1.444, allocations: 0 / 0.7824 GB, free: 9.148 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001475/1.446, allocations: 171.8 kB / 0.7826 GB, free: 8.98 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007324/1.453, allocations: 2.076 MB / 0.7846 GB, free: 6.902 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003527/1.453, allocations: 8 kB / 0.7846 GB, free: 6.895 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01882/1.472, allocations: 7.16 MB / 0.7916 GB, free: 15.61 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.48e-06/1.472, allocations: 3.906 kB / 0.7916 GB, free: 15.6 MB / 0.5261 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01911/1.491, allocations: 6.419 MB / 0.7979 GB, free: 9.137 MB / 0.5261 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.02211/1.514, allocations: 7.778 MB / 0.8055 GB, free: 1.309 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001271/1.515, allocations: 286.6 kB / 0.8058 GB, free: 1.008 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003641/1.515, allocations: 4 kB / 0.8058 GB, free: 1.004 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002029/1.517, allocations: 195.7 kB / 0.806 GB, free: 0.8125 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004577/1.518, allocations: 165 kB / 0.8061 GB, free: 0.6523 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001327/1.518, allocations: 39.98 kB / 0.8062 GB, free: 0.6133 MB / 0.5261 GB Notification: Performance of sort global known variables: time 0.001606/1.52, allocations: 0.8671 MB / 0.807 GB, free: 15.75 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.002452/1.522, allocations: 0.503 MB / 0.8075 GB, free: 15.25 MB / 0.5417 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,eSDC1A.imDerivativeLag.x,eSDC1A.imLeadLag.TF.x_scaled[1],eSDC1A.simpleLagLim.state,eSDC1A.rotatingExciterLimited.sISO.y,eSDC1A.TransducerDelay.state) * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (90): * Single equations (assignments): 89 * 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.0006139/1.523, allocations: 175 kB / 0.8077 GB, free: 15.07 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.008014/1.531, allocations: 2.504 MB / 0.8101 GB, free: 12.56 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 6.673e-06/1.531, allocations: 0 / 0.8101 GB, free: 12.56 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.007069/1.538, allocations: 1.871 MB / 0.8119 GB, free: 10.67 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001522/1.539, allocations: 113.4 kB / 0.8121 GB, free: 10.56 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007936/1.547, allocations: 2.636 MB / 0.8146 GB, free: 7.867 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001661/1.549, allocations: 1.446 MB / 0.816 GB, free: 6.391 MB / 0.5417 GB Notification: Performance of SimCode: time 1.433e-06/1.549, allocations: 0 / 0.816 GB, free: 6.391 MB / 0.5417 GB (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.ESDC1A.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.ESDC1A.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.ESDC1A.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.ESDC1A.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_ES_ESDC1A_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_ES_ESDC1A.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.ESDC1A.pipe 2>&1)