Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR.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.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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.Examples.TwoAreas.Two_Areas_PSSE_AVR,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_TwoAreas_Two_Areas_PSSE_AVR",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_TwoAreas_Two_Areas_PSSE_AVR",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.002693/0.002693, allocations: 180.9 kB / 7.457 MB, free: 2.516 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.26/1.26, allocations: 221.4 MB / 229.3 MB, free: 3.434 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.0009593/0.0009594, allocations: 98.62 kB / 280.1 MB, free: 1.305 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4501/0.4501, allocations: 78.07 MB / 409 MB, free: 15.57 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1573/0.6074, allocations: 75.47 MB / 484.4 MB, free: 4.371 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3697/0.9771, allocations: 69.35 MB / 0.5408 GB, free: 21.58 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1437/1.121, allocations: 111.9 MB / 0.65 GB, free: 8.922 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001883/1.121, allocations: 71.97 kB / 0.6501 GB, free: 8.852 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: 691 * Number of variables: 691 Notification: Performance of Generate backend data structure: time 0.6169/1.738, allocations: 132.4 MB / 0.7794 GB, free: 28.36 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.885e-05/1.738, allocations: 11.94 kB / 0.7794 GB, free: 28.35 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01072/1.749, allocations: 1.523 MB / 0.7809 GB, free: 26.82 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009705/1.758, allocations: 3.021 MB / 0.7839 GB, free: 23.72 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001045/1.76, allocations: 0.9139 MB / 0.7847 GB, free: 22.65 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001383/1.761, allocations: 183.8 kB / 0.7849 GB, free: 22.47 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.007859/1.769, allocations: 3.045 MB / 0.7879 GB, free: 19.42 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01263/1.781, allocations: 3.041 MB / 0.7909 GB, free: 16.31 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000172/1.782, allocations: 0 / 0.7909 GB, free: 16.31 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001196/1.783, allocations: 3.938 kB / 0.7909 GB, free: 16.31 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.729e-05/1.783, allocations: 75.92 kB / 0.7909 GB, free: 16.23 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03796/1.821, allocations: 15.04 MB / 0.8056 GB, free: 0.6719 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008199/1.829, allocations: 3.203 MB / 0.8088 GB, free: 13.43 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004339/1.834, allocations: 1.842 MB / 0.8106 GB, free: 11.57 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001253/1.835, allocations: 0.7854 MB / 0.8113 GB, free: 10.62 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005662/1.841, allocations: 2.197 MB / 0.8135 GB, free: 8.367 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=331): time 1.106e-05/1.841, allocations: 0 / 0.8135 GB, free: 8.367 MB / 0.4948 GB Notification: Performance of matching and sorting (n=331): time 0.04438/1.885, allocations: 12.29 MB / 0.8255 GB, free: 12.03 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001112/1.885, allocations: 188.8 kB / 0.8257 GB, free: 11.8 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01062/1.896, allocations: 3.315 MB / 0.8289 GB, free: 8.488 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.001238/1.897, allocations: 25.7 kB / 0.8289 GB, free: 8.457 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.001231/1.898, allocations: 0.9779 MB / 0.8299 GB, free: 7.461 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.003786/1.902, allocations: 1.12 MB / 0.831 GB, free: 6.324 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00114/1.903, allocations: 4.125 kB / 0.831 GB, free: 6.32 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.000486/1.904, allocations: 441.7 kB / 0.8314 GB, free: 5.883 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004463/1.908, allocations: 1.695 MB / 0.833 GB, free: 4.188 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004461/1.913, allocations: 2.035 MB / 0.835 GB, free: 2.07 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005559/1.918, allocations: 1.892 MB / 0.8369 GB, free: 176 kB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.062e-05/1.918, allocations: 0 / 0.8369 GB, free: 176 kB / 0.5105 GB Notification: Performance of matching and sorting (n=471) (initialization): time 0.01864/1.937, allocations: 5.649 MB / 0.8424 GB, free: 10.5 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.329e-05/1.937, allocations: 10.03 kB / 0.8424 GB, free: 10.49 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.603e-05/1.937, allocations: 8 kB / 0.8424 GB, free: 10.48 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02245/1.96, allocations: 6.527 MB / 0.8488 GB, free: 3.949 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003622/1.963, allocations: 0.5773 MB / 0.8494 GB, free: 3.371 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01644/1.98, allocations: 6.076 MB / 0.8553 GB, free: 13.27 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00767/1.988, allocations: 0.6413 MB / 0.8559 GB, free: 12.62 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001469/1.989, allocations: 128 kB / 0.856 GB, free: 12.5 MB / 0.5417 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: g3.sEXS.V_erro.y:VARIABLE() "Connector of Real output signal" type: Real g1.sEXS.V_erro.y:VARIABLE() "Connector of Real output signal" 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: 10 ($whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,g4.eSDC1A.rotatingExciterLimited.sISO.local_reset,g2.eSDC1A.rotatingExciterLimited.sISO.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (316): * Single equations (assignments): 313 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 {82 70} Notification: Performance of prepare postOptimizeDAE: time 0.00103/1.99, allocations: 147.1 kB / 0.8562 GB, free: 12.35 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002547/1.993, allocations: 458.3 kB / 0.8566 GB, free: 11.89 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04054/2.033, allocations: 12.59 MB / 0.8689 GB, free: 15.25 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.184e-05/2.033, allocations: 35.98 kB / 0.8689 GB, free: 15.22 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.338e-05/2.033, allocations: 4 kB / 0.8689 GB, free: 15.21 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00012/2.034, allocations: 15.94 kB / 0.869 GB, free: 15.2 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3284/2.362, allocations: 17.97 MB / 0.8865 GB, free: 152.4 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.45e-05/2.362, allocations: 3.438 kB / 0.8865 GB, free: 152.4 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003669/2.366, allocations: 439.6 kB / 0.8869 GB, free: 152.4 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.014/2.38, allocations: 4.548 MB / 0.8914 GB, free: 152.4 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001238/2.381, allocations: 41.45 kB / 0.8914 GB, free: 152.4 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03486/2.416, allocations: 14.77 MB / 0.9058 GB, free: 151 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.411e-06/2.416, allocations: 5.75 kB / 0.9058 GB, free: 151 MB / 0.5573 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.04231/2.458, allocations: 15.27 MB / 0.9207 GB, free: 150.2 MB / 0.5573 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.04676/2.505, allocations: 18.28 MB / 0.9386 GB, free: 148.8 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001847/2.507, allocations: 0.6847 MB / 0.9393 GB, free: 148.5 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001457/2.508, allocations: 15.5 kB / 0.9393 GB, free: 148.5 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006278/2.515, allocations: 478.1 kB / 0.9397 GB, free: 148.5 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001418/2.516, allocations: 393.5 kB / 0.9401 GB, free: 148.4 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003752/2.517, allocations: 93.3 kB / 0.9402 GB, free: 148.4 MB / 0.5573 GB Notification: Performance of sort global known variables: time 0.004963/2.522, allocations: 2.463 MB / 0.9426 GB, free: 148.3 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.007024/2.529, allocations: 1.147 MB / 0.9437 GB, free: 148.2 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 38 (g1.g1.w,g1.g1.delta,g1.g1.Epd,g1.g1.Epq,g1.g1.PSIkd,g1.g1.PSIkq,g1.sEXS.simpleLagLim.state,g1.sEXS.leadLag.TF.x_scaled[1],g2.g2.w,g2.g2.delta,g2.g2.Epd,g2.g2.Epq,g2.g2.PSIkd,g2.g2.PSIkq,g2.eSDC1A.imDerivativeLag.x,g2.eSDC1A.imLeadLag.TF.x_scaled[1],g2.eSDC1A.simpleLagLim.state,g2.eSDC1A.rotatingExciterLimited.sISO.y,g2.eSDC1A.TransducerDelay.state,g3.g3.w,g3.g3.delta,g3.g3.Epd,g3.g3.Epq,g3.g3.PSIkd,g3.g3.PSIkq,g3.sEXS.simpleLagLim.state,g3.sEXS.leadLag.TF.x_scaled[1],g4.gENSAL.w,g4.gENSAL.delta,g4.gENSAL.Epd,g4.gENSAL.Epq,g4.gENSAL.PSIkd,g4.gENSAL.PSIkq,g4.eSDC1A.imDerivativeLag.x,g4.eSDC1A.imLeadLag.TF.x_scaled[1],g4.eSDC1A.simpleLagLim.state,g4.eSDC1A.rotatingExciterLimited.sISO.y,g4.eSDC1A.TransducerDelay.state) * Number of discrete variables: 8 ($whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (238): * Single equations (assignments): 237 * 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 {54 52} Notification: Performance of Backend phase and start with SimCode phase: time 0.001405/2.53, allocations: 346 kB / 0.944 GB, free: 148.1 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.01759/2.548, allocations: 6.167 MB / 0.9501 GB, free: 147.7 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 7.224e-06/2.548, allocations: 0 / 0.9501 GB, free: 147.7 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.01233/2.56, allocations: 4.149 MB / 0.9541 GB, free: 146.5 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003502/2.564, allocations: 318.2 kB / 0.9544 GB, free: 146.3 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0217/2.585, allocations: 7.598 MB / 0.9618 GB, free: 143 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003913/2.589, allocations: 2.948 MB / 0.9647 GB, free: 142.1 MB / 0.5573 GB Notification: Performance of SimCode: time 7.82e-07/2.589, allocations: 0 / 0.9647 GB, free: 142.1 MB / 0.5573 GB (rm -f OpenIPSL_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Examples_TwoAreas_Two_Areas_PSSE_AVR_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=0.001 OpenIPSL_OpenIPSL_Examples_TwoAreas_Two_Areas_PSSE_AVR.fmu > OpenIPSL_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR.pipe 2>&1)