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.001267/0.001268, allocations: 104.4 kB / 16.27 MB, free: 6.414 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.238/1.238, allocations: 222.9 MB / 239.9 MB, free: 4.645 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.001253/0.001253, allocations: 203.8 kB / 290.2 MB, free: 2.367 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.41/0.41, allocations: 78.53 MB / 418.9 MB, free: 3.215 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001676/0.001676, allocations: 79.83 kB / 498.1 MB, free: 6.449 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1196/0.1213, allocations: 68.17 MB / 0.553 GB, free: 2.234 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR): time 0.1976/0.3189, allocations: 19.51 MB / 0.5721 GB, free: 28.18 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.009448/0.3284, allocations: 6.397 MB / 0.5783 GB, free: 26.07 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003013/0.3314, allocations: 40.78 kB / 0.5784 GB, free: 26.06 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002271/0.3337, allocations: 0.972 MB / 0.5793 GB, free: 25.57 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006258/0.34, allocations: 2.675 MB / 0.5819 GB, free: 24.48 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003649/0.3437, allocations: 2.177 MB / 0.584 GB, free: 23.5 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.006359/0.35, allocations: 7.301 MB / 0.5912 GB, free: 19.8 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001582/0.3516, allocations: 1.321 MB / 0.5925 GB, free: 19.21 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003245/0.3549, allocations: 2.705 MB / 0.5951 GB, free: 17.78 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003425/0.3583, allocations: 3.33 MB / 0.5984 GB, free: 16.08 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001245/0.3596, allocations: 0.6764 MB / 0.599 GB, free: 16.08 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001786/0.3614, allocations: 0.9419 MB / 0.5999 GB, free: 16 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008757/0.3623, allocations: 1.495 MB / 0.6014 GB, free: 14.96 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002296/0.3646, allocations: 2.856 MB / 0.6042 GB, free: 12.93 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007725/0.3723, allocations: 8.099 MB / 0.6121 GB, free: 9.641 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.641e-06/0.3723, allocations: 0 / 0.6121 GB, free: 9.641 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.3724, allocations: 0 / 0.6121 GB, free: 9.641 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0002103/0.3726, allocations: 1.375 kB / 0.6121 GB, free: 9.641 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.03874/0.4113, allocations: 10.55 MB / 0.6224 GB, free: 4.844 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.617e-05/0.4114, allocations: 9.562 kB / 0.6224 GB, free: 4.844 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01105/0.4224, allocations: 1.937 MB / 0.6243 GB, free: 4.008 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006051/0.4285, allocations: 3.357 MB / 0.6276 GB, free: 1.473 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007956/0.4293, allocations: 1.008 MB / 0.6286 GB, free: 0.5195 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000614/0.4299, allocations: 325.9 kB / 0.6289 GB, free: 416 kB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007719/0.4377, allocations: 3.952 MB / 0.6327 GB, free: 13.52 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.409e-05/0.4377, allocations: 0 / 0.6327 GB, free: 13.52 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003356/0.4381, allocations: 116 kB / 0.6328 GB, free: 13.4 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.23e-05/0.4381, allocations: 65.31 kB / 0.6329 GB, free: 13.34 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007983/0.4461, allocations: 3.804 MB / 0.6366 GB, free: 9.523 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.02776/0.4739, allocations: 15.58 MB / 0.6518 GB, free: 9.359 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01507/0.489, allocations: 6.462 MB / 0.6581 GB, free: 2.703 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005388/0.4944, allocations: 2.432 MB / 0.6605 GB, free: 260 kB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008625/0.4953, allocations: 0.7699 MB / 0.6613 GB, free: 15.32 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006437/0.5017, allocations: 2.861 MB / 0.6641 GB, free: 12.4 MB / 478.1 MB Notification: Performance of pre-optimization done (n=331): time 6.041e-06/0.5018, allocations: 4 kB / 0.6641 GB, free: 12.39 MB / 478.1 MB Notification: Performance of matching and sorting (n=331): time 0.1048/0.6066, allocations: 25.85 MB / 0.6893 GB, free: 2.445 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001051/0.6067, allocations: 194.9 kB / 0.6895 GB, free: 2.219 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009076/0.6158, allocations: 4.534 MB / 0.6939 GB, free: 13.69 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.001038/0.6169, allocations: 105.7 kB / 0.694 GB, free: 13.58 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001718/0.6186, allocations: 1.747 MB / 0.6957 GB, free: 11.82 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001945/0.6206, allocations: 1.194 MB / 0.6969 GB, free: 10.61 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003669/0.6242, allocations: 1.066 MB / 0.6979 GB, free: 9.531 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.359e-05/0.6244, allocations: 305.1 kB / 0.6982 GB, free: 9.23 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006697/0.6311, allocations: 3.018 MB / 0.7012 GB, free: 6.207 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007015/0.6381, allocations: 3.541 MB / 0.7046 GB, free: 2.57 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01357/0.6517, allocations: 6.106 MB / 0.7106 GB, free: 12.34 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.886e-05/0.6517, allocations: 0 / 0.7106 GB, free: 12.34 MB / 0.5137 GB Notification: Performance of matching and sorting (n=739) (initialization): time 0.02238/0.6741, allocations: 9.393 MB / 0.7198 GB, free: 2.875 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.938e-05/0.6742, allocations: 11.98 kB / 0.7198 GB, free: 2.863 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.007e-05/0.6742, allocations: 9.5 kB / 0.7198 GB, free: 2.855 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02436/0.6986, allocations: 10.3 MB / 0.7298 GB, free: 8.555 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004965/0.7036, allocations: 0.9869 MB / 0.7308 GB, free: 7.566 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01655/0.7202, allocations: 6.291 MB / 0.737 GB, free: 1.246 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007493/0.7277, allocations: 0.737 MB / 0.7377 GB, free: 0.5039 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001003/0.7287, allocations: 188 kB / 0.7379 GB, free: 328 kB / 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 ($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.002465/0.7312, allocations: 0.7726 MB / 0.7386 GB, free: 15.54 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00152/0.7327, allocations: 462.1 kB / 0.739 GB, free: 15.08 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03624/0.769, allocations: 11.62 MB / 0.7504 GB, free: 3.398 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.615e-05/0.769, allocations: 35.98 kB / 0.7504 GB, free: 3.363 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.409e-05/0.7691, allocations: 6.469 kB / 0.7504 GB, free: 3.359 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.938e-05/0.7692, allocations: 15.94 kB / 0.7504 GB, free: 3.344 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.04824/0.8174, allocations: 17.69 MB / 0.7677 GB, free: 1.41 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.532e-05/0.8175, allocations: 4 kB / 0.7677 GB, free: 1.406 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002945/0.8204, allocations: 435.3 kB / 0.7681 GB, free: 0.9805 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.2055/1.026, allocations: 4.763 MB / 0.7728 GB, free: 163.4 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008524/1.027, allocations: 81.31 kB / 0.7729 GB, free: 163.4 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04734/1.074, allocations: 21.48 MB / 0.7938 GB, free: 159.9 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.497e-06/1.074, allocations: 0.9062 kB / 0.7938 GB, free: 159.9 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04241/1.117, allocations: 14.77 MB / 0.8083 GB, free: 155.8 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001664/1.118, allocations: 0.6898 MB / 0.8089 GB, free: 155.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001002/1.119, allocations: 73.66 kB / 0.809 GB, free: 155.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004068/1.123, allocations: 387.5 kB / 0.8094 GB, free: 155.2 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001889/1.125, allocations: 0.6181 MB / 0.81 GB, free: 155.1 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002707/1.126, allocations: 88.33 kB / 0.8101 GB, free: 155.1 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.004638/1.13, allocations: 2.993 MB / 0.813 GB, free: 153.9 MB / 0.5606 GB Notification: Performance of sort global known variables: time 5.81e-07/1.13, allocations: 0 / 0.813 GB, free: 153.9 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.004557/1.135, allocations: 1.436 MB / 0.8144 GB, free: 153.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.0005464/1.135, allocations: 237.6 kB / 0.8146 GB, free: 153.6 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.02328/1.159, allocations: 8.156 MB / 0.8226 GB, free: 151 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.57e-06/1.159, allocations: 3.812 kB / 0.8226 GB, free: 151 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0112/1.17, allocations: 4.469 MB / 0.827 GB, free: 148.4 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003299/1.173, allocations: 411.7 kB / 0.8273 GB, free: 148 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01364/1.187, allocations: 9.335 MB / 0.8365 GB, free: 139.5 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001226/1.188, allocations: 2.34 MB / 0.8387 GB, free: 137.7 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001923/1.19, allocations: 286.8 kB / 0.839 GB, free: 137.4 MB / 0.5606 GB Notification: Performance of SimCode: time 8.21e-07/1.19, allocations: 0 / 0.839 GB, free: 137.4 MB / 0.5606 GB Notification: Performance of Templates: time 0.07222/1.262, allocations: 79.34 MB / 0.9165 GB, free: 59.45 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 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR.pipe 2>&1)