Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.IEEET2.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.IEEET2,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_ES_IEEET2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.ES.IEEET2,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_ES_IEEET2",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.003145/0.003145, allocations: 180.2 kB / 7.455 MB, free: 2.242 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.202/1.202, 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.0009388/0.0009388, allocations: 100.9 kB / 261.1 MB, free: 13.61 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.07449/0.07449, allocations: 12.2 MB / 321.2 MB, free: 1.359 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.2923/0.2923, allocations: 78.05 MB / 449.9 MB, free: 3.664 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.3006/0.593, allocations: 76.1 MB / 0.5137 GB, free: 30.26 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1444/0.7374, allocations: 69.21 MB / 0.5813 GB, free: 9.145 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4437/1.181, allocations: 112.7 MB / 0.6913 GB, free: 12.56 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000353/1.182, allocations: 92.19 kB / 0.6914 GB, free: 12.51 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: 258 * Number of variables: 258 Notification: Performance of Generate backend data structure: time 0.1325/1.314, allocations: 45.16 MB / 0.7355 GB, free: 7.266 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.988e-05/1.314, allocations: 19.92 kB / 0.7355 GB, free: 7.246 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004135/1.318, allocations: 0.5829 MB / 0.7361 GB, free: 6.703 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003339/1.322, allocations: 1.023 MB / 0.7371 GB, free: 5.875 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005988/1.322, allocations: 430 kB / 0.7375 GB, free: 5.383 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004837/1.323, allocations: 60 kB / 0.7376 GB, free: 5.324 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002748/1.326, allocations: 1.086 MB / 0.7386 GB, free: 4.668 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002464/1.328, allocations: 1.123 MB / 0.7397 GB, free: 3.863 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.534e-05/1.328, allocations: 0 / 0.7397 GB, free: 3.863 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001318/1.328, allocations: 0 / 0.7397 GB, free: 3.863 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.956e-05/1.328, allocations: 24 kB / 0.7398 GB, free: 3.84 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01201/1.34, allocations: 5.071 MB / 0.7447 GB, free: 15.81 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002045/1.342, allocations: 1.065 MB / 0.7457 GB, free: 15.14 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001396/1.344, allocations: 0.7126 MB / 0.7464 GB, free: 14.59 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007409/1.345, allocations: 0.7375 MB / 0.7472 GB, free: 13.69 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001552/1.346, allocations: 0.8422 MB / 0.748 GB, free: 12.82 MB / 490.7 MB Notification: Performance of pre-optimization done (n=131): time 4.328e-06/1.346, allocations: 0 / 0.748 GB, free: 12.82 MB / 490.7 MB Notification: Performance of matching and sorting (n=131): time 0.01836/1.365, allocations: 5.343 MB / 0.7532 GB, free: 7.457 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001114/1.365, allocations: 124.1 kB / 0.7533 GB, free: 7.312 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002975/1.368, allocations: 1.069 MB / 0.7544 GB, free: 6.238 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005815/1.368, allocations: 25.7 kB / 0.7544 GB, free: 6.207 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005706/1.369, allocations: 407 kB / 0.7548 GB, free: 5.801 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001527/1.37, allocations: 457.2 kB / 0.7552 GB, free: 5.344 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000314/1.371, allocations: 0 / 0.7552 GB, free: 5.344 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002829/1.371, allocations: 358 kB / 0.7556 GB, free: 4.988 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00152/1.373, allocations: 0.5937 MB / 0.7561 GB, free: 4.395 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001513/1.374, allocations: 0.7732 MB / 0.7569 GB, free: 3.57 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00201/1.376, allocations: 0.6701 MB / 0.7575 GB, free: 2.898 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.219e-05/1.376, allocations: 3.938 kB / 0.7575 GB, free: 2.895 MB / 490.7 MB Notification: Performance of matching and sorting (n=181) (initialization): time 0.005691/1.382, allocations: 2.12 MB / 0.7596 GB, free: 0.7656 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.197e-05/1.382, allocations: 8 kB / 0.7596 GB, free: 0.7578 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-05/1.382, allocations: 4 kB / 0.7596 GB, free: 0.7539 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008973/1.391, allocations: 2.369 MB / 0.7619 GB, free: 14.38 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001316/1.392, allocations: 223.6 kB / 0.7622 GB, free: 14.16 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006174/1.399, allocations: 2.528 MB / 0.7646 GB, free: 11.6 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002848/1.402, allocations: 230.8 kB / 0.7648 GB, free: 11.38 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003567/1.402, allocations: 55.98 kB / 0.7649 GB, free: 11.32 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$whenCondition2,iEEET2.rotatingExciter.sISO.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (124): * Single equations (assignments): 122 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 {30 26} Notification: Performance of prepare postOptimizeDAE: time 0.0004573/1.402, allocations: 136.6 kB / 0.765 GB, free: 11.18 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006556/1.403, allocations: 169.9 kB / 0.7652 GB, free: 11.01 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01784/1.421, allocations: 5.378 MB / 0.7704 GB, free: 5.613 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.081e-05/1.421, allocations: 15.94 kB / 0.7705 GB, free: 5.598 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.059e-05/1.421, allocations: 0 / 0.7705 GB, free: 5.598 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.849e-05/1.421, allocations: 7.969 kB / 0.7705 GB, free: 5.59 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02364/1.445, allocations: 7.266 MB / 0.7776 GB, free: 14.22 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.101e-05/1.445, allocations: 4 kB / 0.7776 GB, free: 14.22 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001346/1.446, allocations: 151.8 kB / 0.7777 GB, free: 14.07 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00757/1.454, allocations: 2.116 MB / 0.7798 GB, free: 11.95 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003774/1.454, allocations: 11.94 kB / 0.7798 GB, free: 11.94 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02252/1.477, allocations: 8.666 MB / 0.7882 GB, free: 3.031 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.16e-06/1.477, allocations: 0 / 0.7882 GB, free: 3.031 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.02058/1.497, allocations: 6.407 MB / 0.7945 GB, free: 12.57 MB / 0.5261 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.02442/1.522, allocations: 7.74 MB / 0.8021 GB, free: 4.781 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009878/1.523, allocations: 274.7 kB / 0.8023 GB, free: 4.492 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001067/1.524, allocations: 8 kB / 0.8023 GB, free: 4.484 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002745/1.527, allocations: 171.8 kB / 0.8025 GB, free: 4.316 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006163/1.528, allocations: 149 kB / 0.8026 GB, free: 4.172 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002337/1.528, allocations: 43.89 kB / 0.8027 GB, free: 4.129 MB / 0.5261 GB Notification: Performance of sort global known variables: time 0.001798/1.53, allocations: 0.8106 MB / 0.8035 GB, free: 3.32 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.002777/1.532, allocations: 499.2 kB / 0.8039 GB, free: 2.832 MB / 0.5261 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,iEEET2.simpleLag.state,iEEET2.derivativeLag.x,iEEET2.simpleLagLim.state,iEEET2.rotatingExciter.sISO.y,iEEET2.TransducerDelay.state) * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (85): * Single equations (assignments): 83 * 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 3,26 23} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006783/1.533, allocations: 182.9 kB / 0.8041 GB, free: 2.645 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.008527/1.542, allocations: 2.447 MB / 0.8065 GB, free: 188 kB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.431e-05/1.542, allocations: 0 / 0.8065 GB, free: 188 kB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.007217/1.549, allocations: 1.954 MB / 0.8084 GB, free: 14.21 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001752/1.551, allocations: 101.2 kB / 0.8085 GB, free: 14.11 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0084/1.559, allocations: 2.52 MB / 0.811 GB, free: 11.53 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001764/1.561, allocations: 1.402 MB / 0.8123 GB, free: 10.11 MB / 0.5417 GB Notification: Performance of SimCode: time 1.342e-06/1.561, allocations: 0 / 0.8123 GB, free: 10.11 MB / 0.5417 GB (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.IEEET2.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.IEEET2.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.IEEET2.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.IEEET2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_ES_IEEET2_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_ES_IEEET2.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.IEEET2.pipe 2>&1)