Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR.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-master/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-master/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: translateModel(OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR,tolerance=0.001,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_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_2.0.0_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 3.2.3+maint.om/package.mo): time 0.004989/0.004989, allocations: 180 kB / 7.454 MB, free: 2.504 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.267/1.267, 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.0008583/0.0008583, allocations: 103.3 kB / 261.1 MB, free: 13.61 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.0607/0.0607, allocations: 12.58 MB / 321.6 MB, free: 0.9766 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.2689/0.2689, allocations: 78.04 MB / 450.4 MB, free: 3.223 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 7.083e-06/7.103e-06, allocations: 0 / 0.5141 GB, free: 30 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1332/0.1332, allocations: 69.33 MB / 0.5818 GB, free: 8.781 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3378/0.4711, allocations: 113.5 MB / 0.6926 GB, free: 11.23 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002022/0.4714, allocations: 70.66 kB / 0.6927 GB, free: 11.2 MB / 442.7 MB Notification: Performance of FrontEnd: time 0.3281/0.7994, allocations: 124.2 MB / 0.814 GB, free: 9.262 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 0.0006934/0.8002, allocations: 91.94 kB / 0.8141 GB, free: 9.172 MB / 0.5417 GB 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.02085/0.8211, allocations: 5.354 MB / 0.8193 GB, free: 3.75 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.576e-05/0.8211, allocations: 11.97 kB / 0.8193 GB, free: 3.738 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01078/0.8319, allocations: 1.527 MB / 0.8208 GB, free: 2.203 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01058/0.8425, allocations: 3.021 MB / 0.8237 GB, free: 15.11 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001505/0.8441, allocations: 0.9099 MB / 0.8246 GB, free: 14.04 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001834/0.8459, allocations: 183.8 kB / 0.8248 GB, free: 13.86 MB / 0.5573 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.008641/0.8546, allocations: 3.057 MB / 0.8278 GB, free: 10.8 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008494/0.8631, allocations: 3.033 MB / 0.8307 GB, free: 7.699 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.764e-05/0.8632, allocations: 0 / 0.8307 GB, free: 7.699 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006121/0.8638, allocations: 0 / 0.8307 GB, free: 7.699 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.428e-05/0.8639, allocations: 72 kB / 0.8308 GB, free: 7.629 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03745/0.9014, allocations: 15.05 MB / 0.8455 GB, free: 8.043 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007111/0.9085, allocations: 3.205 MB / 0.8486 GB, free: 4.801 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003707/0.9123, allocations: 1.847 MB / 0.8504 GB, free: 2.934 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001429/0.9137, allocations: 0.7699 MB / 0.8512 GB, free: 1.992 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.2249/1.139, allocations: 2.201 MB / 0.8533 GB, free: 189.1 MB / 0.573 GB Notification: Performance of pre-optimization done (n=331): time 1.2e-05/1.139, allocations: 0 / 0.8533 GB, free: 189.1 MB / 0.573 GB Notification: Performance of matching and sorting (n=331): time 0.0368/1.176, allocations: 12.27 MB / 0.8653 GB, free: 189 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.772e-05/1.176, allocations: 198.2 kB / 0.8655 GB, free: 188.8 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006401/1.182, allocations: 3.314 MB / 0.8687 GB, free: 188.6 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.001033/1.183, allocations: 29.61 kB / 0.8688 GB, free: 188.5 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006307/1.184, allocations: 0.9788 MB / 0.8697 GB, free: 188.2 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.002959/1.187, allocations: 1.119 MB / 0.8708 GB, free: 187.6 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002953/1.187, allocations: 0 / 0.8708 GB, free: 187.6 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0002073/1.187, allocations: 445.1 kB / 0.8713 GB, free: 187.3 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002886/1.19, allocations: 1.689 MB / 0.8729 GB, free: 187.3 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003083/1.193, allocations: 2.037 MB / 0.8749 GB, free: 187 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004087/1.197, allocations: 1.892 MB / 0.8767 GB, free: 187 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.539e-05/1.197, allocations: 3.969 kB / 0.8767 GB, free: 187 MB / 0.573 GB Notification: Performance of matching and sorting (n=471) (initialization): time 0.01161/1.209, allocations: 5.653 MB / 0.8823 GB, free: 186.6 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 2.126e-05/1.209, allocations: 3.938 kB / 0.8823 GB, free: 186.6 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.458e-05/1.209, allocations: 9.094 kB / 0.8823 GB, free: 186.6 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02004/1.229, allocations: 6.525 MB / 0.8886 GB, free: 186.5 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003311/1.232, allocations: 0.5785 MB / 0.8892 GB, free: 186.5 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01354/1.246, allocations: 6.069 MB / 0.8951 GB, free: 185.8 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007699/1.254, allocations: 0.6424 MB / 0.8958 GB, free: 185.7 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009486/1.255, allocations: 132.6 kB / 0.8959 GB, free: 185.7 MB / 0.573 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.001542/1.256, allocations: 152.8 kB / 0.896 GB, free: 185.5 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002071/1.258, allocations: 462.7 kB / 0.8965 GB, free: 185.3 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03721/1.296, allocations: 12.57 MB / 0.9088 GB, free: 184.3 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.433e-05/1.296, allocations: 30.06 kB / 0.9088 GB, free: 184.3 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.698e-05/1.296, allocations: 7.578 kB / 0.9088 GB, free: 184.3 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001307/1.296, allocations: 17.94 kB / 0.9088 GB, free: 184.3 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05291/1.349, allocations: 17.99 MB / 0.9264 GB, free: 180.7 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.984e-05/1.349, allocations: 4 kB / 0.9264 GB, free: 180.7 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003638/1.353, allocations: 447.1 kB / 0.9268 GB, free: 180.3 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0144/1.367, allocations: 4.545 MB / 0.9312 GB, free: 176.6 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001153/1.368, allocations: 35.03 kB / 0.9313 GB, free: 176.6 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03667/1.405, allocations: 14.77 MB / 0.9457 GB, free: 163.5 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.35e-06/1.405, allocations: 0 / 0.9457 GB, free: 163.5 MB / 0.573 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.04377/1.449, allocations: 15.27 MB / 0.9606 GB, free: 150.5 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002284/1.451, allocations: 0.6829 MB / 0.9613 GB, free: 149.9 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002878/1.454, allocations: 11.61 kB / 0.9613 GB, free: 149.9 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007051/1.461, allocations: 478.3 kB / 0.9617 GB, free: 149.5 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001945/1.463, allocations: 400.8 kB / 0.9621 GB, free: 149.3 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009443/1.464, allocations: 95.44 kB / 0.9622 GB, free: 149.2 MB / 0.573 GB Notification: Performance of sort global known variables: time 0.005605/1.47, allocations: 2.455 MB / 0.9646 GB, free: 146.9 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.006301/1.476, allocations: 1.124 MB / 0.9657 GB, free: 145.9 MB / 0.573 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.001389/1.477, allocations: 343.1 kB / 0.966 GB, free: 145.6 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.01673/1.494, allocations: 6.167 MB / 0.9721 GB, free: 139.9 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 7.013e-06/1.494, allocations: 0 / 0.9721 GB, free: 139.9 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.0121/1.506, allocations: 4.154 MB / 0.9761 GB, free: 136.2 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004473/1.511, allocations: 319.2 kB / 0.9764 GB, free: 135.9 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02323/1.534, allocations: 7.541 MB / 0.9838 GB, free: 129.2 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004766/1.539, allocations: 2.675 MB / 0.9864 GB, free: 127.1 MB / 0.573 GB Notification: Performance of SimCode: time 7.72e-07/1.539, allocations: 0 / 0.9864 GB, free: 127.1 MB / 0.573 GB Notification: Performance of Templates: time 0.09729/1.636, allocations: 62.13 MB / 1.047 GB, free: 75.91 MB / 0.573 GB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR.sim & ./OpenIPSL_2.0.0_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR.pipe 2>&1)