Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.ESAC1A.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.Tests.Controls.PSSE.ES.ESAC1A,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.ESAC1A") translateModel(OpenIPSL.Tests.Controls.PSSE.ES.ESAC1A,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.ESAC1A") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001215/0.001215, allocations: 105.3 kB / 16.41 MB, free: 6.496 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.998/1.998, allocations: 222.9 MB / 240.1 MB, free: 4.574 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.001833/0.001833, allocations: 196.4 kB / 290.4 MB, free: 2.285 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.8452/0.8452, allocations: 78.53 MB / 419.1 MB, free: 3.223 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003169/0.003169, allocations: 79.88 kB / 0.5543 GB, free: 1.012 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5152/0.5184, allocations: 68.17 MB / 0.6209 GB, free: 10.04 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.ES.ESAC1A): time 0.01296/0.5314, allocations: 9.102 MB / 0.6298 GB, free: 1.305 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01175/0.5433, allocations: 2.966 MB / 0.6327 GB, free: 14.33 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003161/0.5465, allocations: 16 kB / 0.6327 GB, free: 14.31 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002232/0.5488, allocations: 353 kB / 0.633 GB, free: 13.96 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007489/0.5563, allocations: 1.237 MB / 0.6342 GB, free: 12.73 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004294/0.5607, allocations: 0.9418 MB / 0.6351 GB, free: 11.79 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.008376/0.5691, allocations: 2.688 MB / 0.6378 GB, free: 9.098 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001776/0.5709, allocations: 0.5337 MB / 0.6383 GB, free: 8.531 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002956/0.5739, allocations: 1.019 MB / 0.6393 GB, free: 7.508 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003022/0.5769, allocations: 1.256 MB / 0.6405 GB, free: 6.246 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006575/0.5776, allocations: 220 kB / 0.6407 GB, free: 6.031 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001804/0.5795, allocations: 491.7 kB / 0.6412 GB, free: 5.551 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007502/0.5802, allocations: 0.5292 MB / 0.6417 GB, free: 5.02 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001667/0.5819, allocations: 1.045 MB / 0.6427 GB, free: 3.969 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005546/0.5875, allocations: 2.723 MB / 0.6454 GB, free: 1.238 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.346e-05/0.5875, allocations: 4 kB / 0.6454 GB, free: 1.234 MB / 446.1 MB Notification: Performance of FrontEnd: time 3.737e-06/0.5875, allocations: 0 / 0.6454 GB, free: 1.234 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.643e-05/0.5876, allocations: 0 / 0.6454 GB, free: 1.234 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 283 * Number of variables: 283 Notification: Performance of Generate backend data structure: time 0.02818/0.6158, allocations: 4.148 MB / 0.6494 GB, free: 13.02 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.615e-05/0.616, allocations: 12.03 kB / 0.6495 GB, free: 13.01 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009813/0.6258, allocations: 0.7742 MB / 0.6502 GB, free: 12.23 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005296/0.6312, allocations: 1.263 MB / 0.6514 GB, free: 10.92 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001131/0.6323, allocations: 0.5002 MB / 0.6519 GB, free: 10.34 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009729/0.6334, allocations: 124 kB / 0.652 GB, free: 10.22 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008093/0.6415, allocations: 1.628 MB / 0.6536 GB, free: 8.539 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.779e-05/0.6416, allocations: 0 / 0.6536 GB, free: 8.539 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004455/0.6421, allocations: 48 kB / 0.6537 GB, free: 8.492 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.069e-05/0.6422, allocations: 24 kB / 0.6537 GB, free: 8.469 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006721/0.6489, allocations: 1.515 MB / 0.6552 GB, free: 6.945 MB / 462.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.02016/0.6691, allocations: 5.576 MB / 0.6606 GB, free: 1.148 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01679/0.6859, allocations: 3.192 MB / 0.6637 GB, free: 13.82 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004499/0.6905, allocations: 1.01 MB / 0.6647 GB, free: 12.8 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001171/0.6917, allocations: 0.7258 MB / 0.6654 GB, free: 11.91 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004542/0.6963, allocations: 1.176 MB / 0.6666 GB, free: 10.71 MB / 478.1 MB Notification: Performance of pre-optimization done (n=139): time 9.969e-06/0.6964, allocations: 0 / 0.6666 GB, free: 10.71 MB / 478.1 MB Notification: Performance of matching and sorting (n=139): time 0.05761/0.754, allocations: 9.959 MB / 0.6763 GB, free: 0.707 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.735e-05/0.7541, allocations: 149.9 kB / 0.6765 GB, free: 0.5273 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002654/0.7568, allocations: 1.561 MB / 0.678 GB, free: 14.96 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004835/0.7573, allocations: 57.7 kB / 0.678 GB, free: 14.9 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000558/0.7579, allocations: 0.6752 MB / 0.6787 GB, free: 14.21 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006077/0.7585, allocations: 0.4968 MB / 0.6792 GB, free: 13.71 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007126/0.7592, allocations: 379.6 kB / 0.6795 GB, free: 13.33 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001118/0.7593, allocations: 309.1 kB / 0.6798 GB, free: 13.02 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00323/0.7626, allocations: 1.095 MB / 0.6809 GB, free: 11.92 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003703/0.7663, allocations: 1.318 MB / 0.6822 GB, free: 10.54 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006853/0.7731, allocations: 2.29 MB / 0.6844 GB, free: 8.191 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.024e-05/0.7732, allocations: 3.938 kB / 0.6844 GB, free: 8.188 MB / 494.1 MB Notification: Performance of matching and sorting (n=265) (initialization): time 0.01498/0.7882, allocations: 4.124 MB / 0.6885 GB, free: 4.047 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.076e-05/0.7883, allocations: 8 kB / 0.6885 GB, free: 4.039 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.52e-05/0.7883, allocations: 4 kB / 0.6885 GB, free: 4.035 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01117/0.7994, allocations: 2.785 MB / 0.6912 GB, free: 1.238 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002034/0.8015, allocations: 355.5 kB / 0.6915 GB, free: 0.8906 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009287/0.8108, allocations: 3.365 MB / 0.6948 GB, free: 13.47 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00365/0.8145, allocations: 290 kB / 0.6951 GB, free: 13.19 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004089/0.815, allocations: 67.98 kB / 0.6952 GB, free: 13.12 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.004198/0.8192, allocations: 1.324 MB / 0.6965 GB, free: 11.79 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003565/0.8228, allocations: 1.31 MB / 0.6977 GB, free: 10.41 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.007833/0.8306, allocations: 2.267 MB / 0.6999 GB, free: 8.098 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.121e-05/0.8307, allocations: 0 / 0.6999 GB, free: 8.098 MB / 0.4981 GB Notification: Performance of matching and sorting (n=265) (initialization_lambda0): time 0.01743/0.8481, allocations: 4.094 MB / 0.7039 GB, free: 3.988 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.103e-05/0.8482, allocations: 12.06 kB / 0.704 GB, free: 3.977 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.638e-05/0.8482, allocations: 4 kB / 0.704 GB, free: 3.973 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0124/0.8606, allocations: 2.793 MB / 0.7067 GB, free: 1.172 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002343/0.863, allocations: 347.5 kB / 0.707 GB, free: 0.832 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007495/0.8705, allocations: 3.376 MB / 0.7103 GB, free: 13.4 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002696/0.8732, allocations: 250.5 kB / 0.7106 GB, free: 13.15 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002092/0.8735, allocations: 75.97 kB / 0.7106 GB, free: 13.08 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition2,$whenCondition1,eSAC1A.rotatingExciterWithDemagnetization.sISO.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (200): * Single equations (assignments): 198 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(30,26), (1,10)} Notification: Performance of prepare postOptimizeDAE: time 0.0004794/0.8739, allocations: 271.9 kB / 0.7109 GB, free: 12.8 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003584/0.8743, allocations: 181.8 kB / 0.7111 GB, free: 12.62 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01778/0.8921, allocations: 5.071 MB / 0.716 GB, free: 7.535 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.83e-05/0.8922, allocations: 16 kB / 0.716 GB, free: 7.52 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.143e-05/0.8922, allocations: 3.938 kB / 0.716 GB, free: 7.516 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.142e-05/0.8922, allocations: 7.984 kB / 0.716 GB, free: 7.508 MB / 0.5137 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.02746/0.9197, allocations: 7.264 MB / 0.7231 GB, free: 112 kB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.623e-05/0.9199, allocations: 0 / 0.7231 GB, free: 112 kB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001841/0.9217, allocations: 183.8 kB / 0.7233 GB, free: 15.93 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01156/0.9333, allocations: 2.142 MB / 0.7254 GB, free: 13.79 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004338/0.9338, allocations: 28 kB / 0.7254 GB, free: 13.76 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03775/0.9715, allocations: 10.06 MB / 0.7352 GB, free: 3.551 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.549e-06/0.9716, allocations: 0 / 0.7352 GB, free: 3.551 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02531/0.9969, allocations: 6.261 MB / 0.7414 GB, free: 13.26 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009247/0.9979, allocations: 298.3 kB / 0.7416 GB, free: 12.95 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002861/0.9982, allocations: 28 kB / 0.7417 GB, free: 12.92 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001869/1, allocations: 155.8 kB / 0.7418 GB, free: 12.77 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001099/1.001, allocations: 281.4 kB / 0.7421 GB, free: 12.49 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001251/1.001, allocations: 43.98 kB / 0.7421 GB, free: 12.45 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001787/1.003, allocations: 1.049 MB / 0.7432 GB, free: 11.4 MB / 0.545 GB Notification: Performance of sort global known variables: time 3.1e-07/1.003, allocations: 0 / 0.7432 GB, free: 11.4 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.002993/1.006, allocations: 0.9362 MB / 0.7441 GB, free: 10.46 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 14 (gENCLS.omega,gENCLS.delta,gENCLS.eq,gENROE.w,gENROE.delta,gENROE.Epd,gENROE.Epq,gENROE.PSIkd,gENROE.PSIkq,eSAC1A.imLeadLag.TF.x_scaled[1],eSAC1A.imSimpleLag.state,eSAC1A.simpleLagLim.state,eSAC1A.derivative.x,eSAC1A.rotatingExciterWithDemagnetization.sISO.y) * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (96): * Single equations (assignments): 95 * 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 {(26,23)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005502/1.007, allocations: 178.9 kB / 0.7442 GB, free: 10.28 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01866/1.025, allocations: 5.295 MB / 0.7494 GB, free: 4.984 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 9.969e-06/1.025, allocations: 4.25 kB / 0.7494 GB, free: 4.98 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.007514/1.033, allocations: 2.032 MB / 0.7514 GB, free: 2.934 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001709/1.035, allocations: 173.7 kB / 0.7516 GB, free: 2.766 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00948/1.044, allocations: 3.513 MB / 0.755 GB, free: 15.21 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001162/1.045, allocations: 1.3 MB / 0.7563 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008522/1.046, allocations: 123.4 kB / 0.7564 GB, free: 13.77 MB / 0.5606 GB Notification: Performance of SimCode: time 9.12e-07/1.046, allocations: 0 / 0.7564 GB, free: 13.77 MB / 0.5606 GB Notification: Performance of Templates: time 0.4907/1.537, allocations: 33.46 MB / 0.7891 GB, free: 130.7 MB / 0.5606 GB make -j1 -f OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.ESAC1A.makefile (rm -f OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.ESAC1A.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.ESAC1A.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.ESAC1A.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.ESAC1A.sim & ./OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.ESAC1A -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.ESAC1A.pipe 2>&1)