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.00154/0.00154, allocations: 106.5 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.805/1.805, allocations: 222.9 MB / 240.1 MB, free: 4.559 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.001369/0.001369, allocations: 184.5 kB / 290.4 MB, free: 2.27 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4543/0.4543, allocations: 78.54 MB / 419.1 MB, free: 3.168 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001566/0.001566, allocations: 79.88 kB / 0.5543 GB, free: 0.9648 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3207/0.3223, allocations: 68.17 MB / 0.6209 GB, free: 9.684 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR): time 0.01538/0.3377, allocations: 19.5 MB / 0.6399 GB, free: 6.66 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01561/0.3534, allocations: 6.399 MB / 0.6461 GB, free: 252 kB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005028/0.3585, allocations: 43.94 kB / 0.6462 GB, free: 208 kB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004063/0.3625, allocations: 0.9764 MB / 0.6471 GB, free: 15.21 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01067/0.3733, allocations: 2.681 MB / 0.6498 GB, free: 12.54 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006602/0.3799, allocations: 2.19 MB / 0.6519 GB, free: 10.37 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.01271/0.3926, allocations: 7.324 MB / 0.659 GB, free: 3.027 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003656/0.3963, allocations: 1.326 MB / 0.6603 GB, free: 1.645 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006004/0.4024, allocations: 2.724 MB / 0.663 GB, free: 14.91 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006453/0.4089, allocations: 3.338 MB / 0.6663 GB, free: 11.56 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003352/0.4123, allocations: 0.6719 MB / 0.6669 GB, free: 10.89 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0038/0.4161, allocations: 0.9411 MB / 0.6678 GB, free: 9.945 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002977/0.4191, allocations: 1.483 MB / 0.6693 GB, free: 8.457 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006878/0.426, allocations: 2.856 MB / 0.6721 GB, free: 5.586 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01724/0.4433, allocations: 8.206 MB / 0.6801 GB, free: 13.36 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.062e-05/0.4434, allocations: 4 kB / 0.6801 GB, free: 13.35 MB / 494.1 MB Notification: Performance of FrontEnd: time 4.439e-06/0.4434, allocations: 3.938 kB / 0.6801 GB, free: 13.35 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.0003667/0.4438, allocations: 3.938 kB / 0.6801 GB, free: 13.34 MB / 494.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.0508/0.4946, allocations: 10.53 MB / 0.6904 GB, free: 2.723 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.223e-05/0.4947, allocations: 16.03 kB / 0.6904 GB, free: 2.707 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01382/0.5085, allocations: 1.933 MB / 0.6923 GB, free: 0.7656 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009452/0.518, allocations: 3.363 MB / 0.6956 GB, free: 13.33 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001478/0.5196, allocations: 1.005 MB / 0.6965 GB, free: 12.17 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001726/0.5213, allocations: 327.8 kB / 0.6969 GB, free: 11.85 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01325/0.5346, allocations: 3.956 MB / 0.7007 GB, free: 7.816 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001213/0.5348, allocations: 3.938 kB / 0.7007 GB, free: 7.812 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001075/0.5358, allocations: 112 kB / 0.7008 GB, free: 7.703 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.394e-05/0.5359, allocations: 64 kB / 0.7009 GB, free: 7.641 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01131/0.5473, allocations: 3.808 MB / 0.7046 GB, free: 3.82 MB / 0.4981 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.03409/0.5814, allocations: 15.5 MB / 0.7198 GB, free: 3.727 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01789/0.5993, allocations: 6.459 MB / 0.7261 GB, free: 13.02 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007151/0.6065, allocations: 2.439 MB / 0.7284 GB, free: 10.57 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001611/0.6082, allocations: 0.766 MB / 0.7292 GB, free: 9.633 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.009994/0.6182, allocations: 2.864 MB / 0.732 GB, free: 6.715 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=331): time 1.061e-05/0.6183, allocations: 0 / 0.732 GB, free: 6.715 MB / 0.5294 GB Notification: Performance of matching and sorting (n=331): time 0.1321/0.7504, allocations: 25.85 MB / 0.7572 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001015/0.7505, allocations: 192.8 kB / 0.7574 GB, free: 12.54 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009206/0.7597, allocations: 4.538 MB / 0.7618 GB, free: 8.008 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.001101/0.7609, allocations: 101.7 kB / 0.7619 GB, free: 7.902 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.001922/0.7628, allocations: 1.747 MB / 0.7636 GB, free: 6.145 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.002154/0.765, allocations: 1.198 MB / 0.7648 GB, free: 4.93 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004182/0.7692, allocations: 1.074 MB / 0.7659 GB, free: 3.844 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 9.19e-05/0.7693, allocations: 301.1 kB / 0.7662 GB, free: 3.547 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007917/0.7772, allocations: 3.018 MB / 0.7691 GB, free: 0.5234 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.3192/1.096, allocations: 3.536 MB / 0.7726 GB, free: 125.8 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01629/1.113, allocations: 6.105 MB / 0.7785 GB, free: 123.7 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.764e-05/1.113, allocations: 1.594 kB / 0.7785 GB, free: 123.7 MB / 0.5606 GB Notification: Performance of matching and sorting (n=739) (initialization): time 0.02437/1.137, allocations: 9.396 MB / 0.7877 GB, free: 120.2 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.691e-05/1.137, allocations: 7.719 kB / 0.7877 GB, free: 120.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-05/1.137, allocations: 7.906 kB / 0.7877 GB, free: 120.2 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02587/1.163, allocations: 10.29 MB / 0.7978 GB, free: 116.3 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005212/1.169, allocations: 0.9865 MB / 0.7987 GB, free: 115.4 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01855/1.187, allocations: 6.293 MB / 0.8049 GB, free: 110 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008323/1.196, allocations: 0.7322 MB / 0.8056 GB, free: 109.6 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001396/1.197, allocations: 187.5 kB / 0.8058 GB, free: 109.5 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.002849/1.2, allocations: 0.7665 MB / 0.8065 GB, free: 108.7 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001904/1.202, allocations: 471.4 kB / 0.807 GB, free: 108.5 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04188/1.244, allocations: 11.6 MB / 0.8183 GB, free: 98.53 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.333e-05/1.244, allocations: 39.94 kB / 0.8183 GB, free: 98.49 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.896e-05/1.244, allocations: 0 / 0.8183 GB, free: 98.49 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.462e-05/1.244, allocations: 19.11 kB / 0.8183 GB, free: 98.47 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.05167/1.296, allocations: 17.67 MB / 0.8356 GB, free: 80.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.19e-05/1.296, allocations: 0 / 0.8356 GB, free: 80.7 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002897/1.299, allocations: 435.5 kB / 0.836 GB, free: 80.27 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01637/1.315, allocations: 4.753 MB / 0.8407 GB, free: 75.51 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008876/1.316, allocations: 83.91 kB / 0.8407 GB, free: 75.43 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05322/1.369, allocations: 21.46 MB / 0.8617 GB, free: 53.87 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.606e-06/1.369, allocations: 0 / 0.8617 GB, free: 53.87 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04496/1.414, allocations: 14.77 MB / 0.8761 GB, free: 39.01 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001949/1.416, allocations: 0.696 MB / 0.8768 GB, free: 38.34 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001574/1.418, allocations: 79.92 kB / 0.8769 GB, free: 38.26 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006762/1.424, allocations: 379.5 kB / 0.8772 GB, free: 37.89 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002829/1.427, allocations: 0.6121 MB / 0.8778 GB, free: 37.27 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004909/1.428, allocations: 95.97 kB / 0.8779 GB, free: 37.18 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.005023/1.433, allocations: 2.997 MB / 0.8809 GB, free: 34.2 MB / 0.5606 GB Notification: Performance of sort global known variables: time 6.11e-07/1.433, allocations: 0 / 0.8809 GB, free: 34.2 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.005026/1.438, allocations: 1.434 MB / 0.8823 GB, free: 32.8 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.0006403/1.439, allocations: 229.2 kB / 0.8825 GB, free: 32.57 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.02322/1.462, allocations: 7.94 MB / 0.8902 GB, free: 24.61 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 8.306e-06/1.462, allocations: 0 / 0.8902 GB, free: 24.61 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.01518/1.477, allocations: 4.477 MB / 0.8946 GB, free: 20.11 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00385/1.481, allocations: 404.3 kB / 0.895 GB, free: 19.72 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01619/1.497, allocations: 9.215 MB / 0.904 GB, free: 10.51 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001421/1.499, allocations: 2.339 MB / 0.9063 GB, free: 8.137 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002262/1.501, allocations: 295.4 kB / 0.9066 GB, free: 7.848 MB / 0.5606 GB Notification: Performance of SimCode: time 1.052e-06/1.501, allocations: 0 / 0.9066 GB, free: 7.848 MB / 0.5606 GB Notification: Performance of Templates: time 0.1507/1.652, allocations: 80.49 MB / 0.9852 GB, free: 7.289 MB / 0.6387 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)