Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_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.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: translateModel(OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR,tolerance=0.001,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR") translateModel(OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR,tolerance=0.001,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR") [: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.004238/0.004238, allocations: 178.6 kB / 7.454 MB, free: 2.266 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.313/1.313, allocations: 221.4 MB / 229.3 MB, free: 3.02 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.0009973/0.0009974, allocations: 97.81 kB / 280.1 MB, free: 1.246 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4216/0.4216, allocations: 78.93 MB / 409.8 MB, free: 14.93 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 6.873e-06/7.064e-06, allocations: 0 / 485.4 MB, free: 3.648 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2961/0.2961, allocations: 69.5 MB / 0.5419 GB, free: 20.78 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.132/0.4281, allocations: 112.5 MB / 0.6517 GB, free: 7.391 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002196/0.4284, allocations: 75.94 kB / 0.6518 GB, free: 7.316 MB / 474.7 MB Notification: Performance of FrontEnd: time 0.5211/0.9495, allocations: 121.9 MB / 0.7709 GB, free: 36.91 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0004169/0.95, allocations: 83.94 kB / 0.771 GB, free: 36.83 MB / 490.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.01555/0.9655, allocations: 5.34 MB / 0.7762 GB, free: 31.42 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.72e-05/0.9656, allocations: 16.03 kB / 0.7762 GB, free: 31.41 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009/0.9746, allocations: 1.523 MB / 0.7777 GB, free: 29.88 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005725/0.9803, allocations: 3.021 MB / 0.7806 GB, free: 26.78 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007684/0.9811, allocations: 0.9139 MB / 0.7815 GB, free: 25.71 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005213/0.9817, allocations: 179.8 kB / 0.7817 GB, free: 25.54 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005161/0.9868, allocations: 3.045 MB / 0.7847 GB, free: 22.48 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005118/0.992, allocations: 3.041 MB / 0.7876 GB, free: 19.38 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.162e-05/0.992, allocations: 11.92 kB / 0.7877 GB, free: 19.36 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000321/0.9924, allocations: 3.984 kB / 0.7877 GB, free: 19.36 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.498e-05/0.9924, allocations: 64 kB / 0.7877 GB, free: 19.3 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02502/1.017, allocations: 15.05 MB / 0.8024 GB, free: 3.727 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004622/1.022, allocations: 3.203 MB / 0.8055 GB, free: 500 kB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00268/1.025, allocations: 1.855 MB / 0.8074 GB, free: 14.61 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007665/1.026, allocations: 0.7699 MB / 0.8081 GB, free: 13.67 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003528/1.029, allocations: 2.205 MB / 0.8103 GB, free: 11.41 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=331): time 4.679e-06/1.029, allocations: 0 / 0.8103 GB, free: 11.41 MB / 0.4948 GB Notification: Performance of matching and sorting (n=331): time 0.03624/1.065, allocations: 12.28 MB / 0.8223 GB, free: 15.09 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.866e-05/1.065, allocations: 188.8 kB / 0.8224 GB, free: 14.86 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005629/1.071, allocations: 3.319 MB / 0.8257 GB, free: 11.54 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0006575/1.072, allocations: 33.69 kB / 0.8257 GB, free: 11.5 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006343/1.072, allocations: 0.9779 MB / 0.8267 GB, free: 10.51 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.002304/1.075, allocations: 1.112 MB / 0.8277 GB, free: 9.379 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002468/1.075, allocations: 4.125 kB / 0.8277 GB, free: 9.375 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0002028/1.075, allocations: 449.7 kB / 0.8282 GB, free: 8.93 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002892/1.078, allocations: 1.691 MB / 0.8298 GB, free: 7.238 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003039/1.081, allocations: 2.031 MB / 0.8318 GB, free: 5.125 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004051/1.085, allocations: 1.896 MB / 0.8337 GB, free: 3.223 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.858e-06/1.085, allocations: 4 kB / 0.8337 GB, free: 3.219 MB / 0.5105 GB Notification: Performance of matching and sorting (n=471) (initialization): time 0.01112/1.096, allocations: 5.661 MB / 0.8392 GB, free: 13.54 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.563e-05/1.096, allocations: 4 kB / 0.8392 GB, free: 13.53 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.889e-05/1.096, allocations: 11.98 kB / 0.8392 GB, free: 13.52 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02054/1.117, allocations: 6.519 MB / 0.8456 GB, free: 6.992 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003025/1.12, allocations: 0.5773 MB / 0.8461 GB, free: 6.414 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01356/1.134, allocations: 6.08 MB / 0.8521 GB, free: 316 kB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006211/1.14, allocations: 0.6413 MB / 0.8527 GB, free: 15.66 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004502/1.14, allocations: 136 kB / 0.8528 GB, free: 15.53 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.0006882/1.141, allocations: 152.2 kB / 0.853 GB, free: 15.38 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000917/1.142, allocations: 462.3 kB / 0.8534 GB, free: 14.92 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03637/1.178, allocations: 12.59 MB / 0.8657 GB, free: 2.266 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.878e-05/1.178, allocations: 32 kB / 0.8658 GB, free: 2.234 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.208e-05/1.178, allocations: 4 kB / 0.8658 GB, free: 2.23 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001039/1.178, allocations: 15.94 kB / 0.8658 GB, free: 2.215 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04608/1.225, allocations: 17.98 MB / 0.8833 GB, free: 56 kB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.041e-05/1.225, allocations: 0 / 0.8833 GB, free: 56 kB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.1899/1.415, allocations: 439.6 kB / 0.8837 GB, free: 158.8 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01415/1.429, allocations: 4.545 MB / 0.8882 GB, free: 158.8 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009567/1.43, allocations: 36.84 kB / 0.8882 GB, free: 158.8 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03524/1.465, allocations: 14.77 MB / 0.9027 GB, free: 157.4 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.127e-06/1.465, allocations: 0 / 0.9027 GB, free: 157.4 MB / 0.5573 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.04009/1.505, allocations: 15.27 MB / 0.9176 GB, free: 156.7 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001986/1.507, allocations: 0.678 MB / 0.9182 GB, free: 156.3 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001322/1.508, allocations: 17.44 kB / 0.9182 GB, free: 156.3 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005453/1.514, allocations: 482.9 kB / 0.9187 GB, free: 156.3 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001321/1.515, allocations: 399.6 kB / 0.9191 GB, free: 156.3 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003503/1.516, allocations: 91.02 kB / 0.9192 GB, free: 156.3 MB / 0.5573 GB Notification: Performance of sort global known variables: time 0.004821/1.52, allocations: 2.454 MB / 0.9216 GB, free: 156.1 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.005923/1.526, allocations: 1.129 MB / 0.9227 GB, free: 156.1 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.001109/1.528, allocations: 343.6 kB / 0.923 GB, free: 156 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.01702/1.545, allocations: 6.17 MB / 0.929 GB, free: 155.8 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.008e-05/1.545, allocations: 0 / 0.929 GB, free: 155.8 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.01262/1.557, allocations: 4.151 MB / 0.9331 GB, free: 155.6 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00415/1.561, allocations: 308.8 kB / 0.9334 GB, free: 155.6 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0235/1.585, allocations: 7.55 MB / 0.9407 GB, free: 153.3 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00484/1.59, allocations: 2.669 MB / 0.9434 GB, free: 152.4 MB / 0.5573 GB Notification: Performance of SimCode: time 9.12e-07/1.59, allocations: 0 / 0.9434 GB, free: 152.4 MB / 0.5573 GB Notification: Performance of Templates: time 0.1138/1.704, allocations: 62.14 MB / 1.004 GB, free: 132.8 MB / 0.5573 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR.makefile (rm -f OpenIPSL_dev_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR.sim & ./OpenIPSL_dev_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR.pipe 2>&1)