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.001325/0.001325, allocations: 106.9 kB / 16.36 MB, free: 5.824 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.472/1.472, allocations: 222.9 MB / 240 MB, free: 4.508 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.001688/0.001688, allocations: 196.4 kB / 290.3 MB, free: 2.23 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.5364/0.5364, allocations: 78.54 MB / 419 MB, free: 3.184 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00158/0.00158, allocations: 71.89 kB / 498.9 MB, free: 5.664 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1539/0.1555, allocations: 68.18 MB / 0.5538 GB, free: 1.445 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR): time 0.2839/0.4394, allocations: 19.5 MB / 0.5728 GB, free: 27.49 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01357/0.453, allocations: 6.395 MB / 0.5791 GB, free: 25.39 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006195/0.4593, allocations: 39.41 kB / 0.5791 GB, free: 25.39 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004441/0.4638, allocations: 0.9798 MB / 0.58 GB, free: 24.89 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009496/0.4733, allocations: 2.68 MB / 0.5827 GB, free: 23.8 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00534/0.4787, allocations: 2.165 MB / 0.5848 GB, free: 22.83 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.01011/0.4888, allocations: 7.351 MB / 0.592 GB, free: 19.13 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002463/0.4913, allocations: 1.316 MB / 0.5932 GB, free: 18.54 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00439/0.4957, allocations: 2.716 MB / 0.5959 GB, free: 17.1 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004989/0.5007, allocations: 3.332 MB / 0.5991 GB, free: 15.41 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002734/0.5035, allocations: 0.6721 MB / 0.5998 GB, free: 15.41 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004436/0.508, allocations: 0.9506 MB / 0.6007 GB, free: 15.32 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003899/0.5119, allocations: 1.494 MB / 0.6022 GB, free: 14.29 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006922/0.5188, allocations: 2.854 MB / 0.605 GB, free: 12.26 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01551/0.5344, allocations: 8.202 MB / 0.613 GB, free: 8.918 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.085e-06/0.5344, allocations: 0 / 0.613 GB, free: 8.918 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.515e-06/0.5344, allocations: 0 / 0.613 GB, free: 8.918 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0003289/0.5348, allocations: 1.375 kB / 0.613 GB, free: 8.918 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.04556/0.5803, allocations: 10.54 MB / 0.6233 GB, free: 4.145 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.689e-05/0.5804, allocations: 9.844 kB / 0.6233 GB, free: 4.145 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01302/0.5934, allocations: 1.933 MB / 0.6252 GB, free: 3.312 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00925/0.6027, allocations: 3.363 MB / 0.6285 GB, free: 0.7773 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001312/0.6041, allocations: 1.011 MB / 0.6295 GB, free: 15.82 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002143/0.6063, allocations: 326.5 kB / 0.6298 GB, free: 15.71 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01212/0.6184, allocations: 3.949 MB / 0.6336 GB, free: 12.76 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.308e-05/0.6185, allocations: 4 kB / 0.6336 GB, free: 12.76 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003933/0.6189, allocations: 108 kB / 0.6337 GB, free: 12.65 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.636e-05/0.619, allocations: 73.59 kB / 0.6338 GB, free: 12.58 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0092/0.6282, allocations: 3.8 MB / 0.6375 GB, free: 8.77 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.03535/0.6636, allocations: 15.51 MB / 0.6527 GB, free: 8.672 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01554/0.6791, allocations: 6.465 MB / 0.659 GB, free: 2.023 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005809/0.685, allocations: 2.428 MB / 0.6613 GB, free: 15.58 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001043/0.6861, allocations: 0.766 MB / 0.6621 GB, free: 14.64 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007016/0.6931, allocations: 2.866 MB / 0.6649 GB, free: 11.72 MB / 478.1 MB Notification: Performance of pre-optimization done (n=331): time 5.56e-06/0.6931, allocations: 0 / 0.6649 GB, free: 11.72 MB / 478.1 MB Notification: Performance of matching and sorting (n=331): time 0.1022/0.7954, allocations: 25.85 MB / 0.6901 GB, free: 1.773 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001091/0.7955, allocations: 188.8 kB / 0.6903 GB, free: 1.551 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01064/0.8062, allocations: 4.54 MB / 0.6947 GB, free: 13.02 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.001449/0.8077, allocations: 105.7 kB / 0.6948 GB, free: 12.91 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002032/0.8097, allocations: 1.747 MB / 0.6966 GB, free: 11.15 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.002575/0.8123, allocations: 1.198 MB / 0.6977 GB, free: 9.934 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002562/0.8149, allocations: 1.066 MB / 0.6988 GB, free: 8.855 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001664/0.815, allocations: 305.1 kB / 0.6991 GB, free: 8.555 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00657/0.8216, allocations: 3.018 MB / 0.702 GB, free: 5.531 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007521/0.8292, allocations: 3.543 MB / 0.7055 GB, free: 1.895 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01539/0.8446, allocations: 6.11 MB / 0.7114 GB, free: 11.66 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.685e-05/0.8447, allocations: 0 / 0.7114 GB, free: 11.66 MB / 0.5137 GB Notification: Performance of matching and sorting (n=739) (initialization): time 0.02542/0.8701, allocations: 9.393 MB / 0.7206 GB, free: 2.199 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 3.515e-05/0.8702, allocations: 9.094 kB / 0.7206 GB, free: 2.191 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.918e-05/0.8702, allocations: 11.98 kB / 0.7206 GB, free: 2.18 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02451/0.8947, allocations: 10.29 MB / 0.7307 GB, free: 7.883 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005296/0.9001, allocations: 0.9792 MB / 0.7316 GB, free: 6.902 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01608/0.9162, allocations: 6.291 MB / 0.7378 GB, free: 0.582 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007841/0.9241, allocations: 0.7343 MB / 0.7385 GB, free: 15.84 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009262/0.925, allocations: 195.9 kB / 0.7387 GB, free: 15.65 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.002175/0.9272, allocations: 0.7647 MB / 0.7394 GB, free: 14.88 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001384/0.9286, allocations: 474.1 kB / 0.7399 GB, free: 14.41 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03547/0.9641, allocations: 11.61 MB / 0.7512 GB, free: 2.73 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.446e-05/0.9642, allocations: 33.25 kB / 0.7512 GB, free: 2.699 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.633e-05/0.9642, allocations: 9.391 kB / 0.7512 GB, free: 2.691 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001122/0.9643, allocations: 19.88 kB / 0.7513 GB, free: 2.672 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.04965/1.014, allocations: 17.66 MB / 0.7685 GB, free: 0.7891 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.639e-05/1.014, allocations: 128 / 0.7685 GB, free: 0.7891 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003198/1.017, allocations: 443.3 kB / 0.7689 GB, free: 364 kB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.2839/1.301, allocations: 4.749 MB / 0.7736 GB, free: 163.2 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001264/1.303, allocations: 81.58 kB / 0.7736 GB, free: 163.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04765/1.35, allocations: 21.45 MB / 0.7946 GB, free: 159.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.508e-06/1.35, allocations: 3.656 kB / 0.7946 GB, free: 159.5 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04901/1.399, allocations: 14.78 MB / 0.809 GB, free: 155.5 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003326/1.403, allocations: 0.6927 MB / 0.8097 GB, free: 155 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002902/1.406, allocations: 70.7 kB / 0.8098 GB, free: 155 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008554/1.414, allocations: 385.2 kB / 0.8101 GB, free: 154.9 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004062/1.418, allocations: 0.6136 MB / 0.8107 GB, free: 154.8 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001113/1.419, allocations: 94.97 kB / 0.8108 GB, free: 154.8 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.009078/1.428, allocations: 2.991 MB / 0.8137 GB, free: 153.6 MB / 0.5606 GB Notification: Performance of sort global known variables: time 6.41e-07/1.429, allocations: 0 / 0.8137 GB, free: 153.6 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.006574/1.435, allocations: 1.439 MB / 0.8152 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 (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.0008627/1.436, allocations: 237.9 kB / 0.8154 GB, free: 153.3 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0195/1.456, allocations: 7.938 MB / 0.8231 GB, free: 150.7 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 7.384e-06/1.456, allocations: 1.375 kB / 0.8231 GB, free: 150.7 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0119/1.467, allocations: 4.503 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.004875/1.472, allocations: 405.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.01613/1.489, allocations: 9.135 MB / 0.8368 GB, free: 139.1 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00138/1.49, allocations: 2.338 MB / 0.8391 GB, free: 137.3 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.002259/1.492, allocations: 448.2 kB / 0.8395 GB, free: 137 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001242/1.494, allocations: 278.9 kB / 0.8398 GB, free: 136.8 MB / 0.5606 GB Notification: Performance of SimCode: time 8.01e-07/1.494, allocations: 0 / 0.8398 GB, free: 136.8 MB / 0.5606 GB Notification: Performance of Templates: time 0.1061/1.6, allocations: 77.73 MB / 0.9157 GB, free: 60.52 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 cvode -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR.pipe 2>&1)