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: translateModel(OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR,tolerance=0.001,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_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_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.002638/0.002639, allocations: 179.4 kB / 7.455 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.276/1.276, 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.0009406/0.0009405, allocations: 98.19 kB / 280.1 MB, free: 1.254 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4004/0.4004, allocations: 78.05 MB / 408.9 MB, free: 15.5 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 5.711e-06/5.72e-06, allocations: 0 / 484.3 MB, free: 4.438 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2492/0.2492, allocations: 69.34 MB / 0.5407 GB, free: 21.54 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1217/0.371, allocations: 111.9 MB / 0.6499 GB, free: 8.934 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002039/0.3712, allocations: 79.97 kB / 0.65 GB, free: 8.855 MB / 474.7 MB Notification: Performance of FrontEnd: time 0.5329/0.9041, allocations: 127 MB / 0.774 GB, free: 33.93 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0003422/0.9045, allocations: 83.94 kB / 0.7741 GB, free: 33.85 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.01712/0.9217, allocations: 5.347 MB / 0.7793 GB, free: 28.43 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.548e-05/0.9217, allocations: 12.03 kB / 0.7793 GB, free: 28.42 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01072/0.9324, allocations: 1.527 MB / 0.7808 GB, free: 26.89 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007422/0.9399, allocations: 3.017 MB / 0.7838 GB, free: 23.8 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009576/0.9409, allocations: 0.91 MB / 0.7846 GB, free: 22.73 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000993/0.9419, allocations: 187.7 kB / 0.7848 GB, free: 22.55 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006018/0.948, allocations: 3.049 MB / 0.7878 GB, free: 19.49 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005968/0.9539, allocations: 3.041 MB / 0.7908 GB, free: 16.38 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.975e-05/0.954, allocations: 4 kB / 0.7908 GB, free: 16.38 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003468/0.9544, allocations: 0 / 0.7908 GB, free: 16.38 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.329e-05/0.9544, allocations: 64 kB / 0.7908 GB, free: 16.32 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03066/0.9851, allocations: 15.06 MB / 0.8055 GB, free: 0.7383 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006465/0.9916, allocations: 3.199 MB / 0.8087 GB, free: 13.5 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003499/0.9952, allocations: 1.847 MB / 0.8105 GB, free: 11.64 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009559/0.9961, allocations: 0.7738 MB / 0.8112 GB, free: 10.7 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004386/1.001, allocations: 2.209 MB / 0.8134 GB, free: 8.434 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=331): time 5.521e-06/1.001, allocations: 0 / 0.8134 GB, free: 8.434 MB / 0.4948 GB Notification: Performance of matching and sorting (n=331): time 0.04231/1.043, allocations: 12.27 MB / 0.8254 GB, free: 12.11 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.656e-05/1.043, allocations: 196.7 kB / 0.8256 GB, free: 11.88 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006312/1.049, allocations: 3.311 MB / 0.8288 GB, free: 8.57 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0009005/1.05, allocations: 29.69 kB / 0.8288 GB, free: 8.535 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008136/1.051, allocations: 0.9779 MB / 0.8298 GB, free: 7.539 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.003076/1.054, allocations: 1.116 MB / 0.8309 GB, free: 6.406 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003043/1.054, allocations: 4 kB / 0.8309 GB, free: 6.402 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0002644/1.055, allocations: 445.7 kB / 0.8313 GB, free: 5.961 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003375/1.058, allocations: 1.695 MB / 0.8329 GB, free: 4.266 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003581/1.062, allocations: 2.035 MB / 0.8349 GB, free: 2.148 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004797/1.067, allocations: 1.885 MB / 0.8368 GB, free: 264 kB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.722e-05/1.067, allocations: 4 kB / 0.8368 GB, free: 260 kB / 0.5105 GB Notification: Performance of matching and sorting (n=471) (initialization): time 0.01381/1.08, allocations: 5.653 MB / 0.8423 GB, free: 10.58 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.747e-05/1.08, allocations: 4 kB / 0.8423 GB, free: 10.57 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.63e-05/1.081, allocations: 8 kB / 0.8423 GB, free: 10.57 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02317/1.104, allocations: 6.531 MB / 0.8487 GB, free: 4.027 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003499/1.107, allocations: 0.5773 MB / 0.8493 GB, free: 3.449 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01553/1.123, allocations: 6.068 MB / 0.8552 GB, free: 13.36 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006977/1.13, allocations: 0.6413 MB / 0.8558 GB, free: 12.71 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009785/1.131, allocations: 132 kB / 0.8559 GB, free: 12.58 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.0009081/1.132, allocations: 152.4 kB / 0.8561 GB, free: 12.43 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001483/1.133, allocations: 454.3 kB / 0.8565 GB, free: 11.98 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04012/1.173, allocations: 12.59 MB / 0.8688 GB, free: 15.33 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.394e-05/1.173, allocations: 32 kB / 0.8688 GB, free: 15.3 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.046e-05/1.173, allocations: 0 / 0.8688 GB, free: 15.3 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.512e-05/1.174, allocations: 23.92 kB / 0.8689 GB, free: 15.28 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2261/1.4, allocations: 17.98 MB / 0.8864 GB, free: 154 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.305e-05/1.4, allocations: 0 / 0.8864 GB, free: 154 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003433/1.403, allocations: 436.7 kB / 0.8868 GB, free: 154 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01458/1.418, allocations: 4.548 MB / 0.8913 GB, free: 154 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001016/1.419, allocations: 36.31 kB / 0.8913 GB, free: 154 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03608/1.455, allocations: 14.78 MB / 0.9057 GB, free: 152.6 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.537e-06/1.455, allocations: 2.969 kB / 0.9057 GB, free: 152.6 MB / 0.5573 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.04204/1.497, allocations: 15.26 MB / 0.9207 GB, free: 151.8 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001803/1.499, allocations: 0.6822 MB / 0.9213 GB, free: 151.5 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001302/1.5, allocations: 15.72 kB / 0.9213 GB, free: 151.5 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005481/1.506, allocations: 475.6 kB / 0.9218 GB, free: 151.5 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001139/1.507, allocations: 401.5 kB / 0.9222 GB, free: 151.5 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003169/1.507, allocations: 87.48 kB / 0.9223 GB, free: 151.5 MB / 0.5573 GB Notification: Performance of sort global known variables: time 0.003596/1.511, allocations: 2.457 MB / 0.9247 GB, free: 151.3 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.003363/1.514, allocations: 1.129 MB / 0.9258 GB, free: 151.3 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.0006882/1.515, allocations: 348.2 kB / 0.9261 GB, free: 151.2 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.01612/1.531, allocations: 6.164 MB / 0.9321 GB, free: 151 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 8.015e-06/1.531, allocations: 0 / 0.9321 GB, free: 151 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.01199/1.543, allocations: 4.149 MB / 0.9362 GB, free: 150.8 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003152/1.546, allocations: 310.1 kB / 0.9365 GB, free: 150.8 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02143/1.568, allocations: 7.549 MB / 0.9438 GB, free: 148.5 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004804/1.573, allocations: 2.674 MB / 0.9464 GB, free: 147.6 MB / 0.5573 GB Notification: Performance of SimCode: time 1.473e-06/1.573, allocations: 0 / 0.9464 GB, free: 147.6 MB / 0.5573 GB Notification: Performance of Templates: time 0.1036/1.676, allocations: 62.13 MB / 1.007 GB, free: 129.4 MB / 0.5573 GB make -j1 -f OpenIPSL_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR.makefile (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 & ./OpenIPSL_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR.pipe 2>&1)