Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.ST5B.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.ST5B,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_ES_ST5B",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.ES.ST5B,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_ES_ST5B",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.003502/0.003502, allocations: 183.6 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.173/1.173, allocations: 205.2 MB / 213.1 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.0008619/0.000862, allocations: 85.25 kB / 261.1 MB, free: 13.62 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.06878/0.06878, allocations: 12.19 MB / 321.2 MB, free: 1.371 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.2865/0.2865, allocations: 78.05 MB / 449.9 MB, free: 3.672 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2554/0.542, allocations: 76.1 MB / 0.5137 GB, free: 30.34 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1237/0.6657, allocations: 69.23 MB / 0.5813 GB, free: 9.191 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3479/1.014, allocations: 112.4 MB / 0.6911 GB, free: 12.91 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002947/1.014, allocations: 90.17 kB / 0.6912 GB, free: 12.86 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: 363 * Number of variables: 363 Notification: Performance of Generate backend data structure: time 0.1517/1.166, allocations: 53.68 MB / 0.7436 GB, free: 0.668 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.456e-05/1.166, allocations: 11.94 kB / 0.7436 GB, free: 0.6562 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004289/1.17, allocations: 0.6589 MB / 0.7442 GB, free: 40 kB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003769/1.174, allocations: 1.412 MB / 0.7456 GB, free: 14.96 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005468/1.174, allocations: 424.5 kB / 0.746 GB, free: 14.48 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006402/1.175, allocations: 87.91 kB / 0.7461 GB, free: 14.4 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003611/1.179, allocations: 1.383 MB / 0.7475 GB, free: 13.58 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003779/1.182, allocations: 1.564 MB / 0.749 GB, free: 12.24 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.754e-05/1.183, allocations: 3.938 kB / 0.749 GB, free: 12.23 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002147/1.183, allocations: 4 kB / 0.749 GB, free: 12.23 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.413e-05/1.183, allocations: 35.98 kB / 0.749 GB, free: 12.2 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0161/1.199, allocations: 7.202 MB / 0.7561 GB, free: 4.746 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002453/1.201, allocations: 1.086 MB / 0.7571 GB, free: 3.633 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001473/1.203, allocations: 0.8305 MB / 0.7579 GB, free: 2.797 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001894/1.203, allocations: 25.28 kB / 0.758 GB, free: 2.773 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001913/1.205, allocations: 0.9906 MB / 0.7589 GB, free: 1.758 MB / 490.7 MB Notification: Performance of pre-optimization done (n=163): time 5.68e-06/1.205, allocations: 0 / 0.7589 GB, free: 1.758 MB / 490.7 MB Notification: Performance of matching and sorting (n=163): time 0.01829/1.223, allocations: 5.517 MB / 0.7643 GB, free: 12.22 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002064/1.224, allocations: 300 kB / 0.7646 GB, free: 11.86 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003504/1.227, allocations: 1.373 MB / 0.7659 GB, free: 10.45 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0005285/1.228, allocations: 25.7 kB / 0.766 GB, free: 10.42 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006505/1.228, allocations: 0.5242 MB / 0.7665 GB, free: 9.887 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001298/1.23, allocations: 0.5504 MB / 0.767 GB, free: 9.328 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002745/1.23, allocations: 4.062 kB / 0.767 GB, free: 9.324 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002392/1.23, allocations: 373.9 kB / 0.7674 GB, free: 8.953 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00157/1.232, allocations: 0.707 MB / 0.7681 GB, free: 8.246 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001892/1.234, allocations: 1.019 MB / 0.7691 GB, free: 7.117 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001914/1.236, allocations: 0.8179 MB / 0.7699 GB, free: 6.301 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.526e-06/1.236, allocations: 0 / 0.7699 GB, free: 6.301 MB / 0.4948 GB Notification: Performance of matching and sorting (n=229) (initialization): time 0.008369/1.244, allocations: 3.281 MB / 0.7731 GB, free: 2.992 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.001109/1.245, allocations: 2.475 MB / 0.7755 GB, free: 356 kB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.608e-05/1.245, allocations: 4 kB / 0.7755 GB, free: 352 kB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01161/1.257, allocations: 3.199 MB / 0.7786 GB, free: 13.13 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001141/1.258, allocations: 203.7 kB / 0.7788 GB, free: 12.93 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009382/1.267, allocations: 5.727 MB / 0.7844 GB, free: 7.07 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002796/1.27, allocations: 322.5 kB / 0.7847 GB, free: 6.754 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001925/1.27, allocations: 63.98 kB / 0.7848 GB, free: 6.691 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.148e-05/1.27, allocations: 4 kB / 0.7848 GB, free: 6.688 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00609/1.277, allocations: 2.681 MB / 0.7874 GB, free: 3.992 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.572e-05/1.277, allocations: 4 kB / 0.7874 GB, free: 3.988 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01112/1.288, allocations: 3.101 MB / 0.7904 GB, free: 0.8672 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001067/1.289, allocations: 199.7 kB / 0.7906 GB, free: 0.6719 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01218/1.301, allocations: 8.836 MB / 0.7992 GB, free: 7.348 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003278/1.304, allocations: 254.6 kB / 0.7995 GB, free: 7.098 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002812/1.305, allocations: 76.22 kB / 0.7996 GB, free: 7.023 MB / 0.5261 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: sT5B.K_r.y:VARIABLE() "Output signal connector" type: Real sT5B.imLimitedLeadLag.gain.y:VARIABLE() "Output signal connector" type: Real sT5B.VR0:VARIABLE(unit = "1" fixed = false protected = true ) type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: sT5B.imLimitedLeadLag4.gain.y:VARIABLE() "Output signal connector" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: sT5B.imLimitedLeadLag5.gain.y:VARIABLE() "Output signal connector" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: sT5B.imLimitedLeadLag1.gain.y:VARIABLE() "Output signal connector" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: sT5B.imLimitedLeadLag3.gain.y:VARIABLE() "Output signal connector" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,sT5B.imLimitedLeadLag5.integrator.local_reset,sT5B.imLimitedLeadLag4.integrator.local_reset,sT5B.imLimitedLeadLag3.integrator.local_reset,sT5B.imLimitedLeadLag1.integrator.local_reset,sT5B.imLimitedLeadLag2.integrator.local_reset,sT5B.imLimitedLeadLag.integrator.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (120): * Single equations (assignments): 115 * 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: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 5 {1 4,1 4,1 4,1 4,36 58} Notification: Performance of prepare postOptimizeDAE: time 0.0005865/1.305, allocations: 152.6 kB / 0.7997 GB, free: 6.867 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005607/1.306, allocations: 213.4 kB / 0.7999 GB, free: 6.656 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01724/1.323, allocations: 5.569 MB / 0.8053 GB, free: 1.07 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.116e-05/1.323, allocations: 19.98 kB / 0.8054 GB, free: 1.051 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.864e-06/1.323, allocations: 7.906 kB / 0.8054 GB, free: 1.043 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.313e-05/1.323, allocations: 11.97 kB / 0.8054 GB, free: 1.031 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02337/1.347, allocations: 7.886 MB / 0.8131 GB, free: 9.039 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.181e-05/1.347, allocations: 0 / 0.8131 GB, free: 9.039 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002284/1.349, allocations: 259.7 kB / 0.8133 GB, free: 8.785 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007218/1.356, allocations: 2.064 MB / 0.8153 GB, free: 6.715 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004764/1.357, allocations: 15.98 kB / 0.8154 GB, free: 6.699 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01893/1.376, allocations: 7.168 MB / 0.8224 GB, free: 15.41 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.931e-06/1.376, allocations: 0 / 0.8224 GB, free: 15.41 MB / 0.5573 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0202/1.396, allocations: 6.823 MB / 0.829 GB, free: 8.535 MB / 0.5573 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.02201/1.418, allocations: 8.329 MB / 0.8372 GB, free: 156 kB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001041/1.419, allocations: 334.9 kB / 0.8375 GB, free: 15.8 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005299/1.42, allocations: 4 kB / 0.8375 GB, free: 15.8 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002183/1.422, allocations: 219.8 kB / 0.8377 GB, free: 15.58 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004411/1.422, allocations: 173 kB / 0.8379 GB, free: 15.41 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001483/1.423, allocations: 51.89 kB / 0.8379 GB, free: 15.36 MB / 0.573 GB Notification: Performance of sort global known variables: time 0.001583/1.424, allocations: 1.036 MB / 0.8389 GB, free: 14.3 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.003638/1.428, allocations: 0.9002 MB / 0.8398 GB, free: 13.4 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 17 (gENCLS.omega,gENCLS.delta,gENCLS.eq,sT5B.imLimitedLeadLag.integrator.y,sT5B.imLimitedLeadLag2.integrator.y,sT5B.imLimitedLeadLag1.integrator.y,sT5B.imLimitedLeadLag3.integrator.y,sT5B.imLimitedLeadLag4.integrator.y,sT5B.imLimitedLeadLag5.integrator.y,sT5B.simpleLagLimVar.state,sT5B.TransducerDelay.state,gENROE.w,gENROE.delta,gENROE.Epd,gENROE.Epq,gENROE.PSIkd,gENROE.PSIkq) * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (120): * Single equations (assignments): 119 * 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.0003846/1.428, allocations: 174.3 kB / 0.84 GB, free: 13.22 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.01701/1.445, allocations: 5.419 MB / 0.8453 GB, free: 7.766 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 6.953e-06/1.445, allocations: 0 / 0.8453 GB, free: 7.766 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.006404/1.452, allocations: 1.98 MB / 0.8472 GB, free: 5.77 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001701/1.453, allocations: 182 kB / 0.8474 GB, free: 5.59 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008621/1.462, allocations: 3.249 MB / 0.8505 GB, free: 2.281 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001754/1.464, allocations: 1.645 MB / 0.8521 GB, free: 0.6016 MB / 0.573 GB Notification: Performance of SimCode: time 7.11e-07/1.464, allocations: 0 / 0.8521 GB, free: 0.6016 MB / 0.573 GB (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.ST5B.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.ST5B.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.ST5B.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.ST5B.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_ES_ST5B_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_ES_ST5B.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.ST5B.pipe 2>&1)