Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.EXNI.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.EXNI,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_EXNI",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.ES.EXNI,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_EXNI",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.004426/0.004426, allocations: 179.9 kB / 7.458 MB, free: 2.5 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.388/1.388, allocations: 221.4 MB / 229.3 MB, free: 3.082 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.0009466/0.0009469, allocations: 94.7 kB / 280.1 MB, free: 1.328 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4724/0.4724, allocations: 78.92 MB / 409.8 MB, free: 14.97 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1692/0.6416, allocations: 75.65 MB / 485.5 MB, free: 3.57 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3566/0.9982, allocations: 69.52 MB / 0.542 GB, free: 20.86 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1361/1.134, allocations: 110.2 MB / 0.6496 GB, free: 9.715 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002347/1.135, allocations: 87.95 kB / 0.6496 GB, free: 9.629 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.3721/1.507, allocations: 41.49 MB / 0.6902 GB, free: 104.6 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.101e-05/1.507, allocations: 9.156 kB / 0.6902 GB, free: 104.6 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003426/1.51, allocations: 0.5895 MB / 0.6907 GB, free: 104.5 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002045/1.512, allocations: 0.9843 MB / 0.6917 GB, free: 104.1 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004291/1.513, allocations: 435.4 kB / 0.6921 GB, free: 103.7 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002847/1.513, allocations: 59.47 kB / 0.6922 GB, free: 103.7 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002009/1.515, allocations: 1.073 MB / 0.6932 GB, free: 103.7 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002046/1.517, allocations: 1.088 MB / 0.6943 GB, free: 103.6 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.542e-05/1.517, allocations: 0 / 0.6943 GB, free: 103.6 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001155/1.517, allocations: 3.906 kB / 0.6943 GB, free: 103.6 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.762e-05/1.517, allocations: 22.62 kB / 0.6943 GB, free: 103.6 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008842/1.526, allocations: 4.805 MB / 0.699 GB, free: 100.9 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001949/1.528, allocations: 1.142 MB / 0.7001 GB, free: 100.4 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001342/1.53, allocations: 0.6806 MB / 0.7008 GB, free: 100 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001568/1.53, allocations: 27.8 kB / 0.7008 GB, free: 100 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.269e-05/1.53, allocations: 48.88 kB / 0.7009 GB, free: 99.98 MB / 490.7 MB Notification: Performance of pre-optimization done (n=127): time 3.076e-06/1.53, allocations: 4 kB / 0.7009 GB, free: 99.97 MB / 490.7 MB Notification: Performance of matching and sorting (n=127): time 0.01783/1.548, allocations: 5.231 MB / 0.706 GB, free: 98.8 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.259e-05/1.548, allocations: 147.5 kB / 0.7061 GB, free: 98.64 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00198/1.55, allocations: 1.015 MB / 0.7071 GB, free: 98.19 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003294/1.55, allocations: 25.7 kB / 0.7071 GB, free: 98.16 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002574/1.55, allocations: 388.6 kB / 0.7075 GB, free: 97.89 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007352/1.551, allocations: 442.7 kB / 0.7079 GB, free: 97.54 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001565/1.551, allocations: 0 / 0.7079 GB, free: 97.54 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.000104/1.551, allocations: 356 kB / 0.7083 GB, free: 97.22 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001056/1.552, allocations: 0.5605 MB / 0.7088 GB, free: 96.95 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001125/1.554, allocations: 0.7192 MB / 0.7095 GB, free: 96.52 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001365/1.555, allocations: 0.6279 MB / 0.7101 GB, free: 96.23 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.552e-06/1.555, allocations: 0.9688 kB / 0.7101 GB, free: 96.23 MB / 490.7 MB Notification: Performance of matching and sorting (n=165) (initialization): time 0.00434/1.559, allocations: 2.071 MB / 0.7121 GB, free: 95.31 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002543/1.56, allocations: 1.444 MB / 0.7136 GB, free: 93.75 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.491e-05/1.56, allocations: 6.031 kB / 0.7136 GB, free: 93.75 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009068/1.569, allocations: 2.592 MB / 0.7161 GB, free: 92.1 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009627/1.57, allocations: 154.8 kB / 0.7162 GB, free: 91.96 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00621/1.576, allocations: 2.911 MB / 0.7191 GB, free: 89.12 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002372/1.578, allocations: 226.8 kB / 0.7193 GB, free: 88.9 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002889/1.579, allocations: 58.61 kB / 0.7194 GB, free: 88.84 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.479e-05/1.579, allocations: 0 / 0.7194 GB, free: 88.84 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003739/1.582, allocations: 1.87 MB / 0.7212 GB, free: 86.97 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.703e-05/1.582, allocations: 4 kB / 0.7212 GB, free: 86.96 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008378/1.591, allocations: 2.588 MB / 0.7237 GB, free: 84.38 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008634/1.592, allocations: 155.8 kB / 0.7239 GB, free: 84.23 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006067/1.598, allocations: 2.89 MB / 0.7267 GB, free: 81.31 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002546/1.6, allocations: 207 kB / 0.7269 GB, free: 81.11 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002702/1.601, allocations: 43.98 kB / 0.7269 GB, free: 81.06 MB / 490.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: eXNI.ECOMP0:VARIABLE(fixed = false protected = true ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 1 (eXNI.booleanConstant.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (87): * Single equations (assignments): 86 * 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 {34 45} Notification: Performance of prepare postOptimizeDAE: time 0.0005544/1.601, allocations: 132.6 kB / 0.727 GB, free: 80.93 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008621/1.602, allocations: 154.1 kB / 0.7272 GB, free: 80.77 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01626/1.618, allocations: 5.38 MB / 0.7325 GB, free: 75.39 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.421e-05/1.619, allocations: 16 kB / 0.7325 GB, free: 75.37 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.033e-05/1.619, allocations: 7.938 kB / 0.7325 GB, free: 75.36 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.165e-05/1.619, allocations: 3.984 kB / 0.7325 GB, free: 75.36 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02001/1.639, allocations: 7.268 MB / 0.7396 GB, free: 68.04 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-05/1.639, allocations: 0 / 0.7396 GB, free: 68.04 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001037/1.64, allocations: 148.4 kB / 0.7397 GB, free: 67.89 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006908/1.647, allocations: 2.115 MB / 0.7418 GB, free: 65.78 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004635/1.647, allocations: 13.23 kB / 0.7418 GB, free: 65.77 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01924/1.666, allocations: 8.686 MB / 0.7503 GB, free: 56.87 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.668e-06/1.666, allocations: 0 / 0.7503 GB, free: 56.87 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01753/1.684, allocations: 6.392 MB / 0.7565 GB, free: 50.45 MB / 490.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01968/1.704, allocations: 7.698 MB / 0.764 GB, free: 42.72 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006623/1.704, allocations: 266.8 kB / 0.7643 GB, free: 42.44 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006105/1.705, allocations: 4 kB / 0.7643 GB, free: 42.44 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00206/1.707, allocations: 159.9 kB / 0.7644 GB, free: 42.28 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004944/1.708, allocations: 153 kB / 0.7646 GB, free: 42.13 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001669/1.708, allocations: 39.98 kB / 0.7646 GB, free: 42.09 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.001348/1.709, allocations: 0.7693 MB / 0.7654 GB, free: 41.32 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.003969/1.713, allocations: 0.7213 MB / 0.7661 GB, free: 40.6 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 13 (gENCLS.delta,gENCLS.eq,gENROE.w,gENROE.delta,gENROE.Epd,gENROE.Epq,gENROE.PSIkd,gENROE.PSIkq,eXNI.derivativeLag.x,eXNI.simpleLag1.state,eXNI.TransducerDelay.state,eXNI.VR.state,gENCLS.omega) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (80): * Single equations (assignments): 78 * 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 4,26 23} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004258/1.714, allocations: 151 kB / 0.7662 GB, free: 40.45 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01342/1.727, allocations: 4.22 MB / 0.7704 GB, free: 36.22 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 8.907e-06/1.727, allocations: 0 / 0.7704 GB, free: 36.22 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006002/1.733, allocations: 1.916 MB / 0.7722 GB, free: 34.29 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001361/1.735, allocations: 101.1 kB / 0.7723 GB, free: 34.19 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007044/1.742, allocations: 2.572 MB / 0.7748 GB, free: 31.61 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001193/1.743, allocations: 1.377 MB / 0.7762 GB, free: 30.2 MB / 490.7 MB Notification: Performance of SimCode: time 7.81e-07/1.743, allocations: 0 / 0.7762 GB, free: 30.2 MB / 490.7 MB (rm -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.EXNI.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.EXNI.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.EXNI.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.EXNI.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_EXNI_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_EXNI.fmu > OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.EXNI.pipe 2>&1)