Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.SEXS.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) 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 3.2.3+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 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Running command: translateModel(OpenIPSL.Tests.Controls.PSSE.ES.SEXS,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.SEXS") translateModel(OpenIPSL.Tests.Controls.PSSE.ES.SEXS,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.SEXS") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.1084/0.1084, allocations: 12.59 MB / 28.22 MB, free: 0.7344 MB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00125/0.00125, allocations: 111.4 kB / 31.84 MB, free: 3.879 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.4/1.4, allocations: 205.1 MB / 240.4 MB, free: 12.35 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001281/0.001281, allocations: 191.8 kB / 290.7 MB, free: 13.38 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4494/0.4494, allocations: 78.5 MB / 419.3 MB, free: 11.22 MB / 302.1 MB Notification: Modelica_Synchronous requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenIPSL requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002389/0.002389, allocations: 132.5 kB / 0.5559 GB, free: 28.57 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1177/0.1201, allocations: 68.13 MB / 0.6224 GB, free: 15.41 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.ES.SEXS): time 0.008264/0.1284, allocations: 8.098 MB / 0.6303 GB, free: 7.27 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.005098/0.1336, allocations: 2.486 MB / 0.6327 GB, free: 4.773 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008798/0.1345, allocations: 12 kB / 0.6328 GB, free: 4.762 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008272/0.1353, allocations: 305.4 kB / 0.633 GB, free: 4.461 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002849/0.1382, allocations: 1.262 MB / 0.6343 GB, free: 3.199 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001411/0.1397, allocations: 0.6557 MB / 0.6349 GB, free: 2.551 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002507/0.1422, allocations: 2.279 MB / 0.6371 GB, free: 272 kB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005447/0.1427, allocations: 401.9 kB / 0.6375 GB, free: 15.85 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001025/0.1438, allocations: 0.8677 MB / 0.6384 GB, free: 14.98 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001233/0.145, allocations: 1.109 MB / 0.6395 GB, free: 13.86 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002838/0.1453, allocations: 176 kB / 0.6396 GB, free: 13.69 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007422/0.1461, allocations: 403.7 kB / 0.64 GB, free: 13.3 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003636/0.1464, allocations: 454.2 kB / 0.6404 GB, free: 12.85 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007139/0.1471, allocations: 0.8741 MB / 0.6413 GB, free: 11.97 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002346/0.1495, allocations: 2.237 MB / 0.6435 GB, free: 9.727 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.1495, allocations: 4 kB / 0.6435 GB, free: 9.723 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.784e-06/0.1495, allocations: 4 kB / 0.6435 GB, free: 9.719 MB / 462.1 MB Notification: Performance of Transformations before backend: time 2.049e-05/0.1496, allocations: 3.938 kB / 0.6435 GB, free: 9.715 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 234 * Number of variables: 234 Notification: Performance of Generate backend data structure: time 0.01336/0.1629, allocations: 3.768 MB / 0.6472 GB, free: 5.887 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.907e-05/0.163, allocations: 11.98 kB / 0.6472 GB, free: 5.875 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004635/0.1676, allocations: 0.7638 MB / 0.6479 GB, free: 5.109 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001987/0.1696, allocations: 1.109 MB / 0.649 GB, free: 3.949 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004259/0.1701, allocations: 420.7 kB / 0.6494 GB, free: 3.469 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001972/0.1703, allocations: 111.9 kB / 0.6495 GB, free: 3.359 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002719/0.173, allocations: 1.381 MB / 0.6509 GB, free: 1.961 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.742e-05/0.1731, allocations: 3.938 kB / 0.6509 GB, free: 1.957 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001226/0.1732, allocations: 39.98 kB / 0.6509 GB, free: 1.918 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.16e-05/0.1732, allocations: 24 kB / 0.6509 GB, free: 1.895 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002999/0.1762, allocations: 1.308 MB / 0.6522 GB, free: 0.5859 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.008913/0.1851, allocations: 4.814 MB / 0.6569 GB, free: 11.55 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008094/0.1933, allocations: 2.853 MB / 0.6597 GB, free: 8.559 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001946/0.1953, allocations: 0.8995 MB / 0.6606 GB, free: 7.652 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001308/0.1954, allocations: 24.98 kB / 0.6606 GB, free: 7.629 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002085/0.1975, allocations: 1.038 MB / 0.6616 GB, free: 6.57 MB / 478.1 MB Notification: Performance of pre-optimization done (n=122): time 4.008e-06/0.1975, allocations: 7.984 kB / 0.6616 GB, free: 6.562 MB / 478.1 MB Notification: Performance of matching and sorting (n=122): time 0.04022/0.2377, allocations: 9.676 MB / 0.6711 GB, free: 12.84 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.431e-05/0.2379, allocations: 115.8 kB / 0.6712 GB, free: 12.71 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00225/0.2401, allocations: 1.39 MB / 0.6725 GB, free: 11.3 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004186/0.2405, allocations: 53.7 kB / 0.6726 GB, free: 11.25 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004739/0.241, allocations: 0.593 MB / 0.6732 GB, free: 10.65 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005413/0.2416, allocations: 464.1 kB / 0.6736 GB, free: 10.19 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006069/0.2422, allocations: 331.5 kB / 0.6739 GB, free: 9.863 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001451/0.2423, allocations: 305.1 kB / 0.6742 GB, free: 9.562 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002071/0.2444, allocations: 0.9565 MB / 0.6752 GB, free: 8.605 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002219/0.2467, allocations: 1.158 MB / 0.6763 GB, free: 7.398 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004117/0.2508, allocations: 2.054 MB / 0.6783 GB, free: 5.305 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.225e-06/0.2508, allocations: 4 kB / 0.6783 GB, free: 5.301 MB / 494.1 MB Notification: Performance of matching and sorting (n=231) (initialization): time 0.01736/0.2682, allocations: 5.404 MB / 0.6836 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.58e-05/0.2683, allocations: 10.97 kB / 0.6836 GB, free: 15.87 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.63e-05/0.2683, allocations: 4 kB / 0.6836 GB, free: 15.87 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01001/0.2783, allocations: 2.868 MB / 0.6864 GB, free: 12.99 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001438/0.2798, allocations: 283.6 kB / 0.6867 GB, free: 12.71 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007032/0.2868, allocations: 2.861 MB / 0.6895 GB, free: 9.828 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002565/0.2894, allocations: 250.8 kB / 0.6897 GB, free: 9.582 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001948/0.2896, allocations: 67.97 kB / 0.6898 GB, free: 9.516 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (167): * Single equations (assignments): 166 * 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 {(33,32)} Notification: Performance of prepare postOptimizeDAE: time 0.0006568/0.2903, allocations: 287.1 kB / 0.69 GB, free: 9.227 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000331/0.2906, allocations: 166.9 kB / 0.6902 GB, free: 9.062 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01582/0.3065, allocations: 4.737 MB / 0.6948 GB, free: 4.301 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.6e-05/0.3065, allocations: 16 kB / 0.6948 GB, free: 4.285 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.836e-06/0.3066, allocations: 3.938 kB / 0.6948 GB, free: 4.281 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.748e-05/0.3066, allocations: 7.969 kB / 0.6948 GB, free: 4.273 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 postOpt removeSimpleEquations (simulation): time 0.02256/0.3292, allocations: 6.788 MB / 0.7015 GB, free: 13.35 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.15e-05/0.3293, allocations: 4 kB / 0.7015 GB, free: 13.35 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001326/0.3306, allocations: 139.8 kB / 0.7016 GB, free: 13.21 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01041/0.341, allocations: 2.142 MB / 0.7037 GB, free: 11.07 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000452/0.3415, allocations: 20 kB / 0.7037 GB, free: 11.05 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03612/0.3777, allocations: 10.09 MB / 0.7136 GB, free: 0.8008 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.789e-06/0.3777, allocations: 0 / 0.7136 GB, free: 0.8008 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2797/0.6574, allocations: 5.871 MB / 0.7193 GB, free: 84.72 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005403/0.658, allocations: 279.6 kB / 0.7196 GB, free: 84.6 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000255/0.6583, allocations: 27.77 kB / 0.7196 GB, free: 84.58 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001613/0.6599, allocations: 135.1 kB / 0.7197 GB, free: 84.56 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008317/0.6608, allocations: 255.6 kB / 0.72 GB, free: 84.5 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.963e-05/0.6609, allocations: 33.69 kB / 0.72 GB, free: 84.5 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.00151/0.6624, allocations: 0.9412 MB / 0.7209 GB, free: 84.12 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.21e-07/0.6624, allocations: 0 / 0.7209 GB, free: 84.12 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001388/0.6638, allocations: 0.5157 MB / 0.7214 GB, free: 84.07 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 11 (gENCLS.omega,gENCLS.delta,gENCLS.eq,gENROU.w,gENROU.delta,gENROU.Epd,gENROU.Epq,gENROU.PSIkd,gENROU.PSIkq,sEXS.simpleLagLim.state,sEXS.leadLag.TF.x_scaled[1]) * 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 (79): * Single equations (assignments): 78 * 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.0003133/0.6641, allocations: 154.1 kB / 0.7216 GB, free: 83.96 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.009767/0.6739, allocations: 2.859 MB / 0.7244 GB, free: 83.17 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 5.23e-06/0.6739, allocations: 0 / 0.7244 GB, free: 83.17 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.006696/0.6806, allocations: 1.905 MB / 0.7262 GB, free: 82.54 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001236/0.6819, allocations: 131.3 kB / 0.7264 GB, free: 82.45 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005359/0.6873, allocations: 2.996 MB / 0.7293 GB, free: 80.85 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006251/0.6879, allocations: 1.214 MB / 0.7305 GB, free: 80.11 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0004865/0.6884, allocations: 133 kB / 0.7306 GB, free: 80.09 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003235/0.6887, allocations: 91.83 kB / 0.7307 GB, free: 80.08 MB / 0.5137 GB Notification: Performance of SimCode: time 1.002e-06/0.6887, allocations: 7.75 kB / 0.7307 GB, free: 80.07 MB / 0.5137 GB Notification: Performance of Templates: time 0.04577/0.7345, allocations: 29.97 MB / 0.76 GB, free: 59.69 MB / 0.5137 GB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.SEXS.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.SEXS.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.SEXS.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.SEXS.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.SEXS.sim & ./OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.SEXS -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.SEXS.pipe 2>&1)