Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Wind.PSSE.WT4G.WT4G1.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.1.0-master/package.mo", uses=false) Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/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.Wind.PSSE.WT4G.WT4G1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Wind.PSSE.WT4G.WT4G1") translateModel(OpenIPSL.Tests.Wind.PSSE.WT4G.WT4G1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Wind.PSSE.WT4G.WT4G1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007544/0.007544, allocations: 98.97 kB / 15.73 MB, free: 6.012 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.407/1.407, allocations: 222.9 MB / 239.4 MB, free: 4.5 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.002178/0.002178, allocations: 192.5 kB / 289.7 MB, free: 2.219 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5158/0.5158, allocations: 91.89 MB / 431.7 MB, free: 9.168 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001449/0.001449, allocations: 76.52 kB / 0.5727 GB, free: 33.8 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1453/0.1468, allocations: 71.28 MB / 0.6423 GB, free: 3.719 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Wind.PSSE.WT4G.WT4G1): time 0.005961/0.1528, allocations: 5.225 MB / 0.6474 GB, free: 14.46 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.003194/0.156, allocations: 1.54 MB / 0.6489 GB, free: 12.92 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004935/0.1566, allocations: 11.94 kB / 0.6489 GB, free: 12.91 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004784/0.157, allocations: 174.5 kB / 0.6491 GB, free: 12.74 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007583/0.1579, allocations: 325.5 kB / 0.6494 GB, free: 12.42 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001559/0.1594, allocations: 0.7364 MB / 0.6501 GB, free: 11.69 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001273/0.1607, allocations: 1.141 MB / 0.6512 GB, free: 10.54 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004246/0.1611, allocations: 272.9 kB / 0.6515 GB, free: 10.27 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005528/0.1617, allocations: 474 kB / 0.652 GB, free: 9.801 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000693/0.1624, allocations: 0.5872 MB / 0.6525 GB, free: 9.211 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001306/0.1625, allocations: 96 kB / 0.6526 GB, free: 9.117 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003025/0.1629, allocations: 160 kB / 0.6528 GB, free: 8.961 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002016/0.1631, allocations: 243 kB / 0.653 GB, free: 8.723 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004085/0.1635, allocations: 0.4893 MB / 0.6535 GB, free: 8.23 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001367/0.1649, allocations: 1.218 MB / 0.6547 GB, free: 7.008 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.1649, allocations: 0 / 0.6547 GB, free: 7.008 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.1649, allocations: 0 / 0.6547 GB, free: 7.008 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.229e-05/0.1649, allocations: 4 kB / 0.6547 GB, free: 7.004 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: 152 * Number of variables: 152 Notification: Performance of Generate backend data structure: time 0.005238/0.1702, allocations: 1.873 MB / 0.6565 GB, free: 5.074 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.735e-05/0.1702, allocations: 11.97 kB / 0.6565 GB, free: 5.062 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002629/0.1728, allocations: 451.9 kB / 0.6569 GB, free: 4.621 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001267/0.1741, allocations: 0.6785 MB / 0.6576 GB, free: 3.898 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003925/0.1745, allocations: 324.6 kB / 0.6579 GB, free: 3.527 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001251/0.1747, allocations: 72 kB / 0.658 GB, free: 3.457 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001955/0.1766, allocations: 0.8954 MB / 0.6589 GB, free: 2.539 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.823e-05/0.1767, allocations: 0 / 0.6589 GB, free: 2.539 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.405e-05/0.1767, allocations: 27.98 kB / 0.6589 GB, free: 2.512 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.781e-05/0.1768, allocations: 16 kB / 0.6589 GB, free: 2.496 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001882/0.1787, allocations: 0.7975 MB / 0.6597 GB, free: 1.699 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.00555/0.1842, allocations: 2.978 MB / 0.6626 GB, free: 14.58 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007092/0.1913, allocations: 2.16 MB / 0.6647 GB, free: 12.33 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001425/0.1928, allocations: 0.5616 MB / 0.6652 GB, free: 11.76 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.967e-05/0.1929, allocations: 8.562 kB / 0.6653 GB, free: 11.75 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.815e-05/0.193, allocations: 47.12 kB / 0.6653 GB, free: 11.7 MB / 478.1 MB Notification: Performance of pre-optimization done (n=71): time 3.246e-06/0.193, allocations: 3.938 kB / 0.6653 GB, free: 11.69 MB / 478.1 MB Notification: Performance of matching and sorting (n=71): time 0.02157/0.2145, allocations: 5.356 MB / 0.6705 GB, free: 6.301 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.224e-05/0.2147, allocations: 111.4 kB / 0.6706 GB, free: 6.168 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001149/0.2158, allocations: 0.7234 MB / 0.6714 GB, free: 5.434 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001684/0.216, allocations: 41.7 kB / 0.6714 GB, free: 5.387 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004017/0.2164, allocations: 381.1 kB / 0.6718 GB, free: 5.008 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004294/0.2169, allocations: 265.7 kB / 0.672 GB, free: 4.746 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002548/0.2171, allocations: 114.7 kB / 0.6721 GB, free: 4.629 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001379/0.2173, allocations: 333.9 kB / 0.6724 GB, free: 4.297 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0012/0.2185, allocations: 476.5 kB / 0.6729 GB, free: 3.828 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00122/0.2197, allocations: 0.5804 MB / 0.6735 GB, free: 3.199 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00236/0.2221, allocations: 1.038 MB / 0.6745 GB, free: 2.121 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.611e-06/0.2221, allocations: 0 / 0.6745 GB, free: 2.121 MB / 478.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.0107/0.2328, allocations: 3.017 MB / 0.6774 GB, free: 15.09 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.731e-05/0.2329, allocations: 4 kB / 0.6774 GB, free: 15.09 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.211e-05/0.2329, allocations: 4 kB / 0.6774 GB, free: 15.08 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005024/0.2379, allocations: 1.407 MB / 0.6788 GB, free: 13.67 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004793/0.2384, allocations: 99.83 kB / 0.6789 GB, free: 13.57 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02074/0.2592, allocations: 8.434 MB / 0.6871 GB, free: 4.988 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00111/0.2603, allocations: 123.5 kB / 0.6872 GB, free: 4.867 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001168/0.2605, allocations: 27.98 kB / 0.6873 GB, free: 4.84 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001343/0.2618, allocations: 0.5799 MB / 0.6878 GB, free: 4.258 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001263/0.2631, allocations: 0.5492 MB / 0.6884 GB, free: 3.668 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002515/0.2656, allocations: 0.9955 MB / 0.6893 GB, free: 2.637 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.226e-06/0.2657, allocations: 3.984 kB / 0.6894 GB, free: 2.633 MB / 494.1 MB Notification: Performance of matching and sorting (n=85) (initialization_lambda0): time 0.01039/0.2761, allocations: 2.881 MB / 0.6922 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.813e-05/0.2761, allocations: 8.25 kB / 0.6922 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.035e-05/0.2762, allocations: 4 kB / 0.6922 GB, free: 15.72 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004699/0.2809, allocations: 1.333 MB / 0.6935 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004769/0.2814, allocations: 95.83 kB / 0.6936 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01885/0.3002, allocations: 7.864 MB / 0.7013 GB, free: 6.285 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001203/0.3015, allocations: 123.5 kB / 0.7014 GB, free: 6.164 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001296/0.3016, allocations: 27.98 kB / 0.7014 GB, free: 6.137 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 1 (wT4G1.K.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (51): * Single equations (assignments): 50 * 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 {(18,17)} Notification: Performance of prepare postOptimizeDAE: time 0.0003109/0.302, allocations: 216.1 kB / 0.7016 GB, free: 5.918 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002907/0.3023, allocations: 95.44 kB / 0.7017 GB, free: 5.824 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01052/0.3128, allocations: 3.038 MB / 0.7047 GB, free: 2.766 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.629e-05/0.3128, allocations: 8 kB / 0.7047 GB, free: 2.758 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.978e-06/0.3128, allocations: 0 / 0.7047 GB, free: 2.758 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.308e-05/0.3129, allocations: 7.984 kB / 0.7047 GB, free: 2.75 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.01221/0.3251, allocations: 4.253 MB / 0.7088 GB, free: 14.39 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.648e-06/0.3251, allocations: 3.938 kB / 0.7088 GB, free: 14.39 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004341/0.3256, allocations: 75.89 kB / 0.7089 GB, free: 14.32 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004523/0.3301, allocations: 1.335 MB / 0.7102 GB, free: 12.98 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001302/0.3303, allocations: 16 kB / 0.7102 GB, free: 12.96 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02019/0.3505, allocations: 8.341 MB / 0.7184 GB, free: 4.465 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.438e-06/0.3505, allocations: 3.938 kB / 0.7184 GB, free: 4.461 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01197/0.3625, allocations: 3.797 MB / 0.7221 GB, free: 0.6406 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003192/0.3628, allocations: 180.4 kB / 0.7223 GB, free: 456 kB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000187/0.363, allocations: 19.98 kB / 0.7223 GB, free: 436 kB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009535/0.364, allocations: 87.84 kB / 0.7224 GB, free: 348 kB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005623/0.3646, allocations: 160.4 kB / 0.7225 GB, free: 188 kB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.44e-05/0.3646, allocations: 16 kB / 0.7225 GB, free: 172 kB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0007686/0.3654, allocations: 0.5069 MB / 0.723 GB, free: 15.66 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.6e-07/0.3654, allocations: 4 kB / 0.723 GB, free: 15.66 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001944/0.3674, allocations: 0.5033 MB / 0.7235 GB, free: 15.16 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 6 (gENCLS2_1.delta,gENCLS2_1.eq,wT4G1.K1.state,wT4G1.K.y,wT4G1.K2.state,gENCLS2_1.omega) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 38 * 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 {(18,19)} Notification: Performance of Backend phase and start with SimCode phase: time 0.000236/0.3676, allocations: 115.5 kB / 0.7236 GB, free: 15.04 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.008743/0.3764, allocations: 2.976 MB / 0.7265 GB, free: 12.03 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.679e-06/0.3764, allocations: 0 / 0.7265 GB, free: 12.03 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.003603/0.38, allocations: 1.253 MB / 0.7278 GB, free: 10.77 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009268/0.381, allocations: 117 kB / 0.7279 GB, free: 10.65 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003761/0.3847, allocations: 1.723 MB / 0.7295 GB, free: 8.898 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000642/0.3854, allocations: 0.9991 MB / 0.7305 GB, free: 7.871 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0002976/0.3857, allocations: 77.2 kB / 0.7306 GB, free: 7.797 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001565/0.3859, allocations: 47.44 kB / 0.7306 GB, free: 7.754 MB / 0.5294 GB Notification: Performance of SimCode: time 6.01e-07/0.3859, allocations: 0 / 0.7306 GB, free: 7.754 MB / 0.5294 GB Notification: Performance of Templates: time 0.03962/0.4255, allocations: 26.33 MB / 0.7564 GB, free: 13.41 MB / 0.5606 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Tests.Wind.PSSE.WT4G.WT4G1.makefile (rm -f OpenIPSL_dev_OpenIPSL.Tests.Wind.PSSE.WT4G.WT4G1.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Wind.PSSE.WT4G.WT4G1.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Wind.PSSE.WT4G.WT4G1.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Wind.PSSE.WT4G.WT4G1.sim & ./OpenIPSL_dev_OpenIPSL.Tests.Wind.PSSE.WT4G.WT4G1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Tests.Wind.PSSE.WT4G.WT4G1.pipe 2>&1)