Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.PSS.PSS2A.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.PSS.PSS2A,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_PSS_PSS2A",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.PSS.PSS2A,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_PSS_PSS2A",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.004052/0.004052, allocations: 182.5 kB / 7.457 MB, free: 1.926 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.478/1.478, allocations: 205.2 MB / 213 MB, free: 5.422 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008966/0.0008966, allocations: 94.09 kB / 261.1 MB, free: 5.484 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.06314/0.06314, allocations: 12.19 MB / 321.2 MB, free: 34.31 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4912/0.4912, allocations: 78.05 MB / 449.9 MB, free: 34.18 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1559/0.6472, allocations: 76.1 MB / 0.5137 GB, free: 6.273 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3945/1.042, allocations: 69.22 MB / 0.5813 GB, free: 35.24 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1498/1.192, allocations: 116 MB / 0.6946 GB, free: 7.652 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002687/1.192, allocations: 93.56 kB / 0.6946 GB, free: 7.562 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: 385 * Number of variables: 385 Notification: Performance of Generate backend data structure: time 0.2167/1.409, allocations: 70.94 MB / 0.7639 GB, free: 292 kB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 7.375e-05/1.409, allocations: 15.94 kB / 0.7639 GB, free: 276 kB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006646/1.415, allocations: 0.7143 MB / 0.7646 GB, free: 15.55 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006782/1.422, allocations: 2.012 MB / 0.7666 GB, free: 13.47 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007751/1.423, allocations: 0.6784 MB / 0.7673 GB, free: 12.66 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004572/1.424, allocations: 115.8 kB / 0.7674 GB, free: 12.55 MB / 0.5417 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003854/1.427, allocations: 2.072 MB / 0.7694 GB, free: 10.48 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003453/1.431, allocations: 1.816 MB / 0.7712 GB, free: 8.621 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.417e-05/1.431, allocations: 11.78 kB / 0.7712 GB, free: 8.609 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001894/1.431, allocations: 0 / 0.7712 GB, free: 8.609 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.552e-05/1.431, allocations: 36 kB / 0.7712 GB, free: 8.574 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01835/1.45, allocations: 7.592 MB / 0.7786 GB, free: 0.8008 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.2252/1.675, allocations: 2.451 MB / 0.781 GB, free: 176.9 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001946/1.677, allocations: 1.124 MB / 0.7821 GB, free: 176.9 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000196/1.677, allocations: 44.88 kB / 0.7822 GB, free: 176.9 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002169/1.679, allocations: 1.363 MB / 0.7835 GB, free: 176.8 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=193): time 4.198e-06/1.679, allocations: 0 / 0.7835 GB, free: 176.8 MB / 0.5417 GB Notification: Performance of matching and sorting (n=193): time 0.0183/1.698, allocations: 6.446 MB / 0.7898 GB, free: 176.7 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.399e-05/1.698, allocations: 198.8 kB / 0.79 GB, free: 176.5 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004107/1.702, allocations: 2.102 MB / 0.792 GB, free: 176.3 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.0006987/1.703, allocations: 25.7 kB / 0.7921 GB, free: 176.3 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003577/1.703, allocations: 0.5695 MB / 0.7926 GB, free: 176.1 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.001219/1.704, allocations: 0.6585 MB / 0.7933 GB, free: 175.7 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001349/1.704, allocations: 0 / 0.7933 GB, free: 175.7 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001222/1.704, allocations: 386.3 kB / 0.7936 GB, free: 175.4 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001611/1.706, allocations: 1.027 MB / 0.7946 GB, free: 175.4 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001615/1.708, allocations: 1.235 MB / 0.7958 GB, free: 175.2 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002098/1.71, allocations: 1.157 MB / 0.797 GB, free: 175.2 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.178e-05/1.71, allocations: 3.75 kB / 0.797 GB, free: 175.2 MB / 0.5417 GB Notification: Performance of matching and sorting (n=255) (initialization): time 0.006805/1.717, allocations: 3.204 MB / 0.8001 GB, free: 175 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002759/1.717, allocations: 1.427 MB / 0.8015 GB, free: 173.5 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.267e-05/1.717, allocations: 0 / 0.8015 GB, free: 173.5 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007931/1.725, allocations: 2.372 MB / 0.8038 GB, free: 173.5 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00484/1.73, allocations: 0.8477 MB / 0.8046 GB, free: 173.5 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007102/1.737, allocations: 6.4 MB / 0.8109 GB, free: 169.2 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004798/1.742, allocations: 482.1 kB / 0.8114 GB, free: 169.1 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004868/1.742, allocations: 68.64 kB / 0.8114 GB, free: 169.1 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.052e-05/1.742, allocations: 9.625 kB / 0.8114 GB, free: 169.1 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004987/1.747, allocations: 2.877 MB / 0.8142 GB, free: 169 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.814e-05/1.747, allocations: 6.625 kB / 0.8142 GB, free: 169 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007995/1.755, allocations: 2.362 MB / 0.8165 GB, free: 168.9 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003802/1.759, allocations: 0.553 MB / 0.8171 GB, free: 168.9 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006383/1.766, allocations: 5.022 MB / 0.822 GB, free: 165.7 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004966/1.771, allocations: 448.5 kB / 0.8224 GB, free: 165.7 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005892/1.771, allocations: 71.19 kB / 0.8225 GB, free: 165.7 MB / 0.5417 GB Warning: Assuming fixed start value for the following 6 variables: eSST1A.VA0:VARIABLE(fixed = false protected = true ) type: Real pSS2A.rampTrackingFilter.TF2[1].x_scaled[1]:VARIABLE(protected = true ) "Scaled vector x" type: Real [1,1] pSS2A.rampTrackingFilter.TF1[5].x_scaled[1]:VARIABLE(protected = true ) "Scaled vector x" type: Real [5,1] pSS2A.rampTrackingFilter.TF1[4].x_scaled[1]:VARIABLE(protected = true ) "Scaled vector x" type: Real [5,1] pSS2A.rampTrackingFilter.TF1[3].x_scaled[1]:VARIABLE(protected = true ) "Scaled vector x" type: Real [5,1] pSS2A.rampTrackingFilter.TF1[2].x_scaled[1]:VARIABLE(protected = true ) "Scaled vector x" type: Real [5,1] Warning: Iteration variables with default zero start attribute in equation system w/o analytic Jacobian: eSST1A.lV_GATE.y:VARIABLE() "Connector of Real output signal" type: Real Warning: Iteration variables with default zero start attribute in equation system w/o analytic Jacobian: eSST1A.hV_GATE1.y:VARIABLE() "Connector of Real output signal" type: Real Warning: Iteration variables with default zero start attribute in equation system w/o analytic Jacobian: eSST1A.add3_2.y:VARIABLE() "Connector of Real output signal" type: Real Warning: Iteration variables with default zero start attribute in equation system w/o analytic Jacobian: pSS2A.Leadlag2.y:VARIABLE() "Connector of Real output signal" 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 (200): * Single equations (assignments): 195 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 4 {1,1,1,1} * Without analytic Jacobian: 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.0006703/1.772, allocations: 155.1 kB / 0.8226 GB, free: 165.6 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009591/1.773, allocations: 268.9 kB / 0.8229 GB, free: 165.4 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01838/1.791, allocations: 6.572 MB / 0.8293 GB, free: 164.6 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.778e-05/1.791, allocations: 19.94 kB / 0.8293 GB, free: 164.6 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.965e-06/1.791, allocations: 4.672 kB / 0.8293 GB, free: 164.6 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.935e-05/1.791, allocations: 7.781 kB / 0.8293 GB, free: 164.6 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02771/1.819, allocations: 9.582 MB / 0.8387 GB, free: 161.5 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.827e-05/1.819, allocations: 0 / 0.8387 GB, free: 161.5 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002095/1.821, allocations: 290.4 kB / 0.839 GB, free: 161.5 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007031/1.828, allocations: 2.213 MB / 0.8411 GB, free: 161.1 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005604/1.829, allocations: 33.09 kB / 0.8412 GB, free: 161 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02141/1.85, allocations: 9.284 MB / 0.8502 GB, free: 155.9 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.46e-06/1.85, allocations: 0 / 0.8502 GB, free: 155.9 MB / 0.5417 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0218/1.872, allocations: 8.212 MB / 0.8583 GB, free: 153.4 MB / 0.5417 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0246/1.897, allocations: 10.24 MB / 0.8683 GB, free: 147.5 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001322/1.898, allocations: 425.7 kB / 0.8687 GB, free: 147.2 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000998/1.899, allocations: 31.23 kB / 0.8687 GB, free: 147.1 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003699/1.903, allocations: 384.9 kB / 0.8691 GB, free: 146.9 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005684/1.904, allocations: 193.1 kB / 0.8692 GB, free: 146.8 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001741/1.904, allocations: 55.38 kB / 0.8693 GB, free: 146.7 MB / 0.5417 GB Notification: Performance of sort global known variables: time 0.00235/1.906, allocations: 1.588 MB / 0.8708 GB, free: 145.3 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.004523/1.911, allocations: 1.023 MB / 0.8718 GB, free: 144.3 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 28 (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,pSS2A.Leadlag1.TF.x_scaled[1],pSS2A.Leadlag2.TF.x_scaled[1],pSS2A.SimpleLag1.state,pSS2A.SimpleLag2.state,pSS2A.rampTrackingFilter.TF1[1].x_scaled[1],pSS2A.rampTrackingFilter.TF1[2].x_scaled[1],pSS2A.rampTrackingFilter.TF1[3].x_scaled[1],pSS2A.rampTrackingFilter.TF1[4].x_scaled[1],pSS2A.rampTrackingFilter.TF1[5].x_scaled[1],pSS2A.rampTrackingFilter.TF2[1].x_scaled[1],pSS2A.derivativeLag.TF.x_scaled[1],pSS2A.derivativeLag1.TF.x_scaled[1],pSS2A.derivativeLag2.TF.x_scaled[1],pSS2A.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 (141): * 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: 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.0004995/1.911, allocations: 178.9 kB / 0.872 GB, free: 144.2 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.01778/1.929, allocations: 6.417 MB / 0.8783 GB, free: 138.5 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.254e-05/1.929, allocations: 0 / 0.8783 GB, free: 138.5 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.007343/1.936, allocations: 2.452 MB / 0.8807 GB, free: 136.4 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002628/1.939, allocations: 254.8 kB / 0.8809 GB, free: 136.1 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01232/1.951, allocations: 4.833 MB / 0.8856 GB, free: 131.9 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002324/1.954, allocations: 2.135 MB / 0.8877 GB, free: 130.1 MB / 0.5417 GB Notification: Performance of SimCode: time 1.052e-06/1.954, allocations: 0 / 0.8877 GB, free: 130.1 MB / 0.5417 GB (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.PSS.PSS2A.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.PSS.PSS2A.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.PSS.PSS2A.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.PSS.PSS2A.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_PSS_PSS2A_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_PSS_PSS2A.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.PSS.PSS2A.pipe 2>&1)