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.001358/0.001358, allocations: 103.2 kB / 16.35 MB, free: 5.828 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.393/1.393, allocations: 222.9 MB / 240 MB, free: 4.469 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.001476/0.001476, allocations: 188.5 kB / 290.3 MB, free: 2.191 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4564/0.4564, allocations: 78.53 MB / 419 MB, free: 3.113 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001546/0.001546, allocations: 75.88 kB / 498.9 MB, free: 5.629 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1235/0.125, allocations: 68.18 MB / 0.5538 GB, free: 1.406 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR): time 0.2281/0.3532, allocations: 19.5 MB / 0.5728 GB, free: 27.82 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01191/0.3652, allocations: 6.395 MB / 0.5791 GB, free: 25.71 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004544/0.3697, allocations: 46.03 kB / 0.5791 GB, free: 25.71 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003264/0.373, allocations: 0.976 MB / 0.58 GB, free: 25.22 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007956/0.381, allocations: 2.68 MB / 0.5827 GB, free: 24.13 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004552/0.3856, allocations: 2.167 MB / 0.5848 GB, free: 23.14 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.008158/0.3938, allocations: 7.343 MB / 0.592 GB, free: 19.45 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003859/0.3976, allocations: 1.316 MB / 0.5932 GB, free: 18.86 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005442/0.4031, allocations: 2.717 MB / 0.5959 GB, free: 17.42 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005059/0.4082, allocations: 3.336 MB / 0.5991 GB, free: 15.72 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002981/0.4112, allocations: 0.6723 MB / 0.5998 GB, free: 15.72 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003578/0.4148, allocations: 0.9482 MB / 0.6007 GB, free: 15.64 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002362/0.4172, allocations: 1.489 MB / 0.6022 GB, free: 14.6 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004796/0.422, allocations: 2.859 MB / 0.605 GB, free: 12.57 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01017/0.4322, allocations: 8.199 MB / 0.613 GB, free: 9.234 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.452e-06/0.4322, allocations: 0 / 0.613 GB, free: 9.234 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.424e-06/0.4322, allocations: 1.344 kB / 0.613 GB, free: 9.234 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0002425/0.4325, allocations: 0 / 0.613 GB, free: 9.234 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.04212/0.4746, allocations: 10.54 MB / 0.6233 GB, free: 4.211 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.851e-05/0.4747, allocations: 11.34 kB / 0.6233 GB, free: 4.211 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01301/0.4877, allocations: 1.936 MB / 0.6252 GB, free: 3.375 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008304/0.496, allocations: 3.361 MB / 0.6285 GB, free: 0.8398 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009817/0.497, allocations: 1.01 MB / 0.6295 GB, free: 15.88 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001284/0.4983, allocations: 328.7 kB / 0.6298 GB, free: 15.77 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008529/0.5069, allocations: 3.948 MB / 0.6336 GB, free: 12.71 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.865e-05/0.507, allocations: 5 kB / 0.6336 GB, free: 12.7 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003493/0.5073, allocations: 116 kB / 0.6337 GB, free: 12.59 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.726e-05/0.5074, allocations: 64 kB / 0.6338 GB, free: 12.53 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008077/0.5155, allocations: 3.804 MB / 0.6375 GB, free: 8.711 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.03019/0.5457, allocations: 15.5 MB / 0.6527 GB, free: 8.617 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01456/0.5603, allocations: 6.461 MB / 0.659 GB, free: 1.973 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005358/0.5657, allocations: 2.432 MB / 0.6613 GB, free: 15.52 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008048/0.5665, allocations: 0.7659 MB / 0.6621 GB, free: 14.59 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005907/0.5724, allocations: 2.866 MB / 0.6649 GB, free: 11.67 MB / 478.1 MB Notification: Performance of pre-optimization done (n=331): time 5.841e-06/0.5724, allocations: 0 / 0.6649 GB, free: 11.67 MB / 478.1 MB Notification: Performance of matching and sorting (n=331): time 0.1017/0.6742, allocations: 25.85 MB / 0.6901 GB, free: 1.723 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001026/0.6743, allocations: 200.9 kB / 0.6903 GB, free: 1.488 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008787/0.6831, allocations: 4.534 MB / 0.6947 GB, free: 12.95 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.001141/0.6843, allocations: 103.1 kB / 0.6948 GB, free: 12.85 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001594/0.6859, allocations: 1.743 MB / 0.6965 GB, free: 11.1 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.002068/0.688, allocations: 1.198 MB / 0.6977 GB, free: 9.883 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002287/0.6903, allocations: 1.066 MB / 0.6988 GB, free: 8.805 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 8.918e-05/0.6904, allocations: 305.1 kB / 0.699 GB, free: 8.504 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006147/0.6965, allocations: 3.022 MB / 0.702 GB, free: 5.477 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006652/0.7032, allocations: 3.538 MB / 0.7055 GB, free: 1.844 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01224/0.7154, allocations: 6.11 MB / 0.7114 GB, free: 11.61 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.488e-05/0.7155, allocations: 4 kB / 0.7114 GB, free: 11.6 MB / 0.5137 GB Notification: Performance of matching and sorting (n=739) (initialization): time 0.02209/0.7376, allocations: 9.394 MB / 0.7206 GB, free: 2.145 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 3.509e-05/0.7377, allocations: 8 kB / 0.7206 GB, free: 2.137 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.563e-05/0.7377, allocations: 11.98 kB / 0.7206 GB, free: 2.125 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02612/0.7638, allocations: 10.29 MB / 0.7307 GB, free: 7.832 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005457/0.7693, allocations: 0.983 MB / 0.7316 GB, free: 6.848 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01718/0.7865, allocations: 6.299 MB / 0.7378 GB, free: 0.5195 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007995/0.7946, allocations: 0.7271 MB / 0.7385 GB, free: 15.79 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001197/0.7958, allocations: 196.9 kB / 0.7387 GB, free: 15.6 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.002289/0.7981, allocations: 0.7609 MB / 0.7394 GB, free: 14.83 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001392/0.7995, allocations: 474.1 kB / 0.7399 GB, free: 14.36 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03526/0.8348, allocations: 11.61 MB / 0.7512 GB, free: 2.684 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.019e-05/0.8348, allocations: 39.98 kB / 0.7512 GB, free: 2.645 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.029e-05/0.8349, allocations: 3.938 kB / 0.7512 GB, free: 2.641 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.656e-05/0.835, allocations: 15.94 kB / 0.7513 GB, free: 2.625 MB / 0.545 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.04865/0.8836, allocations: 17.66 MB / 0.7685 GB, free: 0.7383 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.159e-05/0.8837, allocations: 0 / 0.7685 GB, free: 0.7383 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003146/0.8868, allocations: 448.1 kB / 0.7689 GB, free: 308 kB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.2408/1.128, allocations: 4.748 MB / 0.7736 GB, free: 163.3 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001567/1.129, allocations: 77.61 kB / 0.7736 GB, free: 163.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0498/1.179, allocations: 21.45 MB / 0.7946 GB, free: 159.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.901e-06/1.179, allocations: 1.219 kB / 0.7946 GB, free: 159.7 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04415/1.223, allocations: 14.78 MB / 0.809 GB, free: 155.6 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002159/1.226, allocations: 0.6888 MB / 0.8097 GB, free: 155.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002226/1.228, allocations: 69.81 kB / 0.8098 GB, free: 155.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005941/1.234, allocations: 385.2 kB / 0.8101 GB, free: 155 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002796/1.237, allocations: 0.6197 MB / 0.8107 GB, free: 154.9 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006389/1.237, allocations: 90.28 kB / 0.8108 GB, free: 154.9 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.006167/1.243, allocations: 2.988 MB / 0.8137 GB, free: 153.7 MB / 0.5606 GB Notification: Performance of sort global known variables: time 4.61e-07/1.243, allocations: 0 / 0.8137 GB, free: 153.7 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.006732/1.25, allocations: 1.441 MB / 0.8151 GB, free: 153.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.001066/1.251, allocations: 237.8 kB / 0.8154 GB, free: 153.4 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.02085/1.272, allocations: 7.941 MB / 0.8231 GB, free: 150.8 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 7.354e-06/1.272, allocations: 0 / 0.8231 GB, free: 150.8 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.01315/1.285, allocations: 4.501 MB / 0.8275 GB, free: 147.8 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005959/1.291, allocations: 401.1 kB / 0.8279 GB, free: 147.4 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01668/1.308, allocations: 9.132 MB / 0.8368 GB, free: 139.1 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001367/1.309, allocations: 2.334 MB / 0.8391 GB, free: 137.3 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.002223/1.312, allocations: 457.7 kB / 0.8395 GB, free: 137 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001209/1.313, allocations: 274.6 kB / 0.8398 GB, free: 136.8 MB / 0.5606 GB Notification: Performance of SimCode: time 9.92e-07/1.313, allocations: 0 / 0.8398 GB, free: 136.8 MB / 0.5606 GB Notification: Performance of Templates: time 0.1048/1.418, allocations: 77.73 MB / 0.9157 GB, free: 60.48 MB / 0.5606 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 -s gbode -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR.pipe 2>&1)