Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.PSS.PSS2B.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.PSS.PSS2B,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_PSS_PSS2B",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.PSS.PSS2B,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_PSS_PSS2B",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.002444/0.002444, allocations: 185.6 kB / 7.459 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.292/1.292, allocations: 221.4 MB / 229.3 MB, free: 3.016 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.001072/0.001072, allocations: 92.3 kB / 280.1 MB, free: 1.262 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4885/0.4885, allocations: 78.92 MB / 409.8 MB, free: 14.97 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1759/0.6644, allocations: 75.65 MB / 485.5 MB, free: 3.551 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4107/1.075, allocations: 69.5 MB / 0.542 GB, free: 20.9 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1473/1.222, allocations: 115.4 MB / 0.6547 GB, free: 4.461 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002659/1.223, allocations: 91.94 kB / 0.6548 GB, free: 4.371 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: 375 * Number of variables: 375 Notification: Performance of Generate backend data structure: time 0.5373/1.76, allocations: 68.55 MB / 0.7217 GB, free: 88.33 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.912e-05/1.76, allocations: 8 kB / 0.7217 GB, free: 88.32 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004788/1.765, allocations: 0.7027 MB / 0.7224 GB, free: 87.62 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00503/1.77, allocations: 1.755 MB / 0.7241 GB, free: 85.84 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007155/1.771, allocations: 0.7074 MB / 0.7248 GB, free: 85 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007505/1.771, allocations: 99.89 kB / 0.7249 GB, free: 84.9 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004133/1.776, allocations: 1.708 MB / 0.7266 GB, free: 83.19 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004236/1.78, allocations: 1.641 MB / 0.7282 GB, free: 81.5 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.22e-05/1.78, allocations: 7.844 kB / 0.7282 GB, free: 81.5 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002567/1.78, allocations: 0 / 0.7282 GB, free: 81.5 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.913e-05/1.78, allocations: 40 kB / 0.7282 GB, free: 81.46 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01726/1.798, allocations: 7.151 MB / 0.7352 GB, free: 74.2 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003255/1.801, allocations: 1.935 MB / 0.7371 GB, free: 72.25 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001407/1.802, allocations: 0.9631 MB / 0.738 GB, free: 71.29 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00018/1.802, allocations: 37.95 kB / 0.7381 GB, free: 71.26 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001729/1.804, allocations: 1.186 MB / 0.7392 GB, free: 70.05 MB / 490.7 MB Notification: Performance of pre-optimization done (n=182): time 5.08e-06/1.804, allocations: 4 kB / 0.7392 GB, free: 70.04 MB / 490.7 MB Notification: Performance of matching and sorting (n=182): time 0.01784/1.822, allocations: 6.082 MB / 0.7452 GB, free: 63.96 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.106e-05/1.822, allocations: 249.3 kB / 0.7454 GB, free: 63.66 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004552/1.827, allocations: 1.814 MB / 0.7472 GB, free: 61.83 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006859/1.828, allocations: 25.7 kB / 0.7472 GB, free: 61.8 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005237/1.828, allocations: 0.5544 MB / 0.7477 GB, free: 61.23 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001461/1.83, allocations: 0.6158 MB / 0.7483 GB, free: 60.61 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004745/1.83, allocations: 0 / 0.7483 GB, free: 60.61 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001981/1.83, allocations: 385.9 kB / 0.7487 GB, free: 60.23 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001835/1.832, allocations: 0.871 MB / 0.7496 GB, free: 59.36 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001892/1.834, allocations: 1.101 MB / 0.7506 GB, free: 58.2 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002226/1.836, allocations: 0.9663 MB / 0.7516 GB, free: 57.23 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-05/1.836, allocations: 0 / 0.7516 GB, free: 57.23 MB / 490.7 MB Notification: Performance of matching and sorting (n=247) (initialization): time 0.007021/1.843, allocations: 2.978 MB / 0.7545 GB, free: 54.24 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002669/1.844, allocations: 1.418 MB / 0.7559 GB, free: 52.7 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.393e-05/1.844, allocations: 4 kB / 0.7559 GB, free: 52.7 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009372/1.853, allocations: 2.945 MB / 0.7587 GB, free: 49.75 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0018/1.855, allocations: 307.5 kB / 0.759 GB, free: 49.45 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007331/1.862, allocations: 3.588 MB / 0.7625 GB, free: 45.84 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004556/1.867, allocations: 414.2 kB / 0.7629 GB, free: 45.43 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006335/1.867, allocations: 63.98 kB / 0.763 GB, free: 45.37 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.586e-05/1.867, allocations: 6.344 kB / 0.763 GB, free: 45.36 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005277/1.873, allocations: 2.609 MB / 0.7656 GB, free: 42.75 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.988e-05/1.873, allocations: 4 kB / 0.7656 GB, free: 42.75 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009098/1.882, allocations: 2.866 MB / 0.7684 GB, free: 39.88 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001946/1.884, allocations: 299.6 kB / 0.7686 GB, free: 39.59 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006616/1.891, allocations: 3.333 MB / 0.7719 GB, free: 36.22 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004118/1.895, allocations: 362.4 kB / 0.7722 GB, free: 35.87 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004712/1.895, allocations: 71.98 kB / 0.7723 GB, free: 35.8 MB / 490.7 MB 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 (140): * Single equations (assignments): 139 * 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 {35 73} Notification: Performance of prepare postOptimizeDAE: time 0.0007304/1.896, allocations: 124.5 kB / 0.7724 GB, free: 35.67 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001042/1.897, allocations: 252.8 kB / 0.7727 GB, free: 35.42 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01707/1.914, allocations: 6.143 MB / 0.7787 GB, free: 29.27 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.569e-05/1.914, allocations: 23.98 kB / 0.7787 GB, free: 29.25 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.149e-05/1.914, allocations: 0 / 0.7787 GB, free: 29.25 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.352e-05/1.914, allocations: 7.969 kB / 0.7787 GB, free: 29.24 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02515/1.939, allocations: 9.094 MB / 0.7876 GB, free: 20.1 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.654e-05/1.939, allocations: 0 / 0.7876 GB, free: 20.1 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002049/1.942, allocations: 271.7 kB / 0.7878 GB, free: 19.83 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007147/1.949, allocations: 2.213 MB / 0.79 GB, free: 17.61 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007036/1.949, allocations: 27.98 kB / 0.79 GB, free: 17.58 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0206/1.97, allocations: 9.286 MB / 0.7991 GB, free: 8.066 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.725e-06/1.97, allocations: 8.062 kB / 0.7991 GB, free: 8.059 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.02195/1.992, allocations: 7.617 MB / 0.8065 GB, free: 412 kB / 490.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.02703/2.019, allocations: 9.378 MB / 0.8157 GB, free: 6.984 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001384/2.021, allocations: 397.4 kB / 0.8161 GB, free: 6.574 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00142/2.022, allocations: 19.98 kB / 0.8161 GB, free: 6.555 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004435/2.027, allocations: 319.7 kB / 0.8164 GB, free: 6.242 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001004/2.028, allocations: 185.7 kB / 0.8166 GB, free: 6.062 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004973/2.028, allocations: 51.98 kB / 0.8166 GB, free: 6.012 MB / 0.4948 GB Notification: Performance of sort global known variables: time 0.003799/2.032, allocations: 1.371 MB / 0.818 GB, free: 4.629 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.007181/2.039, allocations: 0.9821 MB / 0.8189 GB, free: 3.645 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 23 (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,pSS2B.Leadlag1.TF.x_scaled[1],pSS2B.Leadlag2.TF.x_scaled[1],pSS2B.SimpleLag1.state,pSS2B.SimpleLag2.state,pSS2B.Leadlag3.TF.x_scaled[1],pSS2B.derivativeLag.TF.x_scaled[1],pSS2B.derivativeLag1.TF.x_scaled[1],pSS2B.derivativeLag2.TF.x_scaled[1],pSS2B.derivativeLag3.TF.x_scaled[1]) * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (130): * Single equations (assignments): 128 * 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.000835/2.04, allocations: 168.4 kB / 0.8191 GB, free: 3.473 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.01827/2.058, allocations: 5.448 MB / 0.8244 GB, free: 14.02 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.138e-05/2.058, allocations: 256 / 0.8244 GB, free: 14.02 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.007596/2.066, allocations: 2.281 MB / 0.8266 GB, free: 11.72 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002843/2.069, allocations: 223.6 kB / 0.8269 GB, free: 11.5 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01507/2.084, allocations: 4.134 MB / 0.8309 GB, free: 7.32 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003458/2.087, allocations: 1.922 MB / 0.8328 GB, free: 5.363 MB / 0.5105 GB Notification: Performance of SimCode: time 1.352e-06/2.087, allocations: 0 / 0.8328 GB, free: 5.363 MB / 0.5105 GB (rm -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.PSS.PSS2B.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.PSS.PSS2B.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.PSS.PSS2B.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.PSS.PSS2B.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_PSS_PSS2B_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_PSS_PSS2B.fmu > OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.PSS.PSS2B.pipe 2>&1)