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.0009176/0.0009177, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.24/1.24, allocations: 223.2 MB / 238.9 MB, free: 5.629 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.001016/0.001016, allocations: 189 kB / 290.2 MB, free: 2.32 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4144/0.4144, allocations: 78.53 MB / 419.8 MB, free: 4.348 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003335/0.0003335, allocations: 8 kB / 499.6 MB, free: 6.383 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1081/0.1084, allocations: 69.36 MB / 0.5557 GB, free: 0.9727 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR): time 0.1963/0.3048, allocations: 17.07 MB / 0.5723 GB, free: 32.51 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01045/0.3153, allocations: 6.345 MB / 0.5785 GB, free: 27.93 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003644/0.319, allocations: 47.53 kB / 0.5786 GB, free: 27.92 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002786/0.3218, allocations: 0.672 MB / 0.5792 GB, free: 27.62 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007022/0.3288, allocations: 2.309 MB / 0.5815 GB, free: 26.16 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003876/0.3327, allocations: 1.542 MB / 0.583 GB, free: 25.45 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.006669/0.3394, allocations: 4.224 MB / 0.5871 GB, free: 23.14 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001401/0.3408, allocations: 1.048 MB / 0.5881 GB, free: 22.73 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002422/0.3433, allocations: 2.132 MB / 0.5902 GB, free: 21.79 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002982/0.3463, allocations: 2.739 MB / 0.5929 GB, free: 20.59 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001038/0.3473, allocations: 250.4 kB / 0.5931 GB, free: 20.59 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001437/0.3488, allocations: 477.9 kB / 0.5936 GB, free: 20.53 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007973/0.3496, allocations: 0.9868 MB / 0.5946 GB, free: 19.98 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001042/0.3506, allocations: 0.839 MB / 0.5954 GB, free: 19.43 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006392/0.357, allocations: 6.293 MB / 0.6015 GB, free: 17.95 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.785e-06/0.3571, allocations: 0 / 0.6015 GB, free: 17.95 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.294e-06/0.3571, allocations: 0 / 0.6015 GB, free: 17.95 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0002347/0.3573, allocations: 3.938 kB / 0.6015 GB, free: 17.95 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.03768/0.395, allocations: 9.914 MB / 0.6112 GB, free: 14.68 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.701e-05/0.395, allocations: 9.625 kB / 0.6112 GB, free: 14.68 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01229/0.4073, allocations: 1.946 MB / 0.6131 GB, free: 13.91 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006982/0.4143, allocations: 3.195 MB / 0.6162 GB, free: 11.54 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009422/0.4153, allocations: 1.031 MB / 0.6172 GB, free: 10.59 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001168/0.4165, allocations: 330.2 kB / 0.6176 GB, free: 10.47 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008747/0.4253, allocations: 4.093 MB / 0.6216 GB, free: 8.141 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.429e-05/0.4253, allocations: 7.891 kB / 0.6216 GB, free: 8.133 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003764/0.4257, allocations: 111.1 kB / 0.6217 GB, free: 8.047 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.844e-05/0.4258, allocations: 66.06 kB / 0.6217 GB, free: 8.047 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008379/0.4342, allocations: 3.99 MB / 0.6256 GB, free: 6.16 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.03104/0.4652, allocations: 16.28 MB / 0.6415 GB, free: 5.609 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01647/0.4817, allocations: 7.19 MB / 0.6486 GB, free: 14.23 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009042/0.4827, allocations: 0.7737 MB / 0.6493 GB, free: 13.29 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006635/0.4893, allocations: 3.037 MB / 0.6523 GB, free: 10.2 MB / 462.1 MB Notification: Performance of pre-optimization done (n=331): time 6.362e-06/0.4893, allocations: 0 / 0.6523 GB, free: 10.2 MB / 462.1 MB Notification: Performance of matching and sorting (n=331): time 0.1105/0.5999, allocations: 30.34 MB / 0.6819 GB, free: 11.76 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.804e-05/0.6, allocations: 192.9 kB / 0.6821 GB, free: 11.53 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008469/0.6085, allocations: 4.491 MB / 0.6865 GB, free: 7.043 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001119/0.6097, allocations: 101.7 kB / 0.6866 GB, free: 6.938 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001795/0.6115, allocations: 1.75 MB / 0.6883 GB, free: 5.176 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001966/0.6134, allocations: 1.202 MB / 0.6895 GB, free: 3.957 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001053/0.6145, allocations: 112 kB / 0.6896 GB, free: 3.848 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0003946/0.6149, allocations: 0.5144 MB / 0.6901 GB, free: 3.324 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007558/0.6225, allocations: 3.193 MB / 0.6932 GB, free: 128 kB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008221/0.6307, allocations: 3.682 MB / 0.6968 GB, free: 12.35 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008169/0.6389, allocations: 3.415 MB / 0.7001 GB, free: 8.906 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.621e-05/0.639, allocations: 0 / 0.7001 GB, free: 8.906 MB / 0.4981 GB Notification: Performance of matching and sorting (n=739) (initialization): time 0.02463/0.6636, allocations: 9.952 MB / 0.7098 GB, free: 14.89 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 3.228e-05/0.6637, allocations: 11.94 kB / 0.7098 GB, free: 14.88 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.095e-05/0.6637, allocations: 8 kB / 0.7099 GB, free: 14.87 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02709/0.6908, allocations: 11.1 MB / 0.7207 GB, free: 3.758 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005234/0.6961, allocations: 0.9869 MB / 0.7217 GB, free: 2.77 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01811/0.7143, allocations: 6.975 MB / 0.7285 GB, free: 11.76 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00763/0.7219, allocations: 0.8365 MB / 0.7293 GB, free: 10.92 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001037/0.723, allocations: 192 kB / 0.7295 GB, free: 10.73 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.002762/0.7258, allocations: 0.7665 MB / 0.7302 GB, free: 9.957 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001565/0.7274, allocations: 470.9 kB / 0.7307 GB, free: 9.492 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04184/0.7692, allocations: 13.96 MB / 0.7443 GB, free: 11.47 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.632e-05/0.7693, allocations: 36 kB / 0.7443 GB, free: 11.44 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.271e-05/0.7693, allocations: 0.625 kB / 0.7443 GB, free: 11.44 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.178e-05/0.7694, allocations: 15.94 kB / 0.7443 GB, free: 11.42 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.05068/0.8201, allocations: 20.25 MB / 0.7641 GB, free: 6.883 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.907e-05/0.8202, allocations: 3.984 kB / 0.7641 GB, free: 6.879 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002947/0.8231, allocations: 441 kB / 0.7645 GB, free: 6.449 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01664/0.8398, allocations: 5.57 MB / 0.77 GB, free: 0.875 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007903/0.8406, allocations: 79.98 kB / 0.7701 GB, free: 0.7969 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2569/1.098, allocations: 23.24 MB / 0.7928 GB, free: 165.4 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.22e-06/1.098, allocations: 1.125 kB / 0.7928 GB, free: 165.4 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05116/1.149, allocations: 17.39 MB / 0.8097 GB, free: 160.6 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00188/1.151, allocations: 0.707 MB / 0.8104 GB, free: 160.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001799/1.153, allocations: 71.89 kB / 0.8105 GB, free: 160.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005542/1.158, allocations: 498.8 kB / 0.811 GB, free: 160 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002353/1.16, allocations: 0.6235 MB / 0.8116 GB, free: 159.9 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005963/1.161, allocations: 89.75 kB / 0.8117 GB, free: 159.9 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.005746/1.167, allocations: 2.958 MB / 0.8146 GB, free: 158.8 MB / 0.5606 GB Notification: Performance of sort global known variables: time 3.7e-07/1.167, allocations: 0 / 0.8146 GB, free: 158.8 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.006043/1.173, allocations: 1.433 MB / 0.816 GB, free: 158.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 (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.001024/1.174, allocations: 243.1 kB / 0.8162 GB, free: 158.4 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.02138/1.195, allocations: 8.58 MB / 0.8246 GB, free: 153 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 7.193e-06/1.195, allocations: 0 / 0.8246 GB, free: 153 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.01277/1.208, allocations: 4.984 MB / 0.8294 GB, free: 148.7 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003118/1.211, allocations: 334.7 kB / 0.8298 GB, free: 148.4 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01589/1.227, allocations: 10.94 MB / 0.8404 GB, free: 138.1 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001512/1.229, allocations: 2.429 MB / 0.8428 GB, free: 135.6 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.002306/1.231, allocations: 452 kB / 0.8432 GB, free: 135.2 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001373/1.232, allocations: 259.4 kB / 0.8435 GB, free: 134.9 MB / 0.5606 GB Notification: Performance of SimCode: time 8.62e-07/1.233, allocations: 0 / 0.8435 GB, free: 134.9 MB / 0.5606 GB Notification: Performance of Templates: time 0.08838/1.321, allocations: 68.73 MB / 0.9106 GB, free: 66.34 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: