Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.SEXS.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) 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 3.2.3+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 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.ES.SEXS,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_ES_SEXS",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.ES.SEXS,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_ES_SEXS",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.07982/0.07982, allocations: 12.58 MB / 28.22 MB, free: 0.7383 MB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001023/0.001023, allocations: 107.4 kB / 31.83 MB, free: 3.875 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.274/1.274, allocations: 205.1 MB / 240.4 MB, free: 12.37 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001348/0.001348, allocations: 184.5 kB / 290.7 MB, free: 13.39 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4206/0.4206, allocations: 78.52 MB / 419.3 MB, free: 11.21 MB / 302.1 MB Notification: Modelica_Synchronous requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenIPSL requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002523/0.002523, allocations: 147 kB / 0.5554 GB, free: 28.83 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1072/0.1097, allocations: 68.12 MB / 0.6219 GB, free: 15.94 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.ES.SEXS): time 0.01229/0.122, allocations: 8.099 MB / 0.6298 GB, free: 7.801 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.006905/0.129, allocations: 2.481 MB / 0.6323 GB, free: 5.312 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001578/0.1307, allocations: 12 kB / 0.6323 GB, free: 5.301 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001326/0.132, allocations: 317.4 kB / 0.6326 GB, free: 4.988 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004554/0.1366, allocations: 1.243 MB / 0.6338 GB, free: 3.742 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002181/0.1388, allocations: 0.6701 MB / 0.6344 GB, free: 3.078 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.003877/0.1427, allocations: 2.279 MB / 0.6367 GB, free: 0.793 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008846/0.1436, allocations: 394 kB / 0.637 GB, free: 392 kB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00169/0.1453, allocations: 0.8677 MB / 0.6379 GB, free: 15.51 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001993/0.1473, allocations: 1.116 MB / 0.639 GB, free: 14.39 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003903/0.1477, allocations: 176 kB / 0.6391 GB, free: 14.22 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001062/0.1488, allocations: 407.7 kB / 0.6395 GB, free: 13.82 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005198/0.1493, allocations: 446.2 kB / 0.64 GB, free: 13.38 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001175/0.1505, allocations: 0.8741 MB / 0.6408 GB, free: 12.5 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003561/0.1541, allocations: 2.231 MB / 0.643 GB, free: 10.27 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.208e-06/0.1541, allocations: 4 kB / 0.643 GB, free: 10.26 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.1541, allocations: 0 / 0.643 GB, free: 10.26 MB / 462.1 MB Notification: Performance of Transformations before backend: time 6.05e-05/0.1542, allocations: 0 / 0.643 GB, free: 10.26 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 234 * Number of variables: 234 Notification: Performance of Generate backend data structure: time 0.0172/0.1714, allocations: 3.719 MB / 0.6466 GB, free: 6.484 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.081e-05/0.1715, allocations: 11.98 kB / 0.6466 GB, free: 6.473 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002862/0.1718, allocations: 147.8 kB / 0.6468 GB, free: 6.32 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004776/0.1766, allocations: 0.7471 MB / 0.6475 GB, free: 5.57 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002181/0.1788, allocations: 1.096 MB / 0.6486 GB, free: 4.422 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004605/0.1793, allocations: 424.7 kB / 0.649 GB, free: 3.938 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002611/0.1795, allocations: 111.8 kB / 0.6491 GB, free: 3.828 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00287/0.1824, allocations: 1.393 MB / 0.6504 GB, free: 2.418 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.284e-05/0.1825, allocations: 0 / 0.6504 GB, free: 2.418 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001203/0.1826, allocations: 43.98 kB / 0.6505 GB, free: 2.375 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.307e-05/0.1826, allocations: 24 kB / 0.6505 GB, free: 2.352 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002891/0.1855, allocations: 1.312 MB / 0.6518 GB, free: 1.039 MB / 462.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.008988/0.1945, allocations: 4.798 MB / 0.6565 GB, free: 12.02 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007603/0.2022, allocations: 2.857 MB / 0.6593 GB, free: 9.023 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001909/0.2041, allocations: 0.8996 MB / 0.6601 GB, free: 8.117 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001617/0.2043, allocations: 20.98 kB / 0.6602 GB, free: 8.098 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002192/0.2065, allocations: 1.042 MB / 0.6612 GB, free: 7.035 MB / 478.1 MB Notification: Performance of pre-optimization done (n=122): time 3.076e-06/0.2065, allocations: 4 kB / 0.6612 GB, free: 7.031 MB / 478.1 MB Notification: Performance of matching and sorting (n=122): time 0.03785/0.2444, allocations: 9.668 MB / 0.6706 GB, free: 13.32 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.037e-05/0.2445, allocations: 115.8 kB / 0.6707 GB, free: 13.18 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00227/0.2467, allocations: 1.386 MB / 0.6721 GB, free: 11.79 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002644/0.247, allocations: 57.69 kB / 0.6721 GB, free: 11.72 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000483/0.2475, allocations: 0.5766 MB / 0.6727 GB, free: 11.14 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005502/0.2481, allocations: 441.7 kB / 0.6731 GB, free: 10.7 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000834/0.2489, allocations: 339.4 kB / 0.6735 GB, free: 10.37 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.704e-05/0.249, allocations: 301.1 kB / 0.6737 GB, free: 10.07 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002082/0.2511, allocations: 0.9604 MB / 0.6747 GB, free: 9.109 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002155/0.2533, allocations: 1.158 MB / 0.6758 GB, free: 7.902 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004203/0.2575, allocations: 2.05 MB / 0.6778 GB, free: 5.812 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.262e-05/0.2575, allocations: 4 kB / 0.6778 GB, free: 5.809 MB / 494.1 MB Notification: Performance of matching and sorting (n=231) (initialization): time 0.01668/0.2742, allocations: 5.383 MB / 0.6831 GB, free: 420 kB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.259e-05/0.2743, allocations: 10.97 kB / 0.6831 GB, free: 412 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.584e-05/0.2743, allocations: 8 kB / 0.6831 GB, free: 404 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009586/0.2839, allocations: 2.88 MB / 0.6859 GB, free: 13.51 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001419/0.2854, allocations: 279.6 kB / 0.6862 GB, free: 13.23 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007253/0.2927, allocations: 2.857 MB / 0.689 GB, free: 10.35 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00271/0.2954, allocations: 246.3 kB / 0.6892 GB, free: 10.11 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000305/0.2958, allocations: 71.95 kB / 0.6893 GB, free: 10.04 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 (167): * Single equations (assignments): 166 * 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 {(33,32)} Notification: Performance of prepare postOptimizeDAE: time 0.0007904/0.2966, allocations: 289.5 kB / 0.6895 GB, free: 9.746 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004992/0.2971, allocations: 154 kB / 0.6897 GB, free: 9.594 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01536/0.3124, allocations: 4.733 MB / 0.6943 GB, free: 4.836 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.252e-05/0.3125, allocations: 16 kB / 0.6943 GB, free: 4.82 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.325e-06/0.3125, allocations: 3.938 kB / 0.6943 GB, free: 4.816 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.281e-05/0.3126, allocations: 7.969 kB / 0.6943 GB, free: 4.809 MB / 0.4981 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.01809/0.3307, allocations: 6.796 MB / 0.701 GB, free: 13.88 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.101e-05/0.3307, allocations: 4.031 kB / 0.701 GB, free: 13.87 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008296/0.3315, allocations: 131.8 kB / 0.7011 GB, free: 13.74 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006971/0.3385, allocations: 2.142 MB / 0.7032 GB, free: 11.6 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002149/0.3388, allocations: 24 kB / 0.7032 GB, free: 11.57 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02503/0.3638, allocations: 10.08 MB / 0.7131 GB, free: 1.344 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.564e-06/0.3638, allocations: 0 / 0.7131 GB, free: 1.344 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.264/0.6279, allocations: 5.861 MB / 0.7188 GB, free: 84.53 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005095/0.6284, allocations: 270.8 kB / 0.719 GB, free: 84.43 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000235/0.6286, allocations: 27.36 kB / 0.7191 GB, free: 84.43 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001533/0.6302, allocations: 136.8 kB / 0.7192 GB, free: 84.43 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008422/0.631, allocations: 258.5 kB / 0.7194 GB, free: 84.43 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001123/0.6312, allocations: 33.66 kB / 0.7195 GB, free: 84.43 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.00155/0.6327, allocations: 0.9391 MB / 0.7204 GB, free: 84.32 MB / 0.5137 GB Notification: Performance of sort global known variables: time 4.21e-07/0.6327, allocations: 3.844 kB / 0.7204 GB, free: 84.32 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001688/0.6344, allocations: 0.5166 MB / 0.7209 GB, free: 84.32 MB / 0.5137 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,sEXS.simpleLagLim.state,sEXS.leadLag.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 (79): * Single equations (assignments): 78 * 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.01837/0.6528, allocations: 6.471 MB / 0.7272 GB, free: 82.28 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.008362/0.6612, allocations: 2.85 MB / 0.73 GB, free: 81.48 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 5.621e-06/0.6613, allocations: 0 / 0.73 GB, free: 81.48 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.005466/0.6667, allocations: 1.899 MB / 0.7319 GB, free: 80.86 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001092/0.6679, allocations: 131.4 kB / 0.732 GB, free: 80.77 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03718/0.705, allocations: 18.63 MB / 0.7502 GB, free: 69.15 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004925/0.7056, allocations: 1.211 MB / 0.7514 GB, free: 67.91 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0005158/0.7061, allocations: 141.7 kB / 0.7515 GB, free: 67.77 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006533/0.7068, allocations: 0.593 MB / 0.7521 GB, free: 67.17 MB / 0.5137 GB Notification: Performance of SimCode: time 8.21e-07/0.7068, allocations: 0 / 0.7521 GB, free: 67.17 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06159/0.7684, allocations: 43.08 MB / 0.7941 GB, free: 24.16 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.38/15.15, allocations: 7.609 kB / 0.7942 GB, free: 24.15 MB / 0.5137 GB (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.SEXS.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.SEXS.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.SEXS.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.SEXS.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_ES_SEXS_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_ES_SEXS.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.SEXS.pipe 2>&1)