Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.ESST1A.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.ESST1A,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_ES_ESST1A",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.ES.ESST1A,fileNamePrefix="OpenIPSL_2_0_0_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 3.2.3+maint.om/package.mo): time 0.003258/0.003258, allocations: 179.3 kB / 7.457 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.298/1.298, allocations: 205.2 MB / 213.1 MB, free: 13.92 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.0009322/0.0009318, allocations: 99.91 kB / 261.1 MB, free: 13.55 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.07212/0.07212, allocations: 12.2 MB / 321.2 MB, free: 1.297 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.2986/0.2986, allocations: 78.06 MB / 449.9 MB, free: 3.652 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.3013/0.5999, allocations: 76.09 MB / 0.5137 GB, free: 30.3 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1377/0.7376, allocations: 69.23 MB / 0.5813 GB, free: 9.168 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3801/1.118, allocations: 114.4 MB / 0.693 GB, free: 10.93 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002909/1.118, allocations: 84.88 kB / 0.6931 GB, free: 10.88 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: 293 * Number of variables: 293 Notification: Performance of Generate backend data structure: time 0.1378/1.256, allocations: 48.72 MB / 0.7407 GB, free: 2.641 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.782e-05/1.256, allocations: 11.94 kB / 0.7407 GB, free: 2.629 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003795/1.26, allocations: 0.6148 MB / 0.7413 GB, free: 2.055 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00287/1.263, allocations: 1.184 MB / 0.7424 GB, free: 1.117 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005561/1.263, allocations: 468 kB / 0.7429 GB, free: 0.582 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003245/1.264, allocations: 71.91 kB / 0.743 GB, free: 0.5117 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00234/1.266, allocations: 1.247 MB / 0.7442 GB, free: 15.76 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002148/1.268, allocations: 1.253 MB / 0.7454 GB, free: 14.88 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.921e-05/1.268, allocations: 0 / 0.7454 GB, free: 14.88 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001263/1.268, allocations: 0 / 0.7454 GB, free: 14.88 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.585e-05/1.268, allocations: 35.91 kB / 0.7454 GB, free: 14.84 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01228/1.281, allocations: 5.348 MB / 0.7507 GB, free: 10.39 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002657/1.283, allocations: 1.284 MB / 0.7519 GB, free: 9.078 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001499/1.285, allocations: 0.7485 MB / 0.7526 GB, free: 8.324 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000178/1.285, allocations: 33.27 kB / 0.7527 GB, free: 8.293 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001676/1.287, allocations: 0.9242 MB / 0.7536 GB, free: 7.344 MB / 490.7 MB Notification: Performance of pre-optimization done (n=143): time 4.789e-06/1.287, allocations: 0 / 0.7536 GB, free: 7.344 MB / 490.7 MB Notification: Performance of matching and sorting (n=143): time 0.0182/1.305, allocations: 5.518 MB / 0.759 GB, free: 1.805 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001009/1.305, allocations: 179.5 kB / 0.7591 GB, free: 1.59 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002145/1.307, allocations: 1.213 MB / 0.7603 GB, free: 384 kB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003478/1.308, allocations: 25.7 kB / 0.7603 GB, free: 352 kB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002871/1.308, allocations: 443.9 kB / 0.7608 GB, free: 15.9 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008346/1.309, allocations: 492.6 kB / 0.7612 GB, free: 15.41 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001061/1.309, allocations: 0 / 0.7612 GB, free: 15.41 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001431/1.309, allocations: 362 kB / 0.7616 GB, free: 15.05 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001276/1.31, allocations: 0.6562 MB / 0.7622 GB, free: 14.4 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001357/1.312, allocations: 0.8286 MB / 0.763 GB, free: 13.52 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001428/1.313, allocations: 0.7243 MB / 0.7637 GB, free: 12.8 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.414e-06/1.313, allocations: 4 kB / 0.7637 GB, free: 12.79 MB / 0.4948 GB Notification: Performance of matching and sorting (n=191) (initialization): time 0.00516/1.318, allocations: 2.338 MB / 0.766 GB, free: 10.44 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006077/1.319, allocations: 1.373 MB / 0.7674 GB, free: 8.957 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.529e-05/1.319, allocations: 4 kB / 0.7674 GB, free: 8.953 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01033/1.329, allocations: 2.78 MB / 0.7701 GB, free: 6.168 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001075/1.33, allocations: 179.8 kB / 0.7703 GB, free: 5.992 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007423/1.338, allocations: 3.282 MB / 0.7735 GB, free: 2.688 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002722/1.341, allocations: 286.6 kB / 0.7737 GB, free: 2.406 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002267/1.341, allocations: 59.97 kB / 0.7738 GB, free: 2.348 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.289e-05/1.341, allocations: 8 kB / 0.7738 GB, free: 2.34 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004249/1.345, allocations: 2.081 MB / 0.7758 GB, free: 264 kB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.076e-05/1.345, allocations: 0 / 0.7758 GB, free: 264 kB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009542/1.355, allocations: 2.718 MB / 0.7785 GB, free: 13.53 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001103/1.356, allocations: 183.8 kB / 0.7787 GB, free: 13.35 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006746/1.363, allocations: 3.077 MB / 0.7817 GB, free: 10.25 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00292/1.366, allocations: 254.8 kB / 0.7819 GB, free: 10 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002491/1.366, allocations: 55.98 kB / 0.782 GB, free: 9.945 MB / 0.5105 GB 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.0005034/1.366, allocations: 128.7 kB / 0.7821 GB, free: 9.812 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005357/1.367, allocations: 181.8 kB / 0.7823 GB, free: 9.633 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01829/1.385, allocations: 5.707 MB / 0.7878 GB, free: 3.898 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.145e-05/1.385, allocations: 16 kB / 0.7878 GB, free: 3.883 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.714e-06/1.385, allocations: 0 / 0.7878 GB, free: 3.883 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.337e-05/1.385, allocations: 7.969 kB / 0.7879 GB, free: 3.875 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02139/1.407, allocations: 7.74 MB / 0.7954 GB, free: 12.04 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.692e-05/1.407, allocations: 0 / 0.7954 GB, free: 12.04 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001313/1.408, allocations: 171.8 kB / 0.7956 GB, free: 11.87 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007585/1.416, allocations: 2.213 MB / 0.7977 GB, free: 9.648 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003609/1.416, allocations: 19.98 kB / 0.7978 GB, free: 9.629 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02212/1.438, allocations: 9.283 MB / 0.8068 GB, free: 112 kB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.33e-06/1.438, allocations: 64 / 0.8068 GB, free: 112 kB / 0.5261 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01994/1.458, allocations: 6.755 MB / 0.8134 GB, free: 9.301 MB / 0.5417 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.02185/1.48, allocations: 8.172 MB / 0.8214 GB, free: 1.086 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007448/1.481, allocations: 298.5 kB / 0.8217 GB, free: 0.7734 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003759/1.481, allocations: 8 kB / 0.8217 GB, free: 0.7656 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002025/1.483, allocations: 211.8 kB / 0.8219 GB, free: 0.5586 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000402/1.484, allocations: 165 kB / 0.8221 GB, free: 408 kB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001398/1.484, allocations: 47.98 kB / 0.8221 GB, free: 360 kB / 0.5417 GB Notification: Performance of sort global known variables: time 0.001347/1.485, allocations: 0.9162 MB / 0.823 GB, free: 15.44 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.003034/1.488, allocations: 0.8029 MB / 0.8238 GB, free: 14.64 MB / 0.5573 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,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.0003501/1.489, allocations: 163 kB / 0.8239 GB, free: 14.47 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.01433/1.503, allocations: 4.605 MB / 0.8284 GB, free: 9.855 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 8.607e-06/1.503, allocations: 0 / 0.8284 GB, free: 9.855 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.006739/1.51, allocations: 2.025 MB / 0.8304 GB, free: 7.805 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001493/1.511, allocations: 129.7 kB / 0.8305 GB, free: 7.676 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007523/1.519, allocations: 2.852 MB / 0.8333 GB, free: 4.77 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001572/1.521, allocations: 1.504 MB / 0.8348 GB, free: 3.238 MB / 0.5573 GB Notification: Performance of SimCode: time 8.02e-07/1.521, allocations: 0 / 0.8348 GB, free: 3.238 MB / 0.5573 GB (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.ESST1A.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.ESST1A.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.ESST1A.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.ESST1A.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_ES_ESST1A_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_ES_ESST1A.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.ESST1A.pipe 2>&1)