Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_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.1.0-master/package.mo", uses=false) Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/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_dev_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_dev_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.002087/0.002088, allocations: 110.9 kB / 16.41 MB, free: 6.492 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.516/1.516, allocations: 222.9 MB / 240.1 MB, free: 4.562 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.001899/0.001899, allocations: 196.4 kB / 290.4 MB, free: 2.27 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5684/0.5684, allocations: 91.9 MB / 432.4 MB, free: 9.203 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001608/0.001608, allocations: 83.3 kB / 0.5734 GB, free: 33.95 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1692/0.1708, allocations: 71.29 MB / 0.643 GB, free: 3.707 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR): time 0.01995/0.1908, allocations: 19.53 MB / 0.6621 GB, free: 88 kB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.01678/0.2076, allocations: 6.391 MB / 0.6683 GB, free: 9.676 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00635/0.214, allocations: 39.94 kB / 0.6683 GB, free: 9.637 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0044/0.2185, allocations: 0.9724 MB / 0.6693 GB, free: 8.656 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01083/0.2293, allocations: 2.401 MB / 0.6716 GB, free: 6.246 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006812/0.2362, allocations: 2.179 MB / 0.6738 GB, free: 4.086 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.01352/0.2497, allocations: 7.031 MB / 0.6806 GB, free: 13.03 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00396/0.2537, allocations: 1.318 MB / 0.6819 GB, free: 11.66 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006742/0.2605, allocations: 2.685 MB / 0.6845 GB, free: 8.961 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006836/0.2674, allocations: 3.287 MB / 0.6878 GB, free: 5.66 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00356/0.271, allocations: 0.6719 MB / 0.6884 GB, free: 4.988 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00437/0.2754, allocations: 0.9527 MB / 0.6893 GB, free: 4.039 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003559/0.279, allocations: 1.467 MB / 0.6908 GB, free: 2.566 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007039/0.286, allocations: 2.845 MB / 0.6936 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.01403/0.3001, allocations: 8.165 MB / 0.7015 GB, free: 7.516 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 9.347e-06/0.3001, allocations: 0 / 0.7015 GB, free: 7.516 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.785e-06/0.3002, allocations: 0 / 0.7015 GB, free: 7.516 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 0.00035/0.3005, allocations: 0 / 0.7015 GB, free: 7.516 MB / 0.4981 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.0428/0.3433, allocations: 9.73 MB / 0.711 GB, free: 13.7 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.779e-05/0.3434, allocations: 8.031 kB / 0.711 GB, free: 13.69 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01272/0.3561, allocations: 1.941 MB / 0.7129 GB, free: 11.74 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008818/0.365, allocations: 3.367 MB / 0.7162 GB, free: 8.297 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00137/0.3664, allocations: 1.009 MB / 0.7172 GB, free: 7.133 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001364/0.3678, allocations: 327.8 kB / 0.7175 GB, free: 6.812 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009309/0.3771, allocations: 3.949 MB / 0.7214 GB, free: 2.789 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.763e-05/0.3772, allocations: 0 / 0.7214 GB, free: 2.789 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000352/0.3775, allocations: 112 kB / 0.7215 GB, free: 2.68 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.926e-05/0.3776, allocations: 72 kB / 0.7216 GB, free: 2.609 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008929/0.3866, allocations: 3.796 MB / 0.7253 GB, free: 14.8 MB / 0.5294 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 preOpt removeSimpleEquations (simulation): time 0.03375/0.4203, allocations: 15.51 MB / 0.7404 GB, free: 14.7 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0161/0.4365, allocations: 6.458 MB / 0.7467 GB, free: 8.008 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005971/0.4425, allocations: 2.442 MB / 0.7491 GB, free: 5.551 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001031/0.4436, allocations: 0.766 MB / 0.7498 GB, free: 4.617 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006278/0.4499, allocations: 2.858 MB / 0.7526 GB, free: 1.703 MB / 0.545 GB Notification: Performance of pre-optimization done (n=331): time 5.009e-06/0.4499, allocations: 0 / 0.7526 GB, free: 1.703 MB / 0.545 GB Notification: Performance of matching and sorting (n=331): time 0.5083/0.9582, allocations: 25.86 MB / 0.7779 GB, free: 109.7 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001228/0.9584, allocations: 193.3 kB / 0.7781 GB, free: 109.5 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01039/0.9687, allocations: 4.532 MB / 0.7825 GB, free: 109.2 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.001323/0.9701, allocations: 101.3 kB / 0.7826 GB, free: 109.1 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.001591/0.9717, allocations: 1.744 MB / 0.7843 GB, free: 108.2 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0021/0.9738, allocations: 1.202 MB / 0.7855 GB, free: 107.6 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002288/0.9761, allocations: 1.059 MB / 0.7865 GB, free: 107.1 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 6.449e-05/0.9762, allocations: 310 kB / 0.7868 GB, free: 106.8 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005776/0.982, allocations: 3.019 MB / 0.7897 GB, free: 105.6 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006522/0.9885, allocations: 3.535 MB / 0.7932 GB, free: 103.9 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01333/1.002, allocations: 6.114 MB / 0.7992 GB, free: 100.6 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.88e-05/1.002, allocations: 3.812 kB / 0.7992 GB, free: 100.6 MB / 0.5606 GB Notification: Performance of matching and sorting (n=739) (initialization): time 0.02175/1.024, allocations: 9.392 MB / 0.8083 GB, free: 92.9 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.448e-05/1.024, allocations: 8 kB / 0.8084 GB, free: 92.89 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.104e-05/1.024, allocations: 11.98 kB / 0.8084 GB, free: 92.88 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0228/1.047, allocations: 10.29 MB / 0.8184 GB, free: 82.59 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005232/1.052, allocations: 0.983 MB / 0.8194 GB, free: 81.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01457/1.067, allocations: 6.291 MB / 0.8255 GB, free: 75.28 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007947/1.075, allocations: 0.7292 MB / 0.8262 GB, free: 74.55 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001268/1.076, allocations: 192 kB / 0.8264 GB, free: 74.36 MB / 0.5606 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.002522/1.078, allocations: 0.776 MB / 0.8272 GB, free: 73.57 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001453/1.08, allocations: 466 kB / 0.8276 GB, free: 73.11 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03288/1.113, allocations: 11.6 MB / 0.839 GB, free: 61.45 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.712e-05/1.113, allocations: 36 kB / 0.839 GB, free: 61.41 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.216e-05/1.113, allocations: 1.75 kB / 0.839 GB, free: 61.41 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.243e-05/1.113, allocations: 15.94 kB / 0.839 GB, free: 61.39 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.04172/1.155, allocations: 17.67 MB / 0.8563 GB, free: 43.59 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.703e-05/1.155, allocations: 4.031 kB / 0.8563 GB, free: 43.58 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002875/1.158, allocations: 439.4 kB / 0.8567 GB, free: 43.15 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01434/1.172, allocations: 4.753 MB / 0.8613 GB, free: 38.39 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009992/1.173, allocations: 79.48 kB / 0.8614 GB, free: 38.32 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0463/1.219, allocations: 21.46 MB / 0.8823 GB, free: 16.72 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.859e-06/1.219, allocations: 3.984 kB / 0.8824 GB, free: 16.72 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04066/1.26, allocations: 14.77 MB / 0.8968 GB, free: 1.859 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002191/1.262, allocations: 0.6936 MB / 0.8975 GB, free: 1.141 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002159/1.264, allocations: 68 kB / 0.8975 GB, free: 1.074 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005589/1.27, allocations: 387.5 kB / 0.8979 GB, free: 0.6953 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002693/1.273, allocations: 0.6199 MB / 0.8985 GB, free: 76 kB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004681/1.273, allocations: 101.9 kB / 0.8986 GB, free: 15.98 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.006329/1.28, allocations: 2.984 MB / 0.9015 GB, free: 13 MB / 0.5762 GB Notification: Performance of sort global known variables: time 5.62e-07/1.28, allocations: 0 / 0.9015 GB, free: 13 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.006894/1.287, allocations: 1.445 MB / 0.9029 GB, free: 11.56 MB / 0.5762 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.0008862/1.287, allocations: 230.8 kB / 0.9031 GB, free: 11.32 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.02317/1.311, allocations: 7.933 MB / 0.9109 GB, free: 3.379 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.085e-05/1.311, allocations: 0 / 0.9109 GB, free: 3.379 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.01405/1.325, allocations: 4.483 MB / 0.9153 GB, free: 14.89 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005225/1.33, allocations: 393.5 kB / 0.9156 GB, free: 14.51 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02186/1.352, allocations: 9.216 MB / 0.9246 GB, free: 5.305 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002151/1.354, allocations: 2.341 MB / 0.9269 GB, free: 2.93 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00249/1.357, allocations: 291.4 kB / 0.9272 GB, free: 2.645 MB / 0.5919 GB Notification: Performance of SimCode: time 1.082e-06/1.357, allocations: 4 kB / 0.9272 GB, free: 2.641 MB / 0.5919 GB Notification: Performance of Templates: time 0.1412/1.498, allocations: 79.78 MB / 1.005 GB, free: 2.793 MB / 0.67 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR.makefile (rm -f OpenIPSL_dev_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR.sim & ./OpenIPSL_dev_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR.pipe 2>&1)