Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.IEEET1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo", uses=false) Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.ES.IEEET1,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_IEEET1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.ES.IEEET1,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_IEEET1",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 4.0.0+maint.om/package.mo): time 0.002935/0.002935, allocations: 181.6 kB / 7.457 MB, free: 2.508 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.231/1.231, allocations: 221.4 MB / 229.3 MB, free: 3.023 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009027/0.0009027, allocations: 89.47 kB / 280.1 MB, free: 1.242 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4595/0.4595, allocations: 78.91 MB / 409.8 MB, free: 14.98 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1715/0.6311, allocations: 75.66 MB / 485.5 MB, free: 3.555 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3685/0.9996, allocations: 69.5 MB / 0.542 GB, free: 20.78 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.154/1.154, allocations: 111.6 MB / 0.651 GB, free: 8.266 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003389/1.154, allocations: 91.94 kB / 0.651 GB, free: 8.176 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 254 * Number of variables: 254 Notification: Performance of Generate backend data structure: time 0.4116/1.566, allocations: 43.4 MB / 0.6934 GB, free: 46.73 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.13e-05/1.566, allocations: 7.812 kB / 0.6934 GB, free: 46.73 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003597/1.569, allocations: 0.5809 MB / 0.694 GB, free: 46.62 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002788/1.572, allocations: 1.013 MB / 0.695 GB, free: 46.22 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004706/1.573, allocations: 404.7 kB / 0.6954 GB, free: 45.87 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004843/1.573, allocations: 64.12 kB / 0.6954 GB, free: 45.87 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002527/1.576, allocations: 1.068 MB / 0.6965 GB, free: 45.86 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002095/1.578, allocations: 1.104 MB / 0.6976 GB, free: 45.76 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.613e-05/1.578, allocations: 0 / 0.6976 GB, free: 45.76 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000122/1.578, allocations: 0 / 0.6976 GB, free: 45.76 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.019e-05/1.578, allocations: 26.69 kB / 0.6976 GB, free: 45.76 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0107/1.589, allocations: 4.987 MB / 0.7025 GB, free: 44.16 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001879/1.591, allocations: 1.054 MB / 0.7035 GB, free: 44.07 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001079/1.592, allocations: 0.6893 MB / 0.7042 GB, free: 44.04 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005866/1.592, allocations: 0.7337 MB / 0.7049 GB, free: 43.19 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001389/1.594, allocations: 0.8273 MB / 0.7057 GB, free: 43.1 MB / 490.7 MB Notification: Performance of pre-optimization done (n=129): time 4.348e-06/1.594, allocations: 0 / 0.7057 GB, free: 43.1 MB / 490.7 MB Notification: Performance of matching and sorting (n=129): time 0.01559/1.61, allocations: 5.159 MB / 0.7107 GB, free: 42.61 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.967e-05/1.61, allocations: 115.7 kB / 0.7108 GB, free: 42.49 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002313/1.612, allocations: 1.06 MB / 0.7119 GB, free: 42.33 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003523/1.612, allocations: 29.64 kB / 0.7119 GB, free: 42.3 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002647/1.613, allocations: 403.1 kB / 0.7123 GB, free: 42.09 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007998/1.613, allocations: 445.4 kB / 0.7127 GB, free: 41.79 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002069/1.614, allocations: 4 kB / 0.7127 GB, free: 41.79 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001283/1.614, allocations: 364.1 kB / 0.7131 GB, free: 41.48 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0011/1.615, allocations: 0.578 MB / 0.7136 GB, free: 41.48 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001139/1.616, allocations: 0.7584 MB / 0.7144 GB, free: 41.32 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001496/1.618, allocations: 0.6661 MB / 0.715 GB, free: 41.3 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.005e-05/1.618, allocations: 3.969 kB / 0.715 GB, free: 41.3 MB / 490.7 MB Notification: Performance of matching and sorting (n=176) (initialization): time 0.004117/1.622, allocations: 2.054 MB / 0.717 GB, free: 41.11 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.109e-05/1.622, allocations: 3.531 kB / 0.717 GB, free: 41.11 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.027e-05/1.622, allocations: 9.891 kB / 0.717 GB, free: 41.11 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007907/1.63, allocations: 2.362 MB / 0.7193 GB, free: 40.94 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001063/1.631, allocations: 213.5 kB / 0.7195 GB, free: 40.93 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0051/1.636, allocations: 2.523 MB / 0.722 GB, free: 40.32 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00231/1.638, allocations: 233.9 kB / 0.7222 GB, free: 40.25 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002695/1.638, allocations: 53.02 kB / 0.7223 GB, free: 40.25 MB / 490.7 MB 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,iEEET1.rotatingExciter.sISO.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (119): * Single equations (assignments): 117 * 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.0004019/1.639, allocations: 128.5 kB / 0.7224 GB, free: 40.12 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006254/1.64, allocations: 165.6 kB / 0.7226 GB, free: 40.04 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01536/1.655, allocations: 5.266 MB / 0.7277 GB, free: 39.6 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.139e-05/1.655, allocations: 11.59 kB / 0.7277 GB, free: 39.6 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.314e-05/1.655, allocations: 0 / 0.7277 GB, free: 39.6 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.333e-05/1.655, allocations: 11.34 kB / 0.7277 GB, free: 39.6 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02004/1.675, allocations: 7.177 MB / 0.7347 GB, free: 38.61 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.869e-05/1.675, allocations: 0 / 0.7347 GB, free: 38.61 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001225/1.676, allocations: 155 kB / 0.7349 GB, free: 38.6 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006768/1.683, allocations: 2.064 MB / 0.7369 GB, free: 38.45 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003366/1.684, allocations: 14.73 kB / 0.7369 GB, free: 38.45 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01832/1.702, allocations: 7.162 MB / 0.7439 GB, free: 36.88 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.11e-06/1.702, allocations: 0 / 0.7439 GB, free: 36.88 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0214/1.723, allocations: 6.309 MB / 0.7501 GB, free: 36.21 MB / 490.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.02156/1.745, allocations: 7.639 MB / 0.7575 GB, free: 31.77 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008925/1.746, allocations: 266.8 kB / 0.7578 GB, free: 31.49 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007682/1.747, allocations: 7.906 kB / 0.7578 GB, free: 31.48 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002207/1.749, allocations: 171 kB / 0.758 GB, free: 31.32 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005704/1.75, allocations: 149 kB / 0.7581 GB, free: 31.17 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001978/1.75, allocations: 39.98 kB / 0.7581 GB, free: 31.13 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.001467/1.751, allocations: 0.81 MB / 0.7589 GB, free: 30.32 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.00263/1.754, allocations: 495.1 kB / 0.7594 GB, free: 29.84 MB / 490.7 MB 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,gENROE.w,gENROE.delta,gENROE.Epd,gENROE.Epq,gENROE.PSIkd,gENROE.PSIkq,iEEET1.derivativeLag.x,iEEET1.simpleLagLim.state,iEEET1.rotatingExciter.sISO.y,iEEET1.TransducerDelay.state) * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (86): * Single equations (assignments): 85 * 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.0005247/1.754, allocations: 181.2 kB / 0.7596 GB, free: 29.66 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.007543/1.762, allocations: 2.423 MB / 0.7619 GB, free: 27.23 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 6.713e-06/1.762, allocations: 0 / 0.7619 GB, free: 27.23 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006337/1.768, allocations: 1.832 MB / 0.7637 GB, free: 25.39 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001957/1.77, allocations: 101.8 kB / 0.7638 GB, free: 25.29 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007778/1.778, allocations: 2.43 MB / 0.7662 GB, free: 22.82 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001646/1.78, allocations: 1.386 MB / 0.7676 GB, free: 21.4 MB / 490.7 MB Notification: Performance of SimCode: time 9.71e-07/1.78, allocations: 4 kB / 0.7676 GB, free: 21.4 MB / 490.7 MB (rm -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.IEEET1.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.IEEET1.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.IEEET1.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.IEEET1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_IEEET1_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_IEEET1.fmu > OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.IEEET1.pipe 2>&1)