Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.IEEET1.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.IEEET1,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_ES_IEEET1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.ES.IEEET1,fileNamePrefix="OpenIPSL_2_0_0_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 3.2.3+maint.om/package.mo): time 0.002903/0.002903, allocations: 182.3 kB / 7.46 MB, free: 2.52 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.332/1.332, 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.0009393/0.000939, allocations: 92.19 kB / 261.1 MB, free: 13.55 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.07953/0.07953, 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.2965/0.2965, allocations: 78.06 MB / 449.9 MB, free: 3.664 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.3196/0.6161, allocations: 76.09 MB / 0.5137 GB, free: 30.31 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1434/0.7596, allocations: 69.23 MB / 0.5813 GB, free: 9.168 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4681/1.228, allocations: 112.5 MB / 0.6911 GB, free: 12.57 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002926/1.228, allocations: 82.02 kB / 0.6912 GB, free: 12.53 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: 254 * Number of variables: 254 Notification: Performance of Generate backend data structure: time 0.1345/1.363, allocations: 44.42 MB / 0.7346 GB, free: 7.898 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.33e-05/1.363, allocations: 11.94 kB / 0.7346 GB, free: 7.887 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004036/1.367, allocations: 0.592 MB / 0.7352 GB, free: 7.336 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002906/1.37, allocations: 1.009 MB / 0.7362 GB, free: 6.52 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005485/1.37, allocations: 400.6 kB / 0.7365 GB, free: 6.062 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004363/1.371, allocations: 71.31 kB / 0.7366 GB, free: 5.996 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002741/1.374, allocations: 1.072 MB / 0.7377 GB, free: 5.352 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002553/1.376, allocations: 1.098 MB / 0.7387 GB, free: 4.586 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.655e-05/1.376, allocations: 0 / 0.7387 GB, free: 4.586 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001316/1.376, allocations: 0 / 0.7387 GB, free: 4.586 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.633e-05/1.376, allocations: 24 kB / 0.7388 GB, free: 4.562 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01023/1.387, allocations: 4.979 MB / 0.7436 GB, free: 0.6094 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001835/1.388, allocations: 1.048 MB / 0.7446 GB, free: 15.95 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001091/1.39, allocations: 0.6992 MB / 0.7453 GB, free: 15.57 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006799/1.39, allocations: 0.7303 MB / 0.746 GB, free: 14.67 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001487/1.392, allocations: 0.8365 MB / 0.7469 GB, free: 14 MB / 490.7 MB Notification: Performance of pre-optimization done (n=129): time 3.927e-06/1.392, allocations: 3.938 kB / 0.7469 GB, free: 13.99 MB / 490.7 MB Notification: Performance of matching and sorting (n=129): time 0.01726/1.409, allocations: 5.158 MB / 0.7519 GB, free: 8.816 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.994e-05/1.409, allocations: 124.1 kB / 0.752 GB, free: 8.672 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001939/1.411, allocations: 1.061 MB / 0.753 GB, free: 7.602 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003405/1.411, allocations: 25.7 kB / 0.7531 GB, free: 7.57 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002755/1.412, allocations: 398.9 kB / 0.7535 GB, free: 7.172 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006808/1.412, allocations: 445.3 kB / 0.7539 GB, free: 6.73 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.429e-05/1.412, allocations: 0 / 0.7539 GB, free: 6.73 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001701/1.413, allocations: 357.8 kB / 0.7542 GB, free: 6.375 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001183/1.414, allocations: 0.5859 MB / 0.7548 GB, free: 5.793 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001375/1.415, allocations: 0.7616 MB / 0.7555 GB, free: 4.98 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001845/1.417, allocations: 0.6622 MB / 0.7562 GB, free: 4.32 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.702e-06/1.417, allocations: 0 / 0.7562 GB, free: 4.32 MB / 490.7 MB Notification: Performance of matching and sorting (n=176) (initialization): time 0.0054/1.423, allocations: 2.053 MB / 0.7582 GB, free: 2.254 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.311e-05/1.423, allocations: 4 kB / 0.7582 GB, free: 2.25 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.934e-05/1.423, allocations: 8.5 kB / 0.7582 GB, free: 2.242 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008701/1.431, allocations: 2.365 MB / 0.7605 GB, free: 15.87 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001106/1.432, allocations: 211.7 kB / 0.7607 GB, free: 15.67 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005545/1.438, allocations: 2.528 MB / 0.7632 GB, free: 13.11 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00235/1.44, allocations: 238.8 kB / 0.7634 GB, free: 12.88 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001691/1.441, allocations: 47.98 kB / 0.7635 GB, free: 12.83 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,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.0003255/1.441, allocations: 136.6 kB / 0.7636 GB, free: 12.69 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003189/1.441, allocations: 158 kB / 0.7637 GB, free: 12.53 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01705/1.458, allocations: 5.263 MB / 0.7689 GB, free: 7.242 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.862e-05/1.458, allocations: 23.91 kB / 0.7689 GB, free: 7.219 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.137e-06/1.458, allocations: 0 / 0.7689 GB, free: 7.219 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.004e-05/1.458, allocations: 7.969 kB / 0.7689 GB, free: 7.211 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02088/1.479, allocations: 7.167 MB / 0.7759 GB, free: 15.95 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.704e-05/1.479, allocations: 4 kB / 0.7759 GB, free: 15.94 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001217/1.481, allocations: 151.8 kB / 0.7761 GB, free: 15.79 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00741/1.488, allocations: 2.068 MB / 0.7781 GB, free: 13.72 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003969/1.488, allocations: 11.98 kB / 0.7781 GB, free: 13.71 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01957/1.508, allocations: 7.152 MB / 0.7851 GB, free: 6.438 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.011e-06/1.508, allocations: 3.938 kB / 0.7851 GB, free: 6.434 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.02035/1.528, allocations: 6.312 MB / 0.7912 GB, free: 80 kB / 0.5105 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.02286/1.551, allocations: 7.641 MB / 0.7987 GB, free: 8.383 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009914/1.552, allocations: 278.7 kB / 0.799 GB, free: 8.09 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000337/1.553, allocations: 0 / 0.799 GB, free: 8.09 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001837/1.555, allocations: 167.9 kB / 0.7991 GB, free: 7.926 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005052/1.555, allocations: 157 kB / 0.7993 GB, free: 7.773 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001323/1.555, allocations: 35.98 kB / 0.7993 GB, free: 7.738 MB / 0.5261 GB Notification: Performance of sort global known variables: time 0.001415/1.557, allocations: 0.8061 MB / 0.8001 GB, free: 6.934 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.002317/1.559, allocations: 491.1 kB / 0.8006 GB, free: 6.453 MB / 0.5261 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,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.0004753/1.56, allocations: 175 kB / 0.8007 GB, free: 6.273 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.00796/1.567, allocations: 2.427 MB / 0.8031 GB, free: 3.84 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 6.733e-06/1.568, allocations: 0.875 kB / 0.8031 GB, free: 3.84 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.006348/1.574, allocations: 1.824 MB / 0.8049 GB, free: 2.008 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001421/1.575, allocations: 105.1 kB / 0.805 GB, free: 1.902 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006957/1.582, allocations: 2.435 MB / 0.8074 GB, free: 15.41 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001559/1.584, allocations: 1.382 MB / 0.8087 GB, free: 14 MB / 0.5417 GB Notification: Performance of SimCode: time 1.413e-06/1.584, allocations: 0 / 0.8087 GB, free: 14 MB / 0.5417 GB (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.IEEET1.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.IEEET1.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.IEEET1.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.IEEET1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_ES_IEEET1_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_ES_IEEET1.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.IEEET1.pipe 2>&1)