Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.ESST1A.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: "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.ES.ESST1A,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_ESST1A",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.ES.ESST1A,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_ESST1A",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001123/0.001123, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.424/1.424, allocations: 223.3 MB / 239.4 MB, free: 5.52 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.001019/0.001019, allocations: 172.5 kB / 290.6 MB, free: 2.195 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5374/0.5374, allocations: 91.94 MB / 433.7 MB, free: 10.29 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004154/0.0004154, allocations: 12 kB / 0.5049 GB, free: 7.199 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3802/0.3806, allocations: 72.47 MB / 0.5756 GB, free: 36.94 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.ES.ESST1A): time 0.007101/0.3878, allocations: 8.845 MB / 0.5843 GB, free: 30.84 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00583/0.3936, allocations: 2.951 MB / 0.5872 GB, free: 28.75 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001825/0.3955, allocations: 18 kB / 0.5872 GB, free: 28.75 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001021/0.3966, allocations: 281.8 kB / 0.5875 GB, free: 28.63 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002895/0.3995, allocations: 0.925 MB / 0.5884 GB, free: 28.03 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001915/0.4014, allocations: 0.945 MB / 0.5893 GB, free: 27.5 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002902/0.4043, allocations: 2.475 MB / 0.5917 GB, free: 26.34 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007829/0.4051, allocations: 488.5 kB / 0.5922 GB, free: 26.08 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001573/0.4067, allocations: 0.8637 MB / 0.593 GB, free: 25.7 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001355/0.4081, allocations: 1.144 MB / 0.5941 GB, free: 25.19 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002646/0.4083, allocations: 100.5 kB / 0.5942 GB, free: 25.19 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007297/0.4091, allocations: 270.2 kB / 0.5945 GB, free: 25.13 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003179/0.4094, allocations: 416.9 kB / 0.5949 GB, free: 24.9 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008459/0.4102, allocations: 0.9422 MB / 0.5958 GB, free: 24.27 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002351/0.4126, allocations: 2.492 MB / 0.5982 GB, free: 23.4 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.4126, allocations: 1.219 kB / 0.5982 GB, free: 23.4 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.4126, allocations: 0 / 0.5982 GB, free: 23.4 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.21e-05/0.4127, allocations: 0 / 0.5982 GB, free: 23.4 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: 293 * Number of variables: 293 Notification: Performance of Generate backend data structure: time 0.014/0.4267, allocations: 3.667 MB / 0.6018 GB, free: 21.97 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.192e-05/0.4268, allocations: 10.44 kB / 0.6018 GB, free: 21.97 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009063/0.4277, allocations: 182.3 kB / 0.602 GB, free: 21.85 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005749/0.4335, allocations: 0.7869 MB / 0.6028 GB, free: 21.67 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003382/0.4369, allocations: 1.313 MB / 0.604 GB, free: 20.86 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005289/0.4374, allocations: 0.5001 MB / 0.6045 GB, free: 20.39 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003916/0.4378, allocations: 137.2 kB / 0.6047 GB, free: 20.34 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004155/0.442, allocations: 1.756 MB / 0.6064 GB, free: 19.67 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.671e-05/0.442, allocations: 0.9688 kB / 0.6064 GB, free: 19.67 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001514/0.4422, allocations: 46.56 kB / 0.6064 GB, free: 19.64 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.211e-05/0.4422, allocations: 31.53 kB / 0.6065 GB, free: 19.63 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004138/0.4464, allocations: 1.685 MB / 0.6081 GB, free: 19.09 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.01199/0.4584, allocations: 5.614 MB / 0.6136 GB, free: 16.03 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01039/0.4688, allocations: 3.791 MB / 0.6173 GB, free: 14.68 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00294/0.4718, allocations: 1.109 MB / 0.6184 GB, free: 14.27 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001749/0.472, allocations: 32.47 kB / 0.6184 GB, free: 14.25 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003202/0.4752, allocations: 1.281 MB / 0.6196 GB, free: 13.8 MB / 430.1 MB Notification: Performance of pre-optimization done (n=143): time 3.787e-06/0.4752, allocations: 1.094 kB / 0.6196 GB, free: 13.8 MB / 430.1 MB Notification: Performance of matching and sorting (n=143): time 0.04825/0.5235, allocations: 13.36 MB / 0.6327 GB, free: 2.672 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.47e-05/0.5236, allocations: 175.5 kB / 0.6329 GB, free: 2.465 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002653/0.5262, allocations: 1.674 MB / 0.6345 GB, free: 0.7891 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004966/0.5268, allocations: 61.64 kB / 0.6346 GB, free: 0.7227 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004195/0.5272, allocations: 0.6952 MB / 0.6352 GB, free: 16 kB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006942/0.5279, allocations: 0.5084 MB / 0.6357 GB, free: 15.5 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002825/0.5282, allocations: 197.8 kB / 0.6359 GB, free: 15.3 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001011/0.5283, allocations: 305.1 kB / 0.6362 GB, free: 15 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002709/0.531, allocations: 1.187 MB / 0.6374 GB, free: 13.81 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002855/0.5339, allocations: 1.427 MB / 0.6388 GB, free: 12.32 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005403/0.5393, allocations: 2.499 MB / 0.6412 GB, free: 9.773 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.839e-06/0.5393, allocations: 0 / 0.6412 GB, free: 9.773 MB / 446.1 MB Notification: Performance of matching and sorting (n=268) (initialization): time 0.01197/0.5513, allocations: 4.579 MB / 0.6457 GB, free: 5.176 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001752/0.5515, allocations: 197.9 kB / 0.6459 GB, free: 4.934 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.012e-05/0.5516, allocations: 4 kB / 0.6459 GB, free: 4.93 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01238/0.5639, allocations: 3.612 MB / 0.6494 GB, free: 1.312 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001811/0.5658, allocations: 299.5 kB / 0.6497 GB, free: 1.02 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01041/0.5763, allocations: 3.797 MB / 0.6534 GB, free: 13.2 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003584/0.5799, allocations: 354 kB / 0.6537 GB, free: 12.85 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004221/0.5803, allocations: 71.98 kB / 0.6538 GB, free: 12.78 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.588e-05/0.5804, allocations: 4 kB / 0.6538 GB, free: 12.77 MB / 462.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01256/0.5929, allocations: 4.473 MB / 0.6582 GB, free: 8.293 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.845e-05/0.593, allocations: 7.984 kB / 0.6582 GB, free: 8.285 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01177/0.6048, allocations: 3.515 MB / 0.6616 GB, free: 4.766 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001751/0.6066, allocations: 303.6 kB / 0.6619 GB, free: 4.469 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00886/0.6155, allocations: 3.514 MB / 0.6653 GB, free: 0.9297 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002951/0.6185, allocations: 314.3 kB / 0.6656 GB, free: 0.6211 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003674/0.6189, allocations: 71.97 kB / 0.6657 GB, free: 0.5508 MB / 462.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 (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 {(34,61)} Notification: Performance of prepare postOptimizeDAE: time 0.001169/0.6201, allocations: 416.7 kB / 0.6661 GB, free: 136 kB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006914/0.6208, allocations: 189.7 kB / 0.6663 GB, free: 15.94 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0201/0.6409, allocations: 6.318 MB / 0.6724 GB, free: 9.602 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.811e-05/0.641, allocations: 19.94 kB / 0.6725 GB, free: 9.582 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.31e-05/0.641, allocations: 0 / 0.6725 GB, free: 9.582 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.874e-05/0.641, allocations: 7.922 kB / 0.6725 GB, free: 9.574 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 postOpt removeSimpleEquations (simulation): time 0.02654/0.6676, allocations: 8.658 MB / 0.6809 GB, free: 0.7773 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.849e-05/0.6677, allocations: 0 / 0.6809 GB, free: 0.7773 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001169/0.6688, allocations: 167.8 kB / 0.6811 GB, free: 0.6133 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.009871/0.6787, allocations: 2.693 MB / 0.6837 GB, free: 13.91 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004523/0.6792, allocations: 35.98 kB / 0.6837 GB, free: 13.88 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03397/0.7132, allocations: 12.8 MB / 0.6962 GB, free: 0.8047 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/0.7133, allocations: 0 / 0.6962 GB, free: 0.8047 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02492/0.7382, allocations: 7.709 MB / 0.7038 GB, free: 9.055 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001139/0.7394, allocations: 306.4 kB / 0.7041 GB, free: 8.734 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001045/0.7405, allocations: 28 kB / 0.7041 GB, free: 8.707 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002739/0.7432, allocations: 223.8 kB / 0.7043 GB, free: 8.488 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001213/0.7445, allocations: 273.3 kB / 0.7046 GB, free: 8.219 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003073/0.7448, allocations: 35.98 kB / 0.7046 GB, free: 8.184 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.002654/0.7474, allocations: 1.136 MB / 0.7057 GB, free: 7.055 MB / 0.4981 GB Notification: Performance of sort global known variables: time 5.81e-07/0.7475, allocations: 4 kB / 0.7057 GB, free: 7.051 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.00449/0.752, allocations: 0.9519 MB / 0.7066 GB, free: 6.098 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 14 (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) * 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 (91): * Single equations (assignments): 89 * 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.02502/0.777, allocations: 8.306 MB / 0.7148 GB, free: 13.75 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.02034/0.7974, allocations: 5.993 MB / 0.7206 GB, free: 7.758 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.234e-05/0.7975, allocations: 8.125 kB / 0.7206 GB, free: 7.75 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.008543/0.806, allocations: 2.45 MB / 0.723 GB, free: 5.273 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002659/0.8087, allocations: 186.1 kB / 0.7232 GB, free: 5.09 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07044/0.8792, allocations: 26.43 MB / 0.749 GB, free: 9.387 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001234/0.8804, allocations: 1.34 MB / 0.7503 GB, free: 8.012 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.001322/0.8818, allocations: 207.5 kB / 0.7505 GB, free: 7.805 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001213/0.883, allocations: 0.7023 MB / 0.7512 GB, free: 7.102 MB / 0.545 GB Notification: Performance of SimCode: time 6.31e-07/0.883, allocations: 0 / 0.7512 GB, free: 7.102 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.372/1.255, allocations: 53.91 MB / 0.8038 GB, free: 161.9 MB / 0.5606 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002051/1.255, allocations: 223.2 kB / 0.8041 GB, free: 161.7 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.58/4.835, allocations: 0 / 0.8041 GB, free: 161.7 MB / 0.5606 GB (rm -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.ESST1A.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.ESST1A.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.ESST1A.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.ESST1A.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_ESST1A_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_ESST1A.fmu > OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.ESST1A.pipe 2>&1)