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.001373/0.001373, allocations: 108.2 kB / 16.41 MB, free: 6.027 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 / 240.1 MB, free: 4.539 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.001777/0.001777, allocations: 183.5 kB / 290.4 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.5438/0.5438, allocations: 91.9 MB / 432.4 MB, free: 9.152 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001458/0.001459, allocations: 83.98 kB / 0.5734 GB, free: 33.63 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1438/0.1453, allocations: 71.28 MB / 0.643 GB, free: 3.57 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.ES.SCRX): time 0.009549/0.1549, allocations: 8.284 MB / 0.6511 GB, free: 11.24 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.006012/0.1609, allocations: 2.556 MB / 0.6536 GB, free: 8.68 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001669/0.1626, allocations: 16 kB / 0.6536 GB, free: 8.664 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001336/0.164, allocations: 321.3 kB / 0.6539 GB, free: 8.348 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003611/0.1676, allocations: 1.11 MB / 0.655 GB, free: 7.234 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001854/0.1695, allocations: 0.6936 MB / 0.6557 GB, free: 6.547 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.003184/0.1727, allocations: 2.194 MB / 0.6578 GB, free: 4.348 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008351/0.1736, allocations: 420.4 kB / 0.6582 GB, free: 3.914 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001537/0.1751, allocations: 0.8793 MB / 0.6591 GB, free: 3.031 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001825/0.1769, allocations: 1.124 MB / 0.6602 GB, free: 1.902 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006836/0.1776, allocations: 184 kB / 0.6604 GB, free: 1.723 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001237/0.1789, allocations: 411.7 kB / 0.6608 GB, free: 1.32 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007026/0.1796, allocations: 462.2 kB / 0.6612 GB, free: 0.8672 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001298/0.1809, allocations: 0.9091 MB / 0.6621 GB, free: 15.95 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002652/0.1836, allocations: 2.281 MB / 0.6643 GB, free: 13.66 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.1836, allocations: 0 / 0.6643 GB, free: 13.66 MB / 478.1 MB Notification: Performance of FrontEnd: time 3.386e-06/0.1836, allocations: 0 / 0.6643 GB, free: 13.66 MB / 478.1 MB Notification: Performance of Transformations before backend: time 3.057e-05/0.1836, allocations: 7.938 kB / 0.6643 GB, free: 13.66 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.01355/0.1972, allocations: 3.554 MB / 0.6678 GB, free: 10.04 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.826e-05/0.1973, allocations: 8.031 kB / 0.6678 GB, free: 10.03 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005142/0.2024, allocations: 0.7471 MB / 0.6685 GB, free: 9.281 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002935/0.2054, allocations: 1.116 MB / 0.6696 GB, free: 8.113 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005449/0.2059, allocations: 424.7 kB / 0.67 GB, free: 7.633 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004465/0.2064, allocations: 111.9 kB / 0.6701 GB, free: 7.523 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003722/0.2101, allocations: 1.432 MB / 0.6715 GB, free: 6.07 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.284e-05/0.2102, allocations: 0 / 0.6715 GB, free: 6.07 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001626/0.2104, allocations: 44 kB / 0.6716 GB, free: 6.027 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.303e-05/0.2104, allocations: 23.94 kB / 0.6716 GB, free: 6.004 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00328/0.2137, allocations: 1.347 MB / 0.6729 GB, free: 4.656 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.01021/0.2239, allocations: 4.915 MB / 0.6777 GB, free: 15.52 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008687/0.2326, allocations: 2.891 MB / 0.6805 GB, free: 12.49 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002327/0.235, allocations: 0.9156 MB / 0.6814 GB, free: 11.57 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001936/0.2352, allocations: 24.91 kB / 0.6815 GB, free: 11.54 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002623/0.2379, allocations: 1.065 MB / 0.6825 GB, free: 10.46 MB / 494.1 MB Notification: Performance of pre-optimization done (n=126): time 4.268e-06/0.2379, allocations: 0 / 0.6825 GB, free: 10.46 MB / 494.1 MB Notification: Performance of matching and sorting (n=126): time 0.04304/0.2809, allocations: 9.785 MB / 0.692 GB, free: 0.6289 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.211e-05/0.2811, allocations: 115.8 kB / 0.6922 GB, free: 0.4922 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002789/0.2839, allocations: 1.415 MB / 0.6935 GB, free: 15.06 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0003904/0.2843, allocations: 53.77 kB / 0.6936 GB, free: 15 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006037/0.2849, allocations: 0.6001 MB / 0.6942 GB, free: 14.4 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008112/0.2857, allocations: 457.5 kB / 0.6946 GB, free: 13.95 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001086/0.2868, allocations: 339.4 kB / 0.6949 GB, free: 13.61 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001092/0.2869, allocations: 301.1 kB / 0.6952 GB, free: 13.32 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002397/0.2894, allocations: 0.9798 MB / 0.6962 GB, free: 12.34 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002513/0.2919, allocations: 1.17 MB / 0.6973 GB, free: 11.12 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004642/0.2965, allocations: 2.077 MB / 0.6994 GB, free: 9 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.179e-05/0.2966, allocations: 3.938 kB / 0.6994 GB, free: 8.996 MB / 0.4981 GB Notification: Performance of matching and sorting (n=236) (initialization): time 0.01042/0.307, allocations: 3.707 MB / 0.703 GB, free: 5.277 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.332e-05/0.3071, allocations: 9.406 kB / 0.703 GB, free: 5.27 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.075e-05/0.3071, allocations: 7.984 kB / 0.703 GB, free: 5.262 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01079/0.3179, allocations: 2.978 MB / 0.7059 GB, free: 2.277 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001607/0.3196, allocations: 271.6 kB / 0.7062 GB, free: 2.012 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00786/0.3275, allocations: 2.988 MB / 0.7091 GB, free: 14.99 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002987/0.3305, allocations: 254.3 kB / 0.7093 GB, free: 14.74 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003862/0.3309, allocations: 63.97 kB / 0.7094 GB, free: 14.68 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.001078/0.332, allocations: 302.5 kB / 0.7097 GB, free: 14.38 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006793/0.3327, allocations: 161.9 kB / 0.7098 GB, free: 14.21 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01732/0.35, allocations: 4.819 MB / 0.7145 GB, free: 9.371 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.728e-05/0.3501, allocations: 16 kB / 0.7145 GB, free: 9.355 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.324e-05/0.3501, allocations: 3.984 kB / 0.7146 GB, free: 9.352 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-05/0.3502, allocations: 11.91 kB / 0.7146 GB, free: 9.34 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.02104/0.3712, allocations: 6.886 MB / 0.7213 GB, free: 2.316 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.012e-05/0.3713, allocations: 4 kB / 0.7213 GB, free: 2.312 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009994/0.3723, allocations: 147.8 kB / 0.7214 GB, free: 2.168 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007915/0.3802, allocations: 2.142 MB / 0.7235 GB, free: 24 kB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003584/0.3806, allocations: 28.05 kB / 0.7235 GB, free: 15.99 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02752/0.4082, allocations: 10.06 MB / 0.7334 GB, free: 5.789 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.831e-06/0.4082, allocations: 3.938 kB / 0.7334 GB, free: 5.785 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01965/0.4279, allocations: 5.948 MB / 0.7392 GB, free: 15.81 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007198/0.4286, allocations: 274.8 kB / 0.7394 GB, free: 15.52 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006722/0.4293, allocations: 23.94 kB / 0.7395 GB, free: 15.5 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002029/0.4314, allocations: 139.8 kB / 0.7396 GB, free: 15.36 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009994/0.4324, allocations: 265.3 kB / 0.7399 GB, free: 15.1 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002037/0.4326, allocations: 31.98 kB / 0.7399 GB, free: 15.07 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001862/0.4345, allocations: 0.9542 MB / 0.7408 GB, free: 14.12 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.9e-07/0.4345, allocations: 0 / 0.7408 GB, free: 14.12 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.002099/0.4366, allocations: 0.5229 MB / 0.7413 GB, free: 13.59 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.000507/0.4371, allocations: 151.1 kB / 0.7415 GB, free: 13.43 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.009462/0.4466, allocations: 2.895 MB / 0.7443 GB, free: 10.54 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 6.743e-06/0.4467, allocations: 0 / 0.7443 GB, free: 10.54 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.006622/0.4533, allocations: 1.923 MB / 0.7462 GB, free: 8.598 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001925/0.4553, allocations: 133.1 kB / 0.7463 GB, free: 8.469 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006884/0.4622, allocations: 3.073 MB / 0.7493 GB, free: 5.359 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009937/0.4632, allocations: 1.219 MB / 0.7505 GB, free: 4.105 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006284/0.4639, allocations: 107.3 kB / 0.7506 GB, free: 4.004 MB / 0.545 GB Notification: Performance of SimCode: time 9.02e-07/0.4639, allocations: 0 / 0.7506 GB, free: 4.004 MB / 0.545 GB Notification: Performance of Templates: time 0.3701/0.834, allocations: 25.83 MB / 0.7758 GB, free: 116.4 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)