Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.PSS.PSS2B.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.PSS.PSS2B,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.PSS.PSS2B") translateModel(OpenIPSL.Tests.Controls.PSSE.PSS.PSS2B,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.PSS.PSS2B") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001065/0.001065, allocations: 98.88 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.351/1.351, allocations: 223.3 MB / 240 MB, free: 5.344 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.00107/0.00107, allocations: 180.5 kB / 291.3 MB, free: 2.02 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4899/0.4899, allocations: 91.92 MB / 434.3 MB, free: 10.26 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004102/0.0004105, allocations: 8 kB / 0.5054 GB, free: 7.27 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3532/0.3536, allocations: 72.47 MB / 0.5762 GB, free: 36.41 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.PSS.PSS2B): time 0.007812/0.3615, allocations: 10.55 MB / 0.5865 GB, free: 29.17 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.007149/0.3687, allocations: 3.985 MB / 0.5904 GB, free: 26.35 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002571/0.3713, allocations: 30.41 kB / 0.5904 GB, free: 26.34 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00158/0.3729, allocations: 442.7 kB / 0.5908 GB, free: 26.15 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004058/0.377, allocations: 1.206 MB / 0.592 GB, free: 25.38 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003064/0.38, allocations: 1.511 MB / 0.5935 GB, free: 24.49 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.005048/0.3851, allocations: 3.781 MB / 0.5972 GB, free: 22.76 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001308/0.3864, allocations: 0.6197 MB / 0.5978 GB, free: 22.43 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002388/0.3888, allocations: 1.255 MB / 0.599 GB, free: 21.9 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002798/0.3917, allocations: 1.548 MB / 0.6005 GB, free: 21.21 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001244/0.3929, allocations: 128 kB / 0.6006 GB, free: 21.21 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001737/0.3947, allocations: 300 kB / 0.6009 GB, free: 21.16 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001262/0.396, allocations: 0.5892 MB / 0.6015 GB, free: 20.85 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002465/0.3984, allocations: 1.248 MB / 0.6027 GB, free: 20 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004288/0.4027, allocations: 2.871 MB / 0.6055 GB, free: 19.27 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.4028, allocations: 0 / 0.6055 GB, free: 19.27 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.595e-06/0.4028, allocations: 0 / 0.6055 GB, free: 19.27 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001806/0.403, allocations: 4 kB / 0.6055 GB, free: 19.27 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 375 * Number of variables: 375 Notification: Performance of Generate backend data structure: time 0.01881/0.4218, allocations: 4.628 MB / 0.6101 GB, free: 17.47 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.353e-05/0.4218, allocations: 9.281 kB / 0.6101 GB, free: 17.47 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005949/0.4278, allocations: 0.8795 MB / 0.6109 GB, free: 17.24 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006365/0.4342, allocations: 2.038 MB / 0.6129 GB, free: 16.11 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008455/0.4351, allocations: 0.7766 MB / 0.6137 GB, free: 15.34 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008822/0.436, allocations: 169.2 kB / 0.6138 GB, free: 15.29 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007025/0.443, allocations: 2.247 MB / 0.616 GB, free: 14.42 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.554e-05/0.4431, allocations: 1.312 kB / 0.616 GB, free: 14.42 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000441/0.4435, allocations: 60.73 kB / 0.6161 GB, free: 14.38 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.314e-05/0.4436, allocations: 35.72 kB / 0.6161 GB, free: 14.38 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006323/0.4499, allocations: 2.251 MB / 0.6183 GB, free: 13.64 MB / 430.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.01737/0.4673, allocations: 7.519 MB / 0.6257 GB, free: 8.762 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01173/0.4791, allocations: 4.684 MB / 0.6302 GB, free: 5.75 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003236/0.4823, allocations: 1.377 MB / 0.6316 GB, free: 4.363 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002783/0.4827, allocations: 37.95 kB / 0.6316 GB, free: 4.328 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003678/0.4863, allocations: 1.608 MB / 0.6332 GB, free: 2.699 MB / 430.1 MB Notification: Performance of pre-optimization done (n=182): time 4.84e-06/0.4864, allocations: 3.938 kB / 0.6332 GB, free: 2.695 MB / 430.1 MB Notification: Performance of matching and sorting (n=182): time 0.05389/0.5403, allocations: 14.02 MB / 0.6469 GB, free: 4.613 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001255/0.5404, allocations: 257.3 kB / 0.6471 GB, free: 4.305 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006456/0.5469, allocations: 2.601 MB / 0.6497 GB, free: 1.688 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007489/0.5477, allocations: 61.7 kB / 0.6497 GB, free: 1.621 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001069/0.5488, allocations: 0.9765 MB / 0.6507 GB, free: 0.6328 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00125/0.55, allocations: 0.651 MB / 0.6513 GB, free: 15.97 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008403/0.5509, allocations: 234.8 kB / 0.6515 GB, free: 15.73 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 8.916e-05/0.551, allocations: 301.1 kB / 0.6518 GB, free: 15.44 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003985/0.555, allocations: 1.473 MB / 0.6533 GB, free: 13.96 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004313/0.5593, allocations: 1.755 MB / 0.655 GB, free: 12.14 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007775/0.5671, allocations: 3.065 MB / 0.658 GB, free: 9 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.556e-05/0.5672, allocations: 4 kB / 0.658 GB, free: 8.996 MB / 462.1 MB Notification: Performance of matching and sorting (n=324) (initialization): time 0.01625/0.5835, allocations: 5.509 MB / 0.6634 GB, free: 3.438 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001528/0.5837, allocations: 208.1 kB / 0.6636 GB, free: 3.18 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.731e-05/0.5837, allocations: 4 kB / 0.6636 GB, free: 3.176 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0129/0.5966, allocations: 3.812 MB / 0.6673 GB, free: 15.36 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00235/0.599, allocations: 419.4 kB / 0.6677 GB, free: 14.95 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01116/0.6102, allocations: 4.15 MB / 0.6717 GB, free: 10.78 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00473/0.6149, allocations: 0.4897 MB / 0.6722 GB, free: 10.29 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006276/0.6156, allocations: 87.97 kB / 0.6723 GB, free: 10.2 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.313e-05/0.6156, allocations: 4 kB / 0.6723 GB, free: 10.2 MB / 478.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01397/0.6296, allocations: 4.953 MB / 0.6771 GB, free: 5.203 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.96e-05/0.6297, allocations: 8 kB / 0.6771 GB, free: 5.195 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01206/0.6417, allocations: 3.683 MB / 0.6807 GB, free: 1.508 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002343/0.6441, allocations: 423.4 kB / 0.6811 GB, free: 1.094 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009666/0.6538, allocations: 3.752 MB / 0.6848 GB, free: 13.31 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004263/0.6581, allocations: 445.8 kB / 0.6852 GB, free: 12.88 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005917/0.6587, allocations: 91.97 kB / 0.6853 GB, free: 12.79 MB / 494.1 MB 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 (217): * Single equations (assignments): 216 * 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 {(35,73)} Notification: Performance of prepare postOptimizeDAE: time 0.001845/0.6606, allocations: 0.5318 MB / 0.6858 GB, free: 12.24 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001156/0.6618, allocations: 256.7 kB / 0.6861 GB, free: 11.99 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02258/0.6844, allocations: 7.027 MB / 0.693 GB, free: 4.93 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.992e-05/0.6844, allocations: 20 kB / 0.693 GB, free: 4.91 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.155e-05/0.6844, allocations: 3.938 kB / 0.693 GB, free: 4.906 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.173e-05/0.6845, allocations: 7.969 kB / 0.693 GB, free: 4.898 MB / 494.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 postOpt removeSimpleEquations (simulation): time 0.02984/0.7144, allocations: 10.17 MB / 0.7029 GB, free: 10.59 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.211e-05/0.7144, allocations: 0 / 0.7029 GB, free: 10.59 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001842/0.7163, allocations: 263.7 kB / 0.7032 GB, free: 10.34 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009117/0.7254, allocations: 2.705 MB / 0.7058 GB, free: 7.625 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00058/0.726, allocations: 51.97 kB / 0.7059 GB, free: 7.574 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03233/0.7584, allocations: 12.78 MB / 0.7183 GB, free: 10.52 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.462e-06/0.7584, allocations: 3.938 kB / 0.7183 GB, free: 10.52 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02739/0.7858, allocations: 8.709 MB / 0.7268 GB, free: 1.77 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001282/0.7871, allocations: 417.3 kB / 0.7272 GB, free: 1.34 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001266/0.7884, allocations: 47.92 kB / 0.7273 GB, free: 1.293 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003792/0.7922, allocations: 351.6 kB / 0.7276 GB, free: 0.9492 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001254/0.7935, allocations: 301.9 kB / 0.7279 GB, free: 0.6562 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004184/0.794, allocations: 47.98 kB / 0.728 GB, free: 0.6094 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.004834/0.7988, allocations: 1.831 MB / 0.7297 GB, free: 14.77 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8.02e-07/0.7988, allocations: 0 / 0.7297 GB, free: 14.77 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.005748/0.8046, allocations: 1.147 MB / 0.7309 GB, free: 13.62 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 23 (gENCLS.omega,gENCLS.delta,gENCLS.eq,gENROE.w,gENROE.delta,gENROE.Epd,gENROE.Epq,gENROE.PSIkd,gENROE.PSIkq,eSST1A.imDerivativeLag.x,eSST1A.imLeadLag.TF.x_scaled[1],eSST1A.imLeadLag1.TF.x_scaled[1],eSST1A.simpleLagLim.state,eSST1A.TransducerDelay.state,pSS2B.Leadlag1.TF.x_scaled[1],pSS2B.Leadlag2.TF.x_scaled[1],pSS2B.SimpleLag1.state,pSS2B.SimpleLag2.state,pSS2B.Leadlag3.TF.x_scaled[1],pSS2B.derivativeLag.TF.x_scaled[1],pSS2B.derivativeLag1.TF.x_scaled[1],pSS2B.derivativeLag2.TF.x_scaled[1],pSS2B.derivativeLag3.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 (130): * Single equations (assignments): 128 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,9), (26,23)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007253/0.8053, allocations: 173.3 kB / 0.731 GB, free: 13.44 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.02194/0.8273, allocations: 6.946 MB / 0.7378 GB, free: 6.48 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.289e-05/0.8274, allocations: 0.875 kB / 0.7378 GB, free: 6.48 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.008687/0.836, allocations: 2.774 MB / 0.7405 GB, free: 3.68 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00402/0.8401, allocations: 287.6 kB / 0.7408 GB, free: 3.402 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01231/0.8524, allocations: 6.182 MB / 0.7468 GB, free: 13.18 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001658/0.8541, allocations: 1.637 MB / 0.7484 GB, free: 11.5 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001243/0.8554, allocations: 159.3 kB / 0.7486 GB, free: 11.35 MB / 0.545 GB Notification: Performance of SimCode: time 1.022e-06/0.8554, allocations: 0 / 0.7486 GB, free: 11.35 MB / 0.545 GB Notification: Performance of Templates: time 0.3178/1.173, allocations: 46.41 MB / 0.7939 GB, free: 164.9 MB / 0.5606 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.PSS.PSS2B.makefile (rm -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.PSS.PSS2B.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.PSS.PSS2B.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.PSS.PSS2B.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.PSS.PSS2B.sim & ./OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.PSS.PSS2B -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.PSS.PSS2B.pipe 2>&1)