Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.SCRX.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.ES.SCRX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.SCRX") translateModel(OpenIPSL.Tests.Controls.PSSE.ES.SCRX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.SCRX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009295/0.009295, allocations: 95.61 kB / 15.73 MB, free: 6.047 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.388/1.388, allocations: 222.9 MB / 239.4 MB, free: 4.543 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.001602/0.001602, allocations: 200.4 kB / 289.7 MB, free: 2.254 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.524/0.524, allocations: 91.89 MB / 431.7 MB, free: 9.199 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001399/0.001399, allocations: 76.3 kB / 0.5727 GB, free: 33.77 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1205/0.1219, allocations: 71.29 MB / 0.6424 GB, free: 3.578 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.ES.SCRX): time 0.008236/0.1301, allocations: 8.27 MB / 0.6504 GB, free: 11.26 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.004917/0.1351, allocations: 2.56 MB / 0.6529 GB, free: 8.695 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001092/0.1362, allocations: 12 kB / 0.653 GB, free: 8.684 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008864/0.1371, allocations: 321.3 kB / 0.6533 GB, free: 8.367 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00301/0.1402, allocations: 1.118 MB / 0.6543 GB, free: 7.246 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001709/0.1419, allocations: 0.6817 MB / 0.655 GB, free: 6.57 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.002802/0.1447, allocations: 2.194 MB / 0.6572 GB, free: 4.371 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006351/0.1454, allocations: 420.4 kB / 0.6576 GB, free: 3.938 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001186/0.1466, allocations: 0.8832 MB / 0.6584 GB, free: 3.051 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001325/0.1479, allocations: 1.124 MB / 0.6595 GB, free: 1.922 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002996/0.1482, allocations: 184 kB / 0.6597 GB, free: 1.742 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007648/0.149, allocations: 415.7 kB / 0.6601 GB, free: 1.336 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003799/0.1494, allocations: 462.2 kB / 0.6605 GB, free: 0.8828 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008317/0.1502, allocations: 0.9013 MB / 0.6614 GB, free: 15.97 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002717/0.1529, allocations: 2.299 MB / 0.6637 GB, free: 13.67 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.153, allocations: 0 / 0.6637 GB, free: 13.67 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.153, allocations: 0 / 0.6637 GB, free: 13.67 MB / 478.1 MB Notification: Performance of Transformations before backend: time 4.095e-05/0.153, allocations: 0 / 0.6637 GB, free: 13.67 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: 246 * Number of variables: 246 Notification: Performance of Generate backend data structure: time 0.01231/0.1653, allocations: 3.604 MB / 0.6672 GB, free: 10 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.752e-05/0.1654, allocations: 8.031 kB / 0.6672 GB, free: 9.992 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004604/0.17, allocations: 0.7599 MB / 0.6679 GB, free: 9.23 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00199/0.172, allocations: 1.133 MB / 0.669 GB, free: 8.047 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004308/0.1725, allocations: 428.7 kB / 0.6694 GB, free: 7.562 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000198/0.1727, allocations: 112 kB / 0.6695 GB, free: 7.453 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002886/0.1756, allocations: 1.432 MB / 0.6709 GB, free: 6 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.297e-05/0.1756, allocations: 0 / 0.6709 GB, free: 6 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001184/0.1757, allocations: 40 kB / 0.671 GB, free: 5.961 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.027e-05/0.1758, allocations: 24 kB / 0.671 GB, free: 5.938 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002931/0.1787, allocations: 1.343 MB / 0.6723 GB, free: 4.594 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.008199/0.1869, allocations: 4.928 MB / 0.6771 GB, free: 15.45 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008259/0.1952, allocations: 2.899 MB / 0.68 GB, free: 12.41 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0019/0.1971, allocations: 0.9195 MB / 0.6809 GB, free: 11.48 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001547/0.1973, allocations: 28.92 kB / 0.6809 GB, free: 11.45 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002127/0.1994, allocations: 1.058 MB / 0.6819 GB, free: 10.38 MB / 494.1 MB Notification: Performance of pre-optimization done (n=126): time 2.595e-06/0.1994, allocations: 0 / 0.6819 GB, free: 10.38 MB / 494.1 MB Notification: Performance of matching and sorting (n=126): time 0.04074/0.2402, allocations: 9.797 MB / 0.6915 GB, free: 0.5352 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.397e-05/0.2403, allocations: 115.8 kB / 0.6916 GB, free: 408 kB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002092/0.2424, allocations: 1.415 MB / 0.693 GB, free: 14.97 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0002199/0.2426, allocations: 53.7 kB / 0.693 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004356/0.243, allocations: 0.6088 MB / 0.6936 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004375/0.2435, allocations: 480 kB / 0.6941 GB, free: 13.83 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006027/0.2441, allocations: 339.4 kB / 0.6944 GB, free: 13.49 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 8.492e-05/0.2442, allocations: 305.1 kB / 0.6947 GB, free: 13.19 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00214/0.2463, allocations: 0.9682 MB / 0.6956 GB, free: 12.22 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002267/0.2486, allocations: 1.178 MB / 0.6968 GB, free: 11 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004264/0.2529, allocations: 2.077 MB / 0.6988 GB, free: 8.879 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.298e-06/0.2529, allocations: 7.938 kB / 0.6988 GB, free: 8.871 MB / 0.4981 GB Notification: Performance of matching and sorting (n=236) (initialization): time 0.00934/0.2622, allocations: 3.716 MB / 0.7025 GB, free: 5.145 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.343e-05/0.2623, allocations: 9.25 kB / 0.7025 GB, free: 5.137 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.195e-05/0.2623, allocations: 4 kB / 0.7025 GB, free: 5.133 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009846/0.2722, allocations: 2.978 MB / 0.7054 GB, free: 2.148 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001244/0.2734, allocations: 267.6 kB / 0.7056 GB, free: 1.887 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006994/0.2804, allocations: 2.993 MB / 0.7086 GB, free: 14.86 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002137/0.2826, allocations: 258.8 kB / 0.7088 GB, free: 14.61 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001514/0.2828, allocations: 67.92 kB / 0.7089 GB, free: 14.54 MB / 0.5137 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 (161): * Single equations (assignments): 160 * 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 {(34,42)} Notification: Performance of prepare postOptimizeDAE: time 0.0005475/0.2833, allocations: 298.6 kB / 0.7092 GB, free: 14.24 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002695/0.2836, allocations: 170.9 kB / 0.7093 GB, free: 14.07 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01587/0.2995, allocations: 4.822 MB / 0.714 GB, free: 9.227 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.644e-05/0.2995, allocations: 12 kB / 0.714 GB, free: 9.215 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.123e-06/0.2995, allocations: 4 kB / 0.714 GB, free: 9.211 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.178e-05/0.2995, allocations: 7.922 kB / 0.714 GB, free: 9.203 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.01832/0.3179, allocations: 6.89 MB / 0.7208 GB, free: 2.176 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.456e-06/0.3179, allocations: 3.938 kB / 0.7208 GB, free: 2.172 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008234/0.3187, allocations: 143.8 kB / 0.7209 GB, free: 2.031 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007351/0.3261, allocations: 2.146 MB / 0.723 GB, free: 15.88 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001508/0.3263, allocations: 27.98 kB / 0.723 GB, free: 15.86 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0257/0.352, allocations: 10.08 MB / 0.7329 GB, free: 5.633 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.352, allocations: 4 kB / 0.7329 GB, free: 5.629 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01849/0.3705, allocations: 5.96 MB / 0.7387 GB, free: 15.64 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004887/0.371, allocations: 279.6 kB / 0.739 GB, free: 15.35 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002255/0.3713, allocations: 27.94 kB / 0.739 GB, free: 15.32 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001533/0.3728, allocations: 139.8 kB / 0.7391 GB, free: 15.18 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007757/0.3736, allocations: 265.4 kB / 0.7394 GB, free: 14.93 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001035/0.3737, allocations: 32 kB / 0.7394 GB, free: 14.89 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001379/0.3751, allocations: 0.9503 MB / 0.7403 GB, free: 13.95 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.1e-07/0.3751, allocations: 0 / 0.7403 GB, free: 13.95 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001239/0.3763, allocations: 0.5269 MB / 0.7409 GB, free: 13.42 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,gENROU.w,gENROU.delta,gENROU.Epd,gENROU.Epq,gENROU.PSIkd,gENROU.PSIkq,sCRX.imLeadLag.TF.x_scaled[1],sCRX.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 (83): * Single equations (assignments): 82 * 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.0003043/0.3767, allocations: 155 kB / 0.741 GB, free: 13.25 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.008694/0.3854, allocations: 2.887 MB / 0.7438 GB, free: 10.37 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.3854, allocations: 0 / 0.7438 GB, free: 10.37 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.006027/0.3914, allocations: 1.942 MB / 0.7457 GB, free: 8.406 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00107/0.3925, allocations: 131.2 kB / 0.7458 GB, free: 8.281 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005191/0.3977, allocations: 3.087 MB / 0.7489 GB, free: 5.16 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006821/0.3984, allocations: 1.223 MB / 0.7501 GB, free: 3.902 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.000509/0.3989, allocations: 142 kB / 0.7502 GB, free: 3.762 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003471/0.3993, allocations: 99.41 kB / 0.7503 GB, free: 3.668 MB / 0.545 GB Notification: Performance of SimCode: time 7.11e-07/0.3993, allocations: 0 / 0.7503 GB, free: 3.668 MB / 0.545 GB Notification: Performance of Templates: time 0.312/0.7113, allocations: 30.6 MB / 0.7802 GB, free: 116 MB / 0.5606 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.SCRX.makefile (rm -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.SCRX.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.SCRX.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.SCRX.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.SCRX.sim & ./OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.SCRX -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.SCRX.pipe 2>&1)