Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.URST5T.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.URST5T,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_ES_URST5T",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.ES.URST5T,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_ES_URST5T",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.00236/0.00236, allocations: 183.2 kB / 7.459 MB, free: 2.512 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.314/1.314, 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.0009668/0.0009668, allocations: 102.4 kB / 261.1 MB, free: 13.54 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.07544/0.07544, allocations: 12.2 MB / 321.2 MB, free: 1.312 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.305/0.305, allocations: 78.05 MB / 449.9 MB, free: 3.664 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2916/0.5967, allocations: 76.09 MB / 0.5137 GB, free: 30.32 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1357/0.7324, allocations: 69.23 MB / 0.5813 GB, free: 9.195 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4212/1.154, allocations: 111.7 MB / 0.6903 GB, free: 13.47 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003332/1.154, allocations: 92.31 kB / 0.6904 GB, free: 13.42 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: 289 * Number of variables: 289 Notification: Performance of Generate backend data structure: time 0.1299/1.284, allocations: 46.03 MB / 0.7354 GB, free: 7.426 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.759e-05/1.284, allocations: 11.94 kB / 0.7354 GB, free: 7.414 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003703/1.288, allocations: 0.6059 MB / 0.736 GB, free: 6.848 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002507/1.29, allocations: 1.108 MB / 0.7371 GB, free: 5.969 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005043/1.291, allocations: 408.8 kB / 0.7374 GB, free: 5.504 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003099/1.291, allocations: 71.91 kB / 0.7375 GB, free: 5.434 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002286/1.294, allocations: 1.172 MB / 0.7387 GB, free: 4.727 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002235/1.296, allocations: 1.253 MB / 0.7399 GB, free: 3.812 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.016e-05/1.296, allocations: 0 / 0.7399 GB, free: 3.812 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001423/1.296, allocations: 0 / 0.7399 GB, free: 3.812 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.871e-05/1.296, allocations: 28 kB / 0.7399 GB, free: 3.785 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01226/1.308, allocations: 5.564 MB / 0.7453 GB, free: 15.37 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001829/1.31, allocations: 0.8502 MB / 0.7462 GB, free: 14.85 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001225/1.311, allocations: 0.7416 MB / 0.7469 GB, free: 14.13 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001605/1.312, allocations: 29.27 kB / 0.7469 GB, free: 14.11 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00139/1.313, allocations: 0.8696 MB / 0.7478 GB, free: 13.21 MB / 490.7 MB Notification: Performance of pre-optimization done (n=139): time 6.151e-06/1.313, allocations: 4 kB / 0.7478 GB, free: 13.21 MB / 490.7 MB Notification: Performance of matching and sorting (n=139): time 0.01739/1.33, allocations: 5.306 MB / 0.753 GB, free: 7.887 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001172/1.331, allocations: 201.2 kB / 0.7532 GB, free: 7.648 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001984/1.333, allocations: 1.111 MB / 0.7542 GB, free: 6.531 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003332/1.333, allocations: 25.7 kB / 0.7543 GB, free: 6.5 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003145/1.333, allocations: 431.4 kB / 0.7547 GB, free: 6.07 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007087/1.334, allocations: 484.9 kB / 0.7551 GB, free: 5.59 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.927e-05/1.334, allocations: 0 / 0.7551 GB, free: 5.59 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.00016/1.334, allocations: 365.8 kB / 0.7555 GB, free: 5.227 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001158/1.335, allocations: 0.5976 MB / 0.7561 GB, free: 4.629 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001286/1.337, allocations: 0.8126 MB / 0.7569 GB, free: 3.746 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001526/1.338, allocations: 0.674 MB / 0.7575 GB, free: 3.074 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.406e-06/1.338, allocations: 4 kB / 0.7575 GB, free: 3.07 MB / 490.7 MB Notification: Performance of matching and sorting (n=182) (initialization): time 0.005163/1.343, allocations: 2.23 MB / 0.7597 GB, free: 0.8281 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0007193/1.344, allocations: 1.719 MB / 0.7614 GB, free: 14.96 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.59e-05/1.344, allocations: 4 kB / 0.7614 GB, free: 14.96 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01085/1.355, allocations: 2.992 MB / 0.7643 GB, free: 11.95 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008662/1.356, allocations: 147.8 kB / 0.7644 GB, free: 11.81 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007479/1.363, allocations: 3.366 MB / 0.7677 GB, free: 8.406 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002531/1.366, allocations: 262.7 kB / 0.768 GB, free: 8.148 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002556/1.366, allocations: 55.97 kB / 0.768 GB, free: 8.094 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.508e-05/1.366, allocations: 4 kB / 0.768 GB, free: 8.09 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004276/1.371, allocations: 2 MB / 0.77 GB, free: 6.09 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.629e-05/1.371, allocations: 4 kB / 0.77 GB, free: 6.086 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01054/1.381, allocations: 2.937 MB / 0.7729 GB, free: 3.145 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008635/1.382, allocations: 155.7 kB / 0.773 GB, free: 2.992 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007153/1.389, allocations: 3.191 MB / 0.7761 GB, free: 15.78 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002934/1.392, allocations: 230.8 kB / 0.7764 GB, free: 15.55 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000404/1.393, allocations: 55.98 kB / 0.7764 GB, free: 15.5 MB / 0.5105 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: uRST5T.LL1.gain.y:VARIABLE() "Output signal connector" type: Real uRST5T.VR0:VARIABLE(fixed = false protected = true ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,uRST5T.LL2.integrator.local_reset,uRST5T.LL1.integrator.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (85): * Single equations (assignments): 84 * 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 {36 62} Notification: Performance of prepare postOptimizeDAE: time 0.0006153/1.393, allocations: 129.8 kB / 0.7765 GB, free: 15.36 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008264/1.394, allocations: 169.9 kB / 0.7767 GB, free: 15.2 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01695/1.411, allocations: 5.397 MB / 0.782 GB, free: 9.77 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.634e-05/1.411, allocations: 16 kB / 0.782 GB, free: 9.754 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.062e-05/1.411, allocations: 4 kB / 0.782 GB, free: 9.75 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.921e-05/1.411, allocations: 7.984 kB / 0.782 GB, free: 9.742 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02134/1.433, allocations: 7.378 MB / 0.7892 GB, free: 2.27 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.771e-05/1.433, allocations: 0 / 0.7892 GB, free: 2.27 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001411/1.434, allocations: 187.8 kB / 0.7894 GB, free: 2.086 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007094/1.441, allocations: 2.068 MB / 0.7914 GB, free: 16 kB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003875/1.442, allocations: 15.92 kB / 0.7914 GB, free: 0 / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01967/1.461, allocations: 7.168 MB / 0.7984 GB, free: 8.711 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.93e-06/1.462, allocations: 0 / 0.7984 GB, free: 8.711 MB / 0.5261 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01896/1.481, allocations: 6.394 MB / 0.8047 GB, free: 2.27 MB / 0.5261 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.02078/1.501, allocations: 7.786 MB / 0.8123 GB, free: 10.44 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001205/1.503, allocations: 282.5 kB / 0.8125 GB, free: 10.14 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004225/1.503, allocations: 4 kB / 0.8125 GB, free: 10.14 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002055/1.505, allocations: 187.8 kB / 0.8127 GB, free: 9.953 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004734/1.506, allocations: 168.9 kB / 0.8129 GB, free: 9.789 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001287/1.506, allocations: 35.98 kB / 0.8129 GB, free: 9.754 MB / 0.5417 GB Notification: Performance of sort global known variables: time 0.001489/1.507, allocations: 0.8392 MB / 0.8137 GB, free: 8.918 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.003454/1.511, allocations: 0.7717 MB / 0.8145 GB, free: 8.145 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 13 (gENCLS.omega,gENCLS.delta,gENCLS.eq,gENROU.w,gENROU.delta,gENROU.Epd,gENROU.Epq,gENROU.PSIkd,gENROU.PSIkq,uRST5T.LL1.integrator.y,uRST5T.LL2.integrator.y,uRST5T.simpleLagLimVar.state,uRST5T.TransducerDelay.state) * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (96): * Single equations (assignments): 95 * 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 {26 23} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004763/1.511, allocations: 170.9 kB / 0.8146 GB, free: 7.965 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0152/1.526, allocations: 4.522 MB / 0.8191 GB, free: 3.441 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 7.625e-06/1.527, allocations: 256 / 0.8191 GB, free: 3.441 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.006192/1.533, allocations: 1.882 MB / 0.8209 GB, free: 1.555 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001338/1.534, allocations: 113.4 kB / 0.821 GB, free: 1.441 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007283/1.541, allocations: 2.666 MB / 0.8236 GB, free: 14.71 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001399/1.543, allocations: 1.446 MB / 0.825 GB, free: 13.23 MB / 0.5573 GB Notification: Performance of SimCode: time 1.062e-06/1.543, allocations: 4 kB / 0.825 GB, free: 13.23 MB / 0.5573 GB (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.URST5T.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.URST5T.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.URST5T.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.URST5T.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_ES_URST5T_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_ES_URST5T.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.URST5T.pipe 2>&1)