Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.PSS.PSS2B.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.PSS2B,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_PSS_PSS2B",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.PSS.PSS2B,fileNamePrefix="OpenIPSL_2_0_0_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 3.2.3+maint.om/package.mo): time 0.004304/0.004304, 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 3.2.3+maint.om/package.mo): time 1.461/1.461, allocations: 205.2 MB / 213 MB, free: 13.85 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.0009684/0.0009685, allocations: 94.02 kB / 261.1 MB, free: 13.6 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.0855/0.0855, allocations: 12.19 MB / 321.2 MB, free: 1.355 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.2818/0.2818, allocations: 78.05 MB / 449.9 MB, free: 3.656 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2938/0.5756, allocations: 76.09 MB / 0.5137 GB, free: 30.29 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1509/0.7265, allocations: 69.24 MB / 0.5813 GB, free: 9.148 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4078/1.134, allocations: 116.3 MB / 0.6948 GB, free: 8.816 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002848/1.135, allocations: 89.33 kB / 0.6949 GB, free: 8.77 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: 375 * Number of variables: 375 Notification: Performance of Generate backend data structure: time 0.2131/1.348, allocations: 69.53 MB / 0.7628 GB, free: 14.12 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.925e-05/1.348, allocations: 11.94 kB / 0.7628 GB, free: 14.11 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005162/1.353, allocations: 0.7067 MB / 0.7635 GB, free: 13.4 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00692/1.36, allocations: 1.772 MB / 0.7653 GB, free: 11.56 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001113/1.361, allocations: 0.7152 MB / 0.7659 GB, free: 10.71 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001033/1.362, allocations: 99.91 kB / 0.766 GB, free: 10.61 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005811/1.368, allocations: 1.697 MB / 0.7677 GB, free: 8.91 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005666/1.374, allocations: 1.645 MB / 0.7693 GB, free: 7.219 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.102e-05/1.374, allocations: 4 kB / 0.7693 GB, free: 7.215 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000459/1.374, allocations: 0 / 0.7693 GB, free: 7.215 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.904e-05/1.374, allocations: 36 kB / 0.7693 GB, free: 7.18 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0215/1.396, allocations: 7.183 MB / 0.7764 GB, free: 15.81 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004708/1.401, allocations: 1.924 MB / 0.7782 GB, free: 13.87 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002122/1.403, allocations: 0.9653 MB / 0.7792 GB, free: 12.9 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000283/1.403, allocations: 37.95 kB / 0.7792 GB, free: 12.86 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002658/1.406, allocations: 1.181 MB / 0.7804 GB, free: 11.66 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=182): time 6.512e-06/1.406, allocations: 0 / 0.7804 GB, free: 11.66 MB / 0.5105 GB Notification: Performance of matching and sorting (n=182): time 0.02115/1.427, allocations: 6.08 MB / 0.7863 GB, free: 5.555 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001297/1.427, allocations: 261.3 kB / 0.7866 GB, free: 5.246 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004547/1.432, allocations: 1.826 MB / 0.7883 GB, free: 3.402 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0005758/1.432, allocations: 29.7 kB / 0.7884 GB, free: 3.367 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005935/1.433, allocations: 0.5547 MB / 0.7889 GB, free: 2.801 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.00154/1.435, allocations: 0.6196 MB / 0.7895 GB, free: 2.172 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003606/1.435, allocations: 0 / 0.7895 GB, free: 2.172 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0002114/1.435, allocations: 377.9 kB / 0.7899 GB, free: 1.797 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001927/1.437, allocations: 0.8671 MB / 0.7907 GB, free: 0.9297 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002336/1.439, allocations: 1.097 MB / 0.7918 GB, free: 15.77 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002885/1.442, allocations: 0.9703 MB / 0.7927 GB, free: 14.8 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.112e-05/1.442, allocations: 0 / 0.7927 GB, free: 14.8 MB / 0.5261 GB Notification: Performance of matching and sorting (n=247) (initialization): time 0.009535/1.452, allocations: 2.982 MB / 0.7957 GB, free: 11.81 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009184/1.453, allocations: 1.416 MB / 0.797 GB, free: 10.27 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.875e-05/1.453, allocations: 4 kB / 0.797 GB, free: 10.27 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01064/1.464, allocations: 2.95 MB / 0.7999 GB, free: 7.309 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001998/1.466, allocations: 303.6 kB / 0.8002 GB, free: 7.012 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008829/1.475, allocations: 3.583 MB / 0.8037 GB, free: 3.402 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004263/1.479, allocations: 410.2 kB / 0.8041 GB, free: 3 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005186/1.479, allocations: 71.97 kB / 0.8042 GB, free: 2.93 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.422e-05/1.479, allocations: 4 kB / 0.8042 GB, free: 2.926 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006415/1.486, allocations: 2.608 MB / 0.8067 GB, free: 324 kB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.631e-05/1.486, allocations: 4 kB / 0.8067 GB, free: 320 kB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01012/1.496, allocations: 2.864 MB / 0.8095 GB, free: 13.44 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001875/1.498, allocations: 299.6 kB / 0.8098 GB, free: 13.15 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008419/1.506, allocations: 3.329 MB / 0.8131 GB, free: 9.793 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004401/1.511, allocations: 362.3 kB / 0.8134 GB, free: 9.438 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006411/1.512, allocations: 71.97 kB / 0.8135 GB, free: 9.367 MB / 0.5417 GB 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.0008745/1.512, allocations: 132.7 kB / 0.8136 GB, free: 9.23 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001325/1.514, allocations: 252.8 kB / 0.8138 GB, free: 8.98 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01896/1.533, allocations: 6.152 MB / 0.8198 GB, free: 2.809 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.971e-05/1.533, allocations: 24 kB / 0.8199 GB, free: 2.785 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.609e-05/1.533, allocations: 4.062 kB / 0.8199 GB, free: 2.781 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.041e-05/1.533, allocations: 7.969 kB / 0.8199 GB, free: 2.773 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02828/1.561, allocations: 9.079 MB / 0.8287 GB, free: 9.59 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.614e-05/1.561, allocations: 0 / 0.8287 GB, free: 9.59 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002331/1.564, allocations: 275.7 kB / 0.829 GB, free: 9.32 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008147/1.572, allocations: 2.209 MB / 0.8312 GB, free: 7.098 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006208/1.573, allocations: 31.97 kB / 0.8312 GB, free: 7.066 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02281/1.595, allocations: 9.287 MB / 0.8403 GB, free: 13.54 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.899e-06/1.595, allocations: 0 / 0.8403 GB, free: 13.54 MB / 0.573 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.02392/1.619, allocations: 7.61 MB / 0.8477 GB, free: 5.871 MB / 0.573 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.2603/1.88, allocations: 9.389 MB / 0.8569 GB, free: 223 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001198/1.881, allocations: 403.6 kB / 0.8573 GB, free: 222.9 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007894/1.882, allocations: 10.62 kB / 0.8573 GB, free: 222.9 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003611/1.885, allocations: 327.4 kB / 0.8576 GB, free: 222.9 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006427/1.886, allocations: 187.2 kB / 0.8578 GB, free: 222.9 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001823/1.886, allocations: 54.42 kB / 0.8578 GB, free: 222.9 MB / 0.573 GB Notification: Performance of sort global known variables: time 0.002682/1.889, allocations: 1.378 MB / 0.8592 GB, free: 222.8 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.004938/1.894, allocations: 0.9839 MB / 0.8601 GB, free: 222.8 MB / 0.573 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.0005308/1.894, allocations: 175.9 kB / 0.8603 GB, free: 222.7 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.01672/1.911, allocations: 5.447 MB / 0.8656 GB, free: 222.6 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 1.014e-05/1.911, allocations: 3.844 kB / 0.8656 GB, free: 222.6 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.006604/1.918, allocations: 2.275 MB / 0.8678 GB, free: 222.3 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00245/1.92, allocations: 221.7 kB / 0.868 GB, free: 222.3 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0112/1.932, allocations: 4.152 MB / 0.8721 GB, free: 221.4 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00208/1.934, allocations: 1.93 MB / 0.874 GB, free: 220.7 MB / 0.573 GB Notification: Performance of SimCode: time 1.302e-06/1.934, allocations: 3.875 kB / 0.874 GB, free: 220.7 MB / 0.573 GB (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.PSS.PSS2B.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.PSS.PSS2B.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.PSS.PSS2B.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.PSS.PSS2B.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_PSS_PSS2B_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_PSS_PSS2B.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.PSS.PSS2B.pipe 2>&1)