Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.ESST1A.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.Tests.Controls.PSSE.ES.ESST1A,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_ESST1A",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.ES.ESST1A,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_ESST1A",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.004459/0.004459, allocations: 179 kB / 7.46 MB, free: 2.512 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.389/1.389, allocations: 221.4 MB / 229.3 MB, free: 3.02 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.0009618/0.0009618, allocations: 103.8 kB / 280.1 MB, free: 1.324 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4672/0.4672, allocations: 78.92 MB / 409.8 MB, free: 14.96 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1666/0.6338, allocations: 75.65 MB / 485.5 MB, free: 3.555 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4014/1.035, allocations: 69.5 MB / 0.542 GB, free: 20.81 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1507/1.186, allocations: 113.6 MB / 0.6529 GB, free: 6.43 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002549/1.186, allocations: 91.92 kB / 0.6529 GB, free: 6.34 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 293 * Number of variables: 293 Notification: Performance of Generate backend data structure: time 0.4292/1.616, allocations: 47.64 MB / 0.6995 GB, free: 104 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.778e-05/1.616, allocations: 8.625 kB / 0.6995 GB, free: 104 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004248/1.62, allocations: 0.6055 MB / 0.7001 GB, free: 103.9 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00435/1.624, allocations: 1.181 MB / 0.7012 GB, free: 103.1 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006542/1.625, allocations: 466.8 kB / 0.7017 GB, free: 102.7 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006351/1.626, allocations: 73.75 kB / 0.7017 GB, free: 102.7 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004232/1.63, allocations: 1.245 MB / 0.703 GB, free: 102.2 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003092/1.633, allocations: 1.26 MB / 0.7042 GB, free: 101.7 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.071e-05/1.633, allocations: 4.781 kB / 0.7042 GB, free: 101.7 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001454/1.633, allocations: 1.156 kB / 0.7042 GB, free: 101.7 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.581e-05/1.633, allocations: 30.09 kB / 0.7042 GB, free: 101.7 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01278/1.646, allocations: 5.338 MB / 0.7094 GB, free: 98.06 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002212/1.648, allocations: 1.276 MB / 0.7107 GB, free: 97.44 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001155/1.649, allocations: 0.7635 MB / 0.7114 GB, free: 97.05 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001526/1.65, allocations: 29.56 kB / 0.7114 GB, free: 97.04 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001464/1.651, allocations: 0.9209 MB / 0.7123 GB, free: 96.47 MB / 490.7 MB Notification: Performance of pre-optimization done (n=143): time 3.517e-06/1.651, allocations: 1.594 kB / 0.7123 GB, free: 96.47 MB / 490.7 MB Notification: Performance of matching and sorting (n=143): time 0.01621/1.667, allocations: 5.517 MB / 0.7177 GB, free: 91.38 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.803e-05/1.667, allocations: 175.5 kB / 0.7179 GB, free: 91.17 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002118/1.67, allocations: 1.204 MB / 0.7191 GB, free: 89.96 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005152/1.67, allocations: 25.7 kB / 0.7191 GB, free: 89.93 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002332/1.67, allocations: 455.8 kB / 0.7195 GB, free: 89.48 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006494/1.671, allocations: 488.6 kB / 0.72 GB, free: 88.99 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001008/1.671, allocations: 0 / 0.72 GB, free: 88.99 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001229/1.671, allocations: 365.9 kB / 0.7204 GB, free: 88.63 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001093/1.672, allocations: 0.6445 MB / 0.721 GB, free: 87.98 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001055/1.673, allocations: 0.8364 MB / 0.7218 GB, free: 87.1 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001205/1.675, allocations: 0.7282 MB / 0.7225 GB, free: 86.38 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.521e-06/1.675, allocations: 0 / 0.7225 GB, free: 86.38 MB / 490.7 MB Notification: Performance of matching and sorting (n=191) (initialization): time 0.003916/1.679, allocations: 2.338 MB / 0.7248 GB, free: 84.02 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002299/1.679, allocations: 1.358 MB / 0.7261 GB, free: 82.55 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.056e-05/1.679, allocations: 4 kB / 0.7261 GB, free: 82.55 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008524/1.687, allocations: 2.784 MB / 0.7288 GB, free: 79.76 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009455/1.688, allocations: 183.7 kB / 0.729 GB, free: 79.58 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006169/1.694, allocations: 3.286 MB / 0.7322 GB, free: 76.27 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002748/1.697, allocations: 286.6 kB / 0.7325 GB, free: 75.98 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001884/1.697, allocations: 55.98 kB / 0.7326 GB, free: 75.93 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.216e-05/1.698, allocations: 5.719 kB / 0.7326 GB, free: 75.93 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003425/1.701, allocations: 2.081 MB / 0.7346 GB, free: 73.85 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.26e-05/1.701, allocations: 4 kB / 0.7346 GB, free: 73.84 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008291/1.709, allocations: 2.714 MB / 0.7372 GB, free: 71.13 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001038/1.71, allocations: 191.7 kB / 0.7374 GB, free: 70.94 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005792/1.716, allocations: 3.077 MB / 0.7404 GB, free: 67.84 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002768/1.719, allocations: 258.8 kB / 0.7407 GB, free: 67.58 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001728/1.719, allocations: 55.97 kB / 0.7407 GB, free: 67.53 MB / 490.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: eSST1A.VA0:VARIABLE(fixed = false protected = true ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (97): * Single equations (assignments): 96 * 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 {34 61} Notification: Performance of prepare postOptimizeDAE: time 0.0004202/1.72, allocations: 124.6 kB / 0.7409 GB, free: 67.4 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004028/1.72, allocations: 185.8 kB / 0.741 GB, free: 67.21 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01649/1.736, allocations: 5.705 MB / 0.7466 GB, free: 61.5 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.229e-05/1.737, allocations: 20 kB / 0.7466 GB, free: 61.48 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.225e-05/1.737, allocations: 0 / 0.7466 GB, free: 61.48 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.598e-05/1.737, allocations: 11.97 kB / 0.7466 GB, free: 61.47 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01923/1.756, allocations: 7.723 MB / 0.7542 GB, free: 53.7 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.609e-05/1.756, allocations: 4.031 kB / 0.7542 GB, free: 53.7 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001319/1.757, allocations: 167.7 kB / 0.7543 GB, free: 53.53 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006718/1.764, allocations: 2.221 MB / 0.7565 GB, free: 51.3 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003245/1.764, allocations: 15.98 kB / 0.7565 GB, free: 51.29 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01924/1.784, allocations: 9.302 MB / 0.7656 GB, free: 41.76 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.218e-06/1.784, allocations: 0 / 0.7656 GB, free: 41.76 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01791/1.802, allocations: 6.746 MB / 0.7722 GB, free: 34.99 MB / 490.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01976/1.821, allocations: 8.165 MB / 0.7802 GB, free: 26.8 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001114/1.823, allocations: 302.5 kB / 0.7805 GB, free: 26.48 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003551/1.823, allocations: 4.281 kB / 0.7805 GB, free: 26.48 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002075/1.825, allocations: 219.8 kB / 0.7807 GB, free: 26.26 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000435/1.825, allocations: 168.9 kB / 0.7808 GB, free: 26.1 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001264/1.826, allocations: 39.92 kB / 0.7809 GB, free: 26.06 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.001188/1.827, allocations: 0.9156 MB / 0.7818 GB, free: 25.15 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.003202/1.83, allocations: 0.7991 MB / 0.7825 GB, free: 24.35 MB / 490.7 MB 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,eSST1A.imDerivativeLag.x,eSST1A.imLeadLag.TF.x_scaled[1],eSST1A.imLeadLag1.TF.x_scaled[1],eSST1A.simpleLagLim.state,eSST1A.TransducerDelay.state) * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (91): * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 9,26 23} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004099/1.83, allocations: 166.7 kB / 0.7827 GB, free: 24.18 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01374/1.844, allocations: 4.601 MB / 0.7872 GB, free: 19.57 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 8.206e-06/1.844, allocations: 0 / 0.7872 GB, free: 19.57 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005932/1.85, allocations: 2.025 MB / 0.7892 GB, free: 17.52 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001434/1.852, allocations: 129.6 kB / 0.7893 GB, free: 17.39 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006676/1.858, allocations: 2.836 MB / 0.7921 GB, free: 14.52 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001041/1.859, allocations: 1.492 MB / 0.7935 GB, free: 12.99 MB / 490.7 MB Notification: Performance of SimCode: time 8.01e-07/1.859, allocations: 4 kB / 0.7935 GB, free: 12.99 MB / 490.7 MB (rm -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.ESST1A.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.ESST1A.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.ESST1A.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.ESST1A.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_ESST1A_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_ESST1A.fmu > OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.ESST1A.pipe 2>&1)