Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1.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.Controls.PSSE.TG.TGOV1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1") translateModel(OpenIPSL.Tests.Controls.PSSE.TG.TGOV1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005087/0.005087, allocations: 102.4 kB / 15.73 MB, free: 6.488 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.479/1.479, allocations: 222.9 MB / 239.4 MB, free: 4.562 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.001518/0.001518, allocations: 196 kB / 289.7 MB, free: 2.27 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4838/0.4838, allocations: 91.9 MB / 431.8 MB, free: 9.156 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001394/0.001394, allocations: 83.19 kB / 0.5727 GB, free: 33.65 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1142/0.1156, allocations: 71.29 MB / 0.6424 GB, free: 3.598 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.TG.TGOV1): time 0.008446/0.1241, allocations: 7.995 MB / 0.6502 GB, free: 11.56 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.004891/0.129, allocations: 2.494 MB / 0.6526 GB, free: 9.062 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001169/0.1302, allocations: 12 kB / 0.6526 GB, free: 9.051 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0011/0.1313, allocations: 313.4 kB / 0.6529 GB, free: 8.742 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002969/0.1344, allocations: 1.049 MB / 0.6539 GB, free: 7.688 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001723/0.1361, allocations: 0.7605 MB / 0.6547 GB, free: 6.934 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.002711/0.1388, allocations: 2.127 MB / 0.6568 GB, free: 4.801 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007487/0.1396, allocations: 377.6 kB / 0.6571 GB, free: 4.406 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001478/0.1411, allocations: 0.8483 MB / 0.6579 GB, free: 3.555 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001544/0.1426, allocations: 1.085 MB / 0.659 GB, free: 2.465 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004329/0.1431, allocations: 176 kB / 0.6592 GB, free: 2.293 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008315/0.1439, allocations: 351.8 kB / 0.6595 GB, free: 1.949 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005662/0.1445, allocations: 442.2 kB / 0.6599 GB, free: 1.516 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001154/0.1457, allocations: 0.8702 MB / 0.6608 GB, free: 0.6406 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00249/0.1482, allocations: 2.168 MB / 0.6629 GB, free: 14.46 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.1482, allocations: 7.938 kB / 0.6629 GB, free: 14.46 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.325e-06/0.1482, allocations: 0 / 0.6629 GB, free: 14.46 MB / 478.1 MB Notification: Performance of Transformations before backend: time 6.637e-05/0.1483, allocations: 0 / 0.6629 GB, free: 14.46 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 228 * Number of variables: 228 Notification: Performance of Generate backend data structure: time 0.01307/0.1613, allocations: 3.504 MB / 0.6663 GB, free: 10.89 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.983e-05/0.1614, allocations: 8.031 kB / 0.6663 GB, free: 10.89 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00494/0.1663, allocations: 0.7472 MB / 0.6671 GB, free: 10.14 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002095/0.1684, allocations: 1.092 MB / 0.6681 GB, free: 8.992 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005246/0.169, allocations: 421 kB / 0.6685 GB, free: 8.512 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002691/0.1693, allocations: 107.9 kB / 0.6686 GB, free: 8.406 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003085/0.1724, allocations: 1.372 MB / 0.67 GB, free: 7.02 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.148e-05/0.1724, allocations: 0 / 0.67 GB, free: 7.02 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001273/0.1725, allocations: 36 kB / 0.67 GB, free: 6.984 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.098e-05/0.1726, allocations: 20 kB / 0.67 GB, free: 6.965 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003112/0.1757, allocations: 1.3 MB / 0.6713 GB, free: 5.66 MB / 478.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.008557/0.1843, allocations: 4.649 MB / 0.6758 GB, free: 0.7969 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008714/0.193, allocations: 2.883 MB / 0.6786 GB, free: 13.77 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001984/0.195, allocations: 0.904 MB / 0.6795 GB, free: 12.86 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001225/0.1951, allocations: 20.98 kB / 0.6796 GB, free: 12.84 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00227/0.1974, allocations: 1.046 MB / 0.6806 GB, free: 11.77 MB / 494.1 MB Notification: Performance of pre-optimization done (n=124): time 3.317e-06/0.1974, allocations: 0 / 0.6806 GB, free: 11.77 MB / 494.1 MB Notification: Performance of matching and sorting (n=124): time 0.04408/0.2415, allocations: 9.902 MB / 0.6902 GB, free: 1.828 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.037e-05/0.2416, allocations: 123.9 kB / 0.6904 GB, free: 1.684 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002184/0.2438, allocations: 1.349 MB / 0.6917 GB, free: 328 kB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002389/0.2441, allocations: 53.7 kB / 0.6917 GB, free: 268 kB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004679/0.2445, allocations: 0.5686 MB / 0.6923 GB, free: 15.69 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005227/0.2451, allocations: 453.6 kB / 0.6927 GB, free: 15.24 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006603/0.2457, allocations: 327.4 kB / 0.693 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 8.772e-05/0.2458, allocations: 309.1 kB / 0.6933 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002253/0.2481, allocations: 0.9487 MB / 0.6942 GB, free: 13.66 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00237/0.2505, allocations: 1.158 MB / 0.6954 GB, free: 12.45 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004407/0.2549, allocations: 2.042 MB / 0.6974 GB, free: 10.37 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.163e-06/0.2549, allocations: 7.984 kB / 0.6974 GB, free: 10.36 MB / 0.4981 GB Notification: Performance of matching and sorting (n=229) (initialization): time 0.01063/0.2656, allocations: 3.815 MB / 0.7011 GB, free: 6.531 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.304e-05/0.2656, allocations: 9.094 kB / 0.7011 GB, free: 6.523 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.594e-05/0.2656, allocations: 11.92 kB / 0.7011 GB, free: 6.512 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009688/0.2753, allocations: 2.671 MB / 0.7037 GB, free: 3.832 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001396/0.2767, allocations: 291.6 kB / 0.704 GB, free: 3.547 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006501/0.2832, allocations: 2.691 MB / 0.7066 GB, free: 0.8281 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002242/0.2855, allocations: 242.3 kB / 0.7069 GB, free: 0.5898 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001834/0.2857, allocations: 67.97 kB / 0.7069 GB, free: 0.5234 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 (174): * Single equations (assignments): 173 * 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 {(30,26)} Notification: Performance of prepare postOptimizeDAE: time 0.0006162/0.2863, allocations: 298.5 kB / 0.7072 GB, free: 228 kB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003767/0.2867, allocations: 150.1 kB / 0.7074 GB, free: 76 kB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01653/0.3032, allocations: 4.763 MB / 0.712 GB, free: 11.28 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-05/0.3033, allocations: 12 kB / 0.712 GB, free: 11.27 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.267e-06/0.3033, allocations: 4 kB / 0.712 GB, free: 11.27 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.658e-05/0.3033, allocations: 7.984 kB / 0.712 GB, free: 11.26 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.0192/0.3225, allocations: 6.86 MB / 0.7187 GB, free: 4.254 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.282e-06/0.3225, allocations: 0 / 0.7187 GB, free: 4.254 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000806/0.3234, allocations: 147.7 kB / 0.7189 GB, free: 4.109 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007712/0.3311, allocations: 2.138 MB / 0.721 GB, free: 1.969 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001282/0.3312, allocations: 28 kB / 0.721 GB, free: 1.941 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02694/0.3582, allocations: 10.06 MB / 0.7308 GB, free: 7.727 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.3582, allocations: 0 / 0.7308 GB, free: 7.727 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01929/0.3775, allocations: 5.912 MB / 0.7366 GB, free: 1.781 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000481/0.378, allocations: 262.8 kB / 0.7368 GB, free: 1.504 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003237/0.3784, allocations: 24 kB / 0.7369 GB, free: 1.48 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001745/0.3801, allocations: 139.8 kB / 0.737 GB, free: 1.344 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007582/0.3809, allocations: 257.3 kB / 0.7372 GB, free: 1.09 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001043/0.381, allocations: 35.98 kB / 0.7373 GB, free: 1.055 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001438/0.3824, allocations: 0.9172 MB / 0.7382 GB, free: 140 kB / 0.5294 GB Notification: Performance of sort global known variables: time 1.8e-07/0.3825, allocations: 0 / 0.7382 GB, free: 140 kB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001379/0.3838, allocations: 0.5152 MB / 0.7387 GB, free: 15.62 MB / 0.545 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,gENROE.w,gENROE.delta,gENROE.Epd,gENROE.Epq,gENROE.PSIkd,gENROE.PSIkq,tGOV1.imLeadLag.TF.x_scaled[1],tGOV1.simpleLagLim.state) * 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 (81): * Single equations (assignments): 80 * 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.0003068/0.3842, allocations: 149.7 kB / 0.7388 GB, free: 15.47 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.008934/0.3931, allocations: 2.817 MB / 0.7416 GB, free: 12.66 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.749e-06/0.3931, allocations: 4.25 kB / 0.7416 GB, free: 12.65 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.006211/0.3993, allocations: 1.911 MB / 0.7434 GB, free: 10.72 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001008/0.4004, allocations: 130.8 kB / 0.7436 GB, free: 10.59 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005314/0.4057, allocations: 2.938 MB / 0.7464 GB, free: 7.625 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007577/0.4065, allocations: 1.204 MB / 0.7476 GB, free: 6.391 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0005226/0.407, allocations: 141.7 kB / 0.7477 GB, free: 6.25 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003588/0.4073, allocations: 91.53 kB / 0.7478 GB, free: 6.16 MB / 0.545 GB Notification: Performance of SimCode: time 4.51e-07/0.4074, allocations: 3.938 kB / 0.7478 GB, free: 6.156 MB / 0.545 GB Notification: Performance of Templates: time 0.3032/0.7106, allocations: 29.39 MB / 0.7765 GB, free: 118.6 MB / 0.5606 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1.makefile (rm -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1.sim & ./OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1.pipe 2>&1)