Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_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.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.Tests.Controls.PSSE.PSS.PSS2B,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Controls_PSSE_PSS_PSS2B",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.PSS.PSS2B,fileNamePrefix="OpenIPSL_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.001299/0.001299, allocations: 182.7 kB / 7.457 MB, free: 1.543 MB / 6.77 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.251/1.251, allocations: 221.4 MB / 229.3 MB, free: 8.465 MB / 194.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009834/0.0009833, allocations: 98.27 kB / 280.1 MB, free: 7.855 MB / 226.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.533/0.533, allocations: 78.06 MB / 408.9 MB, free: 5.359 MB / 290.8 MB Notification: Performance of FrontEnd - loaded program: time 0.2055/0.7385, allocations: 75.5 MB / 484.4 MB, free: 10.17 MB / 370.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4813/1.22, allocations: 69.35 MB / 0.5408 GB, free: 15.69 MB / 370.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1794/1.399, allocations: 114.8 MB / 0.6529 GB, free: 12.71 MB / 482.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003863/1.4, allocations: 83.95 kB / 0.653 GB, free: 12.63 MB / 482.8 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.5505/1.95, allocations: 70.7 MB / 0.722 GB, free: 72.34 MB / 482.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.487e-05/1.95, allocations: 8 kB / 0.722 GB, free: 72.33 MB / 482.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004783/1.955, allocations: 0.695 MB / 0.7227 GB, free: 71.63 MB / 482.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004975/1.96, allocations: 1.764 MB / 0.7244 GB, free: 69.8 MB / 482.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008799/1.961, allocations: 0.7074 MB / 0.7251 GB, free: 68.95 MB / 482.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008999/1.962, allocations: 99.89 kB / 0.7252 GB, free: 68.86 MB / 482.8 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004474/1.966, allocations: 1.705 MB / 0.7269 GB, free: 67.15 MB / 482.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004585/1.971, allocations: 1.648 MB / 0.7285 GB, free: 65.45 MB / 482.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.714e-05/1.971, allocations: 3.906 kB / 0.7285 GB, free: 65.45 MB / 482.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003658/1.972, allocations: 4 kB / 0.7285 GB, free: 65.45 MB / 482.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.242e-05/1.972, allocations: 36 kB / 0.7285 GB, free: 65.41 MB / 482.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01929/1.991, allocations: 7.148 MB / 0.7355 GB, free: 58.07 MB / 482.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004058/1.995, allocations: 1.933 MB / 0.7374 GB, free: 56.12 MB / 482.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001596/1.997, allocations: 0.9614 MB / 0.7383 GB, free: 55.16 MB / 482.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002289/1.997, allocations: 37.95 kB / 0.7384 GB, free: 55.12 MB / 482.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00208/1.999, allocations: 1.185 MB / 0.7395 GB, free: 53.91 MB / 482.8 MB Notification: Performance of pre-optimization done (n=182): time 5.039e-06/1.999, allocations: 3.938 kB / 0.7395 GB, free: 53.91 MB / 482.8 MB Notification: Performance of matching and sorting (n=182): time 0.01858/2.018, allocations: 6.076 MB / 0.7455 GB, free: 47.81 MB / 482.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.406e-05/2.018, allocations: 261.3 kB / 0.7457 GB, free: 47.5 MB / 482.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005473/2.023, allocations: 1.81 MB / 0.7475 GB, free: 45.67 MB / 482.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0007547/2.024, allocations: 29.7 kB / 0.7475 GB, free: 45.64 MB / 482.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005691/2.025, allocations: 0.5544 MB / 0.7481 GB, free: 45.07 MB / 482.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001644/2.026, allocations: 0.6158 MB / 0.7487 GB, free: 44.45 MB / 482.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004315/2.027, allocations: 0 / 0.7487 GB, free: 44.45 MB / 482.8 MB Notification: Performance of setup shared object (initialization): time 0.0001868/2.027, allocations: 377.9 kB / 0.749 GB, free: 44.07 MB / 482.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00169/2.029, allocations: 0.871 MB / 0.7499 GB, free: 43.2 MB / 482.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001815/2.03, allocations: 1.099 MB / 0.7509 GB, free: 42.04 MB / 482.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001945/2.032, allocations: 0.9741 MB / 0.7519 GB, free: 41.07 MB / 482.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.548e-06/2.032, allocations: 0 / 0.7519 GB, free: 41.07 MB / 482.8 MB Notification: Performance of matching and sorting (n=247) (initialization): time 0.006086/2.039, allocations: 2.982 MB / 0.7548 GB, free: 38.07 MB / 482.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003456/2.039, allocations: 1.417 MB / 0.7562 GB, free: 36.54 MB / 482.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.756e-05/2.039, allocations: 8.062 kB / 0.7562 GB, free: 36.53 MB / 482.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009431/2.048, allocations: 2.942 MB / 0.7591 GB, free: 33.59 MB / 482.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001847/2.05, allocations: 311.6 kB / 0.7594 GB, free: 33.28 MB / 482.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007099/2.057, allocations: 3.571 MB / 0.7629 GB, free: 29.68 MB / 482.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004332/2.062, allocations: 406.2 kB / 0.7632 GB, free: 29.28 MB / 482.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000423/2.062, allocations: 67.98 kB / 0.7633 GB, free: 29.21 MB / 482.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.359e-05/2.062, allocations: 8 kB / 0.7633 GB, free: 29.21 MB / 482.8 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005195/2.068, allocations: 2.604 MB / 0.7659 GB, free: 26.6 MB / 482.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.98e-05/2.068, allocations: 4 kB / 0.7659 GB, free: 26.6 MB / 482.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009571/2.077, allocations: 2.868 MB / 0.7687 GB, free: 23.73 MB / 482.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002106/2.079, allocations: 303.6 kB / 0.769 GB, free: 23.43 MB / 482.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007584/2.087, allocations: 3.336 MB / 0.7722 GB, free: 20.06 MB / 482.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004135/2.091, allocations: 370.2 kB / 0.7726 GB, free: 19.7 MB / 482.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004844/2.092, allocations: 67.98 kB / 0.7726 GB, free: 19.63 MB / 482.8 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.0007429/2.092, allocations: 120.7 kB / 0.7727 GB, free: 19.51 MB / 482.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001091/2.094, allocations: 252.8 kB / 0.773 GB, free: 19.26 MB / 482.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01782/2.111, allocations: 6.152 MB / 0.779 GB, free: 13.08 MB / 482.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.726e-05/2.111, allocations: 16 kB / 0.779 GB, free: 13.06 MB / 482.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.523e-05/2.111, allocations: 4 kB / 0.779 GB, free: 13.06 MB / 482.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.893e-05/2.112, allocations: 11.95 kB / 0.779 GB, free: 13.05 MB / 482.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02498/2.137, allocations: 9.081 MB / 0.7879 GB, free: 3.871 MB / 482.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.215e-05/2.137, allocations: 4 kB / 0.7879 GB, free: 3.867 MB / 482.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002296/2.139, allocations: 279.7 kB / 0.7882 GB, free: 3.594 MB / 482.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007281/2.146, allocations: 2.205 MB / 0.7903 GB, free: 1.383 MB / 482.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006343/2.147, allocations: 27.98 kB / 0.7903 GB, free: 1.355 MB / 482.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0241/2.171, allocations: 9.283 MB / 0.7994 GB, free: 7.828 MB / 498.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.172e-05/2.171, allocations: 4.266 kB / 0.7994 GB, free: 7.824 MB / 498.8 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0237/2.195, allocations: 7.613 MB / 0.8068 GB, free: 156 kB / 498.8 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.02667/2.222, allocations: 9.377 MB / 0.816 GB, free: 6.719 MB / 0.5027 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001432/2.223, allocations: 405.4 kB / 0.8164 GB, free: 6.301 MB / 0.5027 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008308/2.224, allocations: 11.98 kB / 0.8164 GB, free: 6.289 MB / 0.5027 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003409/2.227, allocations: 319.7 kB / 0.8167 GB, free: 5.977 MB / 0.5027 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005349/2.228, allocations: 193.7 kB / 0.8169 GB, free: 5.789 MB / 0.5027 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001733/2.228, allocations: 47.98 kB / 0.8169 GB, free: 5.742 MB / 0.5027 GB Notification: Performance of sort global known variables: time 0.002468/2.231, allocations: 1.371 MB / 0.8183 GB, free: 4.359 MB / 0.5027 GB Notification: Performance of remove unused functions: time 0.004611/2.235, allocations: 0.986 MB / 0.8192 GB, free: 3.371 MB / 0.5027 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.0005356/2.236, allocations: 181.3 kB / 0.8194 GB, free: 3.184 MB / 0.5027 GB Notification: Performance of simCode: created initialization part: time 0.01817/2.254, allocations: 5.436 MB / 0.8247 GB, free: 13.74 MB / 0.5183 GB Notification: Performance of simCode: created event and clocks part: time 1.09e-05/2.254, allocations: 0 / 0.8247 GB, free: 13.74 MB / 0.5183 GB Notification: Performance of simCode: created simulation system equations: time 0.008162/2.262, allocations: 2.282 MB / 0.827 GB, free: 11.45 MB / 0.5183 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003412/2.266, allocations: 220 kB / 0.8272 GB, free: 11.23 MB / 0.5183 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01255/2.278, allocations: 4.141 MB / 0.8312 GB, free: 7.016 MB / 0.5183 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00231/2.281, allocations: 1.918 MB / 0.8331 GB, free: 5.062 MB / 0.5183 GB Notification: Performance of SimCode: time 1.463e-06/2.281, allocations: 0 / 0.8331 GB, free: 5.062 MB / 0.5183 GB (rm -f OpenIPSL_OpenIPSL.Tests.Controls.PSSE.PSS.PSS2B.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Controls.PSSE.PSS.PSS2B.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Controls.PSSE.PSS.PSS2B.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Controls.PSSE.PSS.PSS2B.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Tests_Controls_PSSE_PSS_PSS2B_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Tests_Controls_PSSE_PSS_PSS2B.fmu > OpenIPSL_OpenIPSL.Tests.Controls.PSSE.PSS.PSS2B.pipe 2>&1)