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/ModelicaServices 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/Complex 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008813/0.0008813, allocations: 90.52 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.467/1.467, allocations: 223.3 MB / 239.4 MB, free: 5.484 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001343/0.001343, allocations: 180.5 kB / 290.6 MB, free: 2.156 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.5611/0.5611, allocations: 78.54 MB / 420.3 MB, free: 4.227 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003872/0.0003872, allocations: 12 kB / 0.4887 GB, free: 6 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1715/0.172, allocations: 69.36 MB / 0.5564 GB, free: 0.582 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR): time 0.3335/0.5055, allocations: 19.38 MB / 0.5753 GB, free: 27.09 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01476/0.5203, allocations: 6.415 MB / 0.5816 GB, free: 24.99 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007067/0.5274, allocations: 47.22 kB / 0.5816 GB, free: 24.98 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004808/0.5322, allocations: 0.7619 MB / 0.5824 GB, free: 24.7 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01303/0.5453, allocations: 2.373 MB / 0.5847 GB, free: 23.66 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00642/0.5518, allocations: 2.011 MB / 0.5867 GB, free: 22.48 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.01266/0.5644, allocations: 6.785 MB / 0.5933 GB, free: 19.24 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002961/0.5675, allocations: 1.197 MB / 0.5944 GB, free: 18.67 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005321/0.5728, allocations: 2.16 MB / 0.5966 GB, free: 17.7 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006393/0.5792, allocations: 2.871 MB / 0.5994 GB, free: 16.41 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002944/0.5822, allocations: 254.2 kB / 0.5996 GB, free: 16.41 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003987/0.5862, allocations: 0.4947 MB / 0.6001 GB, free: 16.32 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00206/0.5883, allocations: 1.024 MB / 0.6011 GB, free: 15.74 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005705/0.594, allocations: 2.395 MB / 0.6034 GB, free: 14.14 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01377/0.6078, allocations: 7.626 MB / 0.6109 GB, free: 11.81 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.276e-06/0.6079, allocations: 0 / 0.6109 GB, free: 11.81 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.577e-06/0.6079, allocations: 0 / 0.6109 GB, free: 11.81 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0003789/0.6083, allocations: 1.156 kB / 0.6109 GB, free: 11.81 MB / 430.1 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.0456/0.6539, allocations: 9.859 MB / 0.6205 GB, free: 7.723 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.511e-05/0.654, allocations: 9.969 kB / 0.6205 GB, free: 7.723 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01505/0.669, allocations: 1.951 MB / 0.6224 GB, free: 6.891 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01206/0.6812, allocations: 3.356 MB / 0.6257 GB, free: 4.359 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001402/0.6826, allocations: 1.03 MB / 0.6267 GB, free: 3.406 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002236/0.6849, allocations: 330.3 kB / 0.627 GB, free: 3.289 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01371/0.6986, allocations: 4.14 MB / 0.6311 GB, free: 0.9531 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.282e-05/0.6987, allocations: 0 / 0.6311 GB, free: 0.9531 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004585/0.6992, allocations: 111 kB / 0.6312 GB, free: 0.8672 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.177e-05/0.6993, allocations: 72.53 kB / 0.6312 GB, free: 0.8633 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01263/0.7119, allocations: 4.01 MB / 0.6351 GB, free: 13.09 MB / 446.1 MB Warning: The model contains alias variables with redundant start and/or conflicting 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.04693/0.7589, allocations: 15.78 MB / 0.6506 GB, free: 12.72 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01962/0.7786, allocations: 7.192 MB / 0.6576 GB, free: 5.332 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007151/0.7858, allocations: 2.623 MB / 0.6601 GB, free: 2.688 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001026/0.7869, allocations: 0.766 MB / 0.6609 GB, free: 1.754 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007848/0.7948, allocations: 3.051 MB / 0.6639 GB, free: 14.64 MB / 478.1 MB Notification: Performance of pre-optimization done (n=331): time 6.413e-06/0.7948, allocations: 0 / 0.6639 GB, free: 14.64 MB / 478.1 MB Notification: Performance of matching and sorting (n=331): time 0.1176/0.9124, allocations: 30.55 MB / 0.6937 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001073/0.9126, allocations: 196.9 kB / 0.6939 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0123/0.9249, allocations: 4.541 MB / 0.6983 GB, free: 11.23 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.001786/0.9267, allocations: 101.7 kB / 0.6984 GB, free: 11.12 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002344/0.9291, allocations: 1.747 MB / 0.7001 GB, free: 9.363 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.003278/0.9324, allocations: 1.198 MB / 0.7013 GB, free: 8.148 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001601/0.934, allocations: 0.542 MB / 0.7018 GB, free: 7.598 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001268/0.9342, allocations: 301.1 kB / 0.7021 GB, free: 7.301 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008395/0.9426, allocations: 3.205 MB / 0.7052 GB, free: 4.09 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009746/0.9523, allocations: 3.733 MB / 0.7089 GB, free: 268 kB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01758/0.97, allocations: 6.481 MB / 0.7152 GB, free: 9.656 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.882e-05/0.97, allocations: 0 / 0.7152 GB, free: 9.656 MB / 0.5137 GB Notification: Performance of matching and sorting (n=739) (initialization): time 0.02927/0.9993, allocations: 9.997 MB / 0.725 GB, free: 15.59 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 3.662e-05/0.9994, allocations: 4.625 kB / 0.725 GB, free: 15.59 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.332e-05/0.9994, allocations: 8 kB / 0.725 GB, free: 15.58 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02927/1.029, allocations: 11.14 MB / 0.7359 GB, free: 4.438 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005909/1.035, allocations: 0.9908 MB / 0.7368 GB, free: 3.445 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01911/1.054, allocations: 6.998 MB / 0.7437 GB, free: 12.41 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01/1.064, allocations: 0.8386 MB / 0.7445 GB, free: 11.57 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001834/1.066, allocations: 193.2 kB / 0.7447 GB, free: 11.38 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$whenCondition1,$whenCondition4,$whenCondition3,$whenCondition6,$whenCondition5,$whenCondition8,$whenCondition7,g4.eSDC1A.rotatingExciterLimited.sISO.local_reset,g2.eSDC1A.rotatingExciterLimited.sISO.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (584): * Single equations (assignments): 581 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(80,72)} Notification: Performance of prepare postOptimizeDAE: time 0.003816/1.07, allocations: 0.7665 MB / 0.7454 GB, free: 10.61 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001814/1.071, allocations: 470 kB / 0.7459 GB, free: 10.14 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04393/1.115, allocations: 13.97 MB / 0.7595 GB, free: 12.1 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.375e-05/1.115, allocations: 35.98 kB / 0.7596 GB, free: 12.06 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.45e-05/1.115, allocations: 0 / 0.7596 GB, free: 12.06 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001395/1.116, allocations: 23.92 kB / 0.7596 GB, free: 12.04 MB / 0.5606 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.4164/1.532, allocations: 20.06 MB / 0.7792 GB, free: 160.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.282e-05/1.532, allocations: 0 / 0.7792 GB, free: 160.5 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003468/1.536, allocations: 438.7 kB / 0.7796 GB, free: 160.5 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01741/1.553, allocations: 5.572 MB / 0.785 GB, free: 160.4 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001529/1.555, allocations: 83.77 kB / 0.7851 GB, free: 160.4 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.07538/1.63, allocations: 22.04 MB / 0.8066 GB, free: 157.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.287e-06/1.63, allocations: 3.125 kB / 0.8066 GB, free: 157.1 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05518/1.685, allocations: 17.31 MB / 0.8235 GB, free: 152.6 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002909/1.688, allocations: 0.712 MB / 0.8242 GB, free: 152.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003088/1.691, allocations: 71.59 kB / 0.8243 GB, free: 152 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007452/1.699, allocations: 498.1 kB / 0.8248 GB, free: 151.9 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003438/1.702, allocations: 0.6041 MB / 0.8254 GB, free: 151.6 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001112/1.703, allocations: 88.41 kB / 0.8255 GB, free: 151.5 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.008014/1.712, allocations: 2.992 MB / 0.8284 GB, free: 149 MB / 0.5606 GB Notification: Performance of sort global known variables: time 3.51e-07/1.712, allocations: 0 / 0.8284 GB, free: 149 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.009816/1.721, allocations: 1.438 MB / 0.8298 GB, free: 147.6 MB / 0.5606 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(54,52)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001623/1.723, allocations: 236.9 kB / 0.83 GB, free: 147.4 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.02767/1.751, allocations: 8.615 MB / 0.8384 GB, free: 139.8 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.445e-05/1.751, allocations: 2.578 kB / 0.8384 GB, free: 139.8 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.01752/1.768, allocations: 4.988 MB / 0.8433 GB, free: 135.1 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009546/1.778, allocations: 405 kB / 0.8437 GB, free: 134.7 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02353/1.802, allocations: 11.14 MB / 0.8546 GB, free: 123.7 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002606/1.804, allocations: 2.341 MB / 0.8568 GB, free: 121.3 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003757/1.808, allocations: 454 kB / 0.8573 GB, free: 120.9 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002494/1.81, allocations: 259.4 kB / 0.8575 GB, free: 120.6 MB / 0.5606 GB Notification: Performance of SimCode: time 1.252e-06/1.811, allocations: 0 / 0.8575 GB, free: 120.6 MB / 0.5606 GB Notification: Performance of Templates: time 0.1178/1.928, allocations: 70.95 MB / 0.9268 GB, free: 49.82 MB / 0.5606 GB make -j1 -f OpenIPSL_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: