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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009811/0.000981, allocations: 171.4 kB / 7.641 MB, free: 1.414 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.361/1.361, allocations: 221.5 MB / 229.6 MB, free: 7.566 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.0008565/0.0008566, allocations: 101.2 kB / 280.5 MB, free: 5.312 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4511/0.4511, allocations: 78.06 MB / 409.3 MB, free: 6.352 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.201e-05/1.197e-05, allocations: 0 / 484.9 MB, free: 12.3 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1289/0.1289, allocations: 69.35 MB / 0.5413 GB, free: 6.879 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4031/0.532, allocations: 111.9 MB / 0.6506 GB, free: 3.641 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002573/0.5323, allocations: 67.97 kB / 0.6507 GB, free: 3.574 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6493/1.182, allocations: 127.2 MB / 0.7748 GB, free: 97.05 MB / 0.5573 GB Notification: Performance of FrontEnd: time 2.294e-06/1.182, allocations: 2.906 kB / 0.7748 GB, free: 97.05 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 0.0004398/1.182, allocations: 85.91 kB / 0.7749 GB, free: 97.04 MB / 0.5573 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.01704/1.199, allocations: 5.154 MB / 0.7799 GB, free: 95.5 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.878e-05/1.199, allocations: 9.219 kB / 0.78 GB, free: 95.5 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01036/1.21, allocations: 1.462 MB / 0.7814 GB, free: 95.21 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009207/1.219, allocations: 2.991 MB / 0.7843 GB, free: 94.51 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001163/1.22, allocations: 0.9037 MB / 0.7852 GB, free: 93.72 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001824/1.222, allocations: 177.8 kB / 0.7854 GB, free: 93.72 MB / 0.5573 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01115/1.233, allocations: 3.044 MB / 0.7883 GB, free: 93.7 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007366/1.241, allocations: 3.039 MB / 0.7913 GB, free: 93.49 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.647e-05/1.241, allocations: 3.281 kB / 0.7913 GB, free: 93.49 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003368/1.241, allocations: 1.938 kB / 0.7913 GB, free: 93.49 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.347e-05/1.241, allocations: 65.72 kB / 0.7914 GB, free: 93.49 MB / 0.5573 GB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03693/1.278, allocations: 14.86 MB / 0.8059 GB, free: 89.69 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0139/1.292, allocations: 6.102 MB / 0.8118 GB, free: 88.43 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004199/1.296, allocations: 1.861 MB / 0.8137 GB, free: 88.38 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008851/1.297, allocations: 0.7698 MB / 0.8144 GB, free: 87.53 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0047/1.302, allocations: 2.286 MB / 0.8166 GB, free: 87.36 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=331): time 7.163e-06/1.302, allocations: 2.25 kB / 0.8166 GB, free: 87.36 MB / 0.5573 GB Notification: Performance of matching and sorting (n=331): time 0.0353/1.337, allocations: 11.6 MB / 0.828 GB, free: 86.56 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.644e-05/1.337, allocations: 191.3 kB / 0.8281 GB, free: 86.37 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006557/1.344, allocations: 3.305 MB / 0.8314 GB, free: 86.08 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.001159/1.345, allocations: 29.64 kB / 0.8314 GB, free: 86.05 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.001272/1.346, allocations: 1.9 MB / 0.8333 GB, free: 85.46 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.001725/1.348, allocations: 1.116 MB / 0.8343 GB, free: 84.58 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002918/1.348, allocations: 0 / 0.8343 GB, free: 84.58 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001767/1.348, allocations: 446.4 kB / 0.8348 GB, free: 84.21 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002526/1.351, allocations: 1.678 MB / 0.8364 GB, free: 83.39 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002743/1.354, allocations: 2.02 MB / 0.8384 GB, free: 82.26 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003547/1.357, allocations: 1.883 MB / 0.8402 GB, free: 81.38 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.542e-05/1.357, allocations: 3.625 kB / 0.8402 GB, free: 81.38 MB / 0.5573 GB Notification: Performance of matching and sorting (n=471) (initialization): time 0.01054/1.368, allocations: 5.549 MB / 0.8456 GB, free: 78.9 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 3.372e-05/1.368, allocations: 13 kB / 0.8457 GB, free: 78.89 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.157e-05/1.368, allocations: 7.656 kB / 0.8457 GB, free: 78.89 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01806/1.386, allocations: 6.337 MB / 0.8519 GB, free: 77.75 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00293/1.389, allocations: 0.5742 MB / 0.8524 GB, free: 77.72 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01193/1.401, allocations: 5.761 MB / 0.858 GB, free: 74.79 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006864/1.408, allocations: 0.6034 MB / 0.8586 GB, free: 74.62 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001004/1.409, allocations: 129.3 kB / 0.8588 GB, free: 74.59 MB / 0.5573 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.0008601/1.41, allocations: 151 kB / 0.8589 GB, free: 74.48 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001933/1.412, allocations: 459.4 kB / 0.8593 GB, free: 74.24 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03323/1.445, allocations: 11.91 MB / 0.871 GB, free: 71.5 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.269e-05/1.445, allocations: 32.41 kB / 0.871 GB, free: 71.5 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.174e-05/1.445, allocations: 0 / 0.871 GB, free: 71.5 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001327/1.445, allocations: 21.33 kB / 0.871 GB, free: 71.5 MB / 0.5573 GB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04589/1.491, allocations: 17.55 MB / 0.8881 GB, free: 62.2 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.671e-05/1.491, allocations: 1.312 kB / 0.8882 GB, free: 62.2 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003201/1.494, allocations: 433.7 kB / 0.8886 GB, free: 61.86 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01274/1.507, allocations: 4.399 MB / 0.8929 GB, free: 58.31 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001035/1.508, allocations: 38.98 kB / 0.8929 GB, free: 58.28 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03199/1.54, allocations: 16.26 MB / 0.9088 GB, free: 43.86 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.198e-06/1.54, allocations: 0 / 0.9088 GB, free: 43.86 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03785/1.578, allocations: 14.59 MB / 0.923 GB, free: 31.52 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00211/1.58, allocations: 0.6853 MB / 0.9237 GB, free: 30.88 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001936/1.582, allocations: 23.72 kB / 0.9237 GB, free: 30.86 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005778/1.588, allocations: 440.4 kB / 0.9241 GB, free: 30.54 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002634/1.591, allocations: 0.6311 MB / 0.9248 GB, free: 30.18 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005465/1.591, allocations: 88.41 kB / 0.9248 GB, free: 30.1 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.004117/1.595, allocations: 2.454 MB / 0.9272 GB, free: 27.83 MB / 0.5573 GB Notification: Performance of sort global known variables: time 2.1e-07/1.595, allocations: 4 kB / 0.9272 GB, free: 27.82 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.004947/1.6, allocations: 1.149 MB / 0.9284 GB, free: 26.68 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.0009317/1.601, allocations: 351.5 kB / 0.9287 GB, free: 26.38 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.01444/1.616, allocations: 5.911 MB / 0.9345 GB, free: 20.94 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.041e-05/1.616, allocations: 4.062 kB / 0.9345 GB, free: 20.94 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.01215/1.628, allocations: 4.193 MB / 0.9386 GB, free: 17.17 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004002/1.632, allocations: 323.9 kB / 0.9389 GB, free: 16.88 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01357/1.646, allocations: 7.275 MB / 0.946 GB, free: 10.35 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001426/1.647, allocations: 2.424 MB / 0.9483 GB, free: 8.539 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.002259/1.649, allocations: 388.8 kB / 0.9487 GB, free: 8.273 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001065/1.65, allocations: 229.1 kB / 0.9489 GB, free: 8.066 MB / 0.5573 GB Notification: Performance of SimCode: time 7.21e-07/1.651, allocations: 7.188 kB / 0.9489 GB, free: 8.062 MB / 0.5573 GB Notification: Performance of Templates: time 0.3967/2.047, allocations: 59.76 MB / 1.007 GB, free: 103 MB / 0.573 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)