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.0008893/0.0008894, allocations: 86.17 kB / 15.06 MB, free: 1.09 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.342/1.342, allocations: 223.3 MB / 239 MB, free: 5.441 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.001019/0.001019, allocations: 180.5 kB / 290.3 MB, free: 2.133 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4415/0.4415, allocations: 78.55 MB / 419.9 MB, free: 4.316 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003666/0.0003667, allocations: 11.94 kB / 499.8 MB, free: 6.375 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1274/0.1278, allocations: 69.36 MB / 0.5558 GB, free: 0.9648 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR): time 0.2445/0.3723, allocations: 17.96 MB / 0.5733 GB, free: 31.58 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01031/0.3827, allocations: 6.202 MB / 0.5794 GB, free: 27.08 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003094/0.3858, allocations: 46.78 kB / 0.5794 GB, free: 27.07 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001889/0.3877, allocations: 0.673 MB / 0.5801 GB, free: 26.77 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005876/0.3936, allocations: 2.109 MB / 0.5822 GB, free: 25.47 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003499/0.3971, allocations: 1.562 MB / 0.5837 GB, free: 24.75 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.007458/0.4046, allocations: 6.395 MB / 0.5899 GB, free: 21.54 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001664/0.4062, allocations: 1.051 MB / 0.591 GB, free: 21.13 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003243/0.4095, allocations: 2.122 MB / 0.593 GB, free: 20.23 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00412/0.4136, allocations: 2.792 MB / 0.5958 GB, free: 19.02 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009032/0.4145, allocations: 250 kB / 0.596 GB, free: 19.02 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001433/0.416, allocations: 486.4 kB / 0.5965 GB, free: 18.95 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007263/0.4167, allocations: 1.005 MB / 0.5974 GB, free: 18.39 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001048/0.4178, allocations: 0.8381 MB / 0.5983 GB, free: 17.84 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007314/0.4251, allocations: 6.4 MB / 0.6045 GB, free: 16.32 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.783e-06/0.4251, allocations: 0 / 0.6045 GB, free: 16.32 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.355e-06/0.4251, allocations: 0 / 0.6045 GB, free: 16.32 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0002874/0.4254, allocations: 1.5 kB / 0.6045 GB, free: 16.32 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.03896/0.4644, allocations: 9.917 MB / 0.6142 GB, free: 12.75 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.264e-05/0.4645, allocations: 9.25 kB / 0.6142 GB, free: 12.75 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01251/0.477, allocations: 1.947 MB / 0.6161 GB, free: 11.93 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007196/0.4842, allocations: 3.196 MB / 0.6192 GB, free: 9.559 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008784/0.4851, allocations: 1.035 MB / 0.6202 GB, free: 8.605 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006907/0.4858, allocations: 323 kB / 0.6205 GB, free: 8.496 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008025/0.4938, allocations: 4.121 MB / 0.6246 GB, free: 6.156 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.805e-05/0.4939, allocations: 5.578 kB / 0.6246 GB, free: 6.152 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003058/0.4942, allocations: 106.4 kB / 0.6247 GB, free: 6.07 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.415e-05/0.4943, allocations: 65.66 kB / 0.6247 GB, free: 6.07 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007798/0.5021, allocations: 3.995 MB / 0.6286 GB, free: 3.555 MB / 430.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.02624/0.5283, allocations: 15.77 MB / 0.644 GB, free: 3.203 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01453/0.5429, allocations: 7.183 MB / 0.6511 GB, free: 11.83 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005378/0.5483, allocations: 2.613 MB / 0.6536 GB, free: 9.195 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007523/0.5491, allocations: 0.766 MB / 0.6544 GB, free: 8.262 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005882/0.555, allocations: 3.043 MB / 0.6573 GB, free: 5.164 MB / 462.1 MB Notification: Performance of pre-optimization done (n=331): time 4.248e-06/0.555, allocations: 0 / 0.6573 GB, free: 5.164 MB / 462.1 MB Notification: Performance of matching and sorting (n=331): time 0.1034/0.6584, allocations: 30.26 MB / 0.6869 GB, free: 6.809 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001077/0.6586, allocations: 192.8 kB / 0.6871 GB, free: 6.582 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008697/0.6673, allocations: 4.495 MB / 0.6914 GB, free: 2.09 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001492/0.6688, allocations: 97.7 kB / 0.6915 GB, free: 1.988 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001656/0.6705, allocations: 1.754 MB / 0.6933 GB, free: 228 kB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002225/0.6727, allocations: 1.198 MB / 0.6944 GB, free: 15 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005194/0.6732, allocations: 120 kB / 0.6945 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0003112/0.6735, allocations: 0.5181 MB / 0.695 GB, free: 14.36 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006648/0.6802, allocations: 3.186 MB / 0.6982 GB, free: 11.17 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007153/0.6874, allocations: 3.705 MB / 0.7018 GB, free: 7.371 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007337/0.6947, allocations: 3.415 MB / 0.7051 GB, free: 3.93 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.45e-05/0.6948, allocations: 4 kB / 0.7051 GB, free: 3.926 MB / 0.4981 GB Notification: Performance of matching and sorting (n=739) (initialization): time 0.02176/0.7165, allocations: 9.952 MB / 0.7148 GB, free: 9.906 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 4.429e-05/0.7166, allocations: 13.58 kB / 0.7148 GB, free: 9.895 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-05/0.7167, allocations: 8 kB / 0.7149 GB, free: 9.887 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02606/0.7428, allocations: 11.09 MB / 0.7257 GB, free: 14.79 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005699/0.7485, allocations: 0.9947 MB / 0.7267 GB, free: 13.79 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01903/0.7676, allocations: 6.971 MB / 0.7335 GB, free: 6.785 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01208/0.7797, allocations: 0.8386 MB / 0.7343 GB, free: 5.941 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001875/0.7816, allocations: 196 kB / 0.7345 GB, free: 5.75 MB / 0.5294 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 ($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 () * 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 (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 {80 72} Notification: Performance of prepare postOptimizeDAE: time 0.004778/0.7864, allocations: 0.7595 MB / 0.7352 GB, free: 4.98 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002554/0.789, allocations: 470 kB / 0.7357 GB, free: 4.516 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05393/0.843, allocations: 13.96 MB / 0.7493 GB, free: 6.492 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.681e-05/0.8431, allocations: 32 kB / 0.7493 GB, free: 6.461 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.771e-05/0.8431, allocations: 0 / 0.7493 GB, free: 6.461 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001219/0.8432, allocations: 23.94 kB / 0.7493 GB, free: 6.438 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.0549/0.8981, allocations: 20.04 MB / 0.7689 GB, free: 2.145 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.154e-05/0.8982, allocations: 0 / 0.7689 GB, free: 2.145 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003304/0.9015, allocations: 439.3 kB / 0.7693 GB, free: 1.715 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.2787/1.18, allocations: 5.562 MB / 0.7748 GB, free: 162.5 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001192/1.182, allocations: 91.06 kB / 0.7749 GB, free: 162.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04542/1.227, allocations: 22 MB / 0.7963 GB, free: 160 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.238e-06/1.227, allocations: 2.688 kB / 0.7963 GB, free: 160 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04399/1.271, allocations: 17.28 MB / 0.8132 GB, free: 155.5 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00232/1.273, allocations: 0.7106 MB / 0.8139 GB, free: 155 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001015/1.274, allocations: 62.62 kB / 0.814 GB, free: 155 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004046/1.278, allocations: 0.4925 MB / 0.8145 GB, free: 154.9 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00186/1.28, allocations: 0.6174 MB / 0.8151 GB, free: 154.8 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002376/1.281, allocations: 94.88 kB / 0.8151 GB, free: 154.8 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.00401/1.285, allocations: 2.95 MB / 0.818 GB, free: 153.7 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9.32e-07/1.285, allocations: 4 kB / 0.818 GB, free: 153.6 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.003647/1.288, allocations: 1.447 MB / 0.8194 GB, free: 153.5 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 (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.0004632/1.289, allocations: 226.9 kB / 0.8197 GB, free: 153.3 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01803/1.307, allocations: 8.58 MB / 0.828 GB, free: 148.1 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 7.805e-06/1.307, allocations: 4 kB / 0.828 GB, free: 148.1 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.01136/1.318, allocations: 4.981 MB / 0.8329 GB, free: 143.8 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003736/1.322, allocations: 394.5 kB / 0.8333 GB, free: 143.5 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01417/1.336, allocations: 10.64 MB / 0.8437 GB, free: 133.8 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001252/1.337, allocations: 2.336 MB / 0.846 GB, free: 132 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.00209/1.34, allocations: 452.8 kB / 0.8464 GB, free: 131.7 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001043/1.341, allocations: 254.9 kB / 0.8466 GB, free: 131.4 MB / 0.5606 GB Notification: Performance of SimCode: time 8.42e-07/1.341, allocations: 0 / 0.8466 GB, free: 131.4 MB / 0.5606 GB Notification: Performance of Templates: time 0.11/1.451, allocations: 68.83 MB / 0.9138 GB, free: 63.23 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: