Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Machines.PSSE.GENCLS.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.Machines.PSSE.GENCLS,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Machines_PSSE_GENCLS",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSSE.GENCLS,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Machines_PSSE_GENCLS",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.001629/0.001628, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.454/1.454, allocations: 222.9 MB / 239 MB, free: 4.703 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.001662/0.001662, allocations: 196.5 kB / 289.3 MB, free: 2.453 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5294/0.5294, allocations: 91.9 MB / 431.3 MB, free: 9.395 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001826/0.001827, allocations: 79.88 kB / 0.5015 GB, free: 7.969 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.432/0.4339, allocations: 71.26 MB / 0.5711 GB, free: 36.51 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSSE.GENCLS): time 0.005665/0.4396, allocations: 6.549 MB / 0.5775 GB, free: 32.61 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003224/0.4428, allocations: 1.912 MB / 0.5793 GB, free: 31.47 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004152/0.4433, allocations: 11.5 kB / 0.5794 GB, free: 31.47 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005013/0.4438, allocations: 188.5 kB / 0.5795 GB, free: 31.39 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001103/0.4449, allocations: 0.5107 MB / 0.58 GB, free: 31.05 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001411/0.4463, allocations: 0.7645 MB / 0.5808 GB, free: 30.64 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001253/0.4476, allocations: 1.508 MB / 0.5823 GB, free: 29.89 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003716/0.448, allocations: 286.8 kB / 0.5825 GB, free: 29.77 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005308/0.4485, allocations: 0.6202 MB / 0.5831 GB, free: 29.47 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006756/0.4492, allocations: 0.7987 MB / 0.5839 GB, free: 29.09 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001505/0.4494, allocations: 114.9 kB / 0.584 GB, free: 29.09 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003746/0.4497, allocations: 224.3 kB / 0.5842 GB, free: 29.06 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002025/0.4499, allocations: 303.1 kB / 0.5845 GB, free: 28.87 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004172/0.4504, allocations: 0.6462 MB / 0.5852 GB, free: 28.44 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001208/0.4516, allocations: 1.537 MB / 0.5867 GB, free: 27.75 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.4516, allocations: 4 kB / 0.5867 GB, free: 27.74 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.255e-06/0.4516, allocations: 0 / 0.5867 GB, free: 27.74 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.081e-05/0.4516, allocations: 0 / 0.5867 GB, free: 27.74 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: 179 * Number of variables: 179 Notification: Performance of Generate backend data structure: time 0.008641/0.4603, allocations: 2.614 MB / 0.5892 GB, free: 26.59 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.498e-05/0.4603, allocations: 12 kB / 0.5892 GB, free: 26.59 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001564/0.4605, allocations: 121.6 kB / 0.5893 GB, free: 26.5 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004108/0.4646, allocations: 0.6799 MB / 0.59 GB, free: 26.36 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00116/0.4658, allocations: 0.802 MB / 0.5908 GB, free: 25.79 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000331/0.4661, allocations: 350.1 kB / 0.5911 GB, free: 25.48 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001581/0.4663, allocations: 71.41 kB / 0.5912 GB, free: 25.45 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002275/0.4686, allocations: 1.14 MB / 0.5923 GB, free: 25.02 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.994e-05/0.4686, allocations: 0 / 0.5923 GB, free: 25.02 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.351e-05/0.4687, allocations: 26.94 kB / 0.5923 GB, free: 25 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.24e-05/0.4687, allocations: 16.25 kB / 0.5923 GB, free: 25 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002321/0.4711, allocations: 1.093 MB / 0.5934 GB, free: 24.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.006053/0.4771, allocations: 3.597 MB / 0.5969 GB, free: 22.54 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007788/0.4849, allocations: 2.521 MB / 0.5994 GB, free: 21.53 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001854/0.4868, allocations: 0.7791 MB / 0.6001 GB, free: 21.23 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001341/0.4869, allocations: 20.56 kB / 0.6002 GB, free: 21.22 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.14e-05/0.487, allocations: 43.56 kB / 0.6002 GB, free: 21.17 MB / 430.1 MB Notification: Performance of pre-optimization done (n=97): time 3.567e-06/0.487, allocations: 5.312 kB / 0.6002 GB, free: 21.17 MB / 430.1 MB Notification: Performance of matching and sorting (n=97): time 0.04339/0.5304, allocations: 9.396 MB / 0.6094 GB, free: 19.49 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.388e-05/0.5305, allocations: 87.89 kB / 0.6095 GB, free: 19.39 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001911/0.5324, allocations: 0.9001 MB / 0.6104 GB, free: 18.88 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002285/0.5327, allocations: 44.61 kB / 0.6104 GB, free: 18.83 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003741/0.5331, allocations: 471.9 kB / 0.6108 GB, free: 18.42 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005128/0.5336, allocations: 345.1 kB / 0.6112 GB, free: 18.12 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005612/0.5342, allocations: 172.1 kB / 0.6113 GB, free: 18.01 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.943e-05/0.5343, allocations: 347.4 kB / 0.6117 GB, free: 17.68 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00168/0.5359, allocations: 0.673 MB / 0.6123 GB, free: 17.34 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00175/0.5377, allocations: 0.8291 MB / 0.6131 GB, free: 16.84 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003271/0.541, allocations: 1.519 MB / 0.6146 GB, free: 16 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.061e-05/0.541, allocations: 12.86 kB / 0.6146 GB, free: 15.98 MB / 430.1 MB Notification: Performance of matching and sorting (n=129) (initialization): time 0.01523/0.5563, allocations: 4.538 MB / 0.6191 GB, free: 13.04 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.834e-05/0.5563, allocations: 8 kB / 0.6191 GB, free: 13.03 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.555e-05/0.5564, allocations: 4 kB / 0.6191 GB, free: 13.03 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00714/0.5635, allocations: 2.349 MB / 0.6214 GB, free: 10.67 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007472/0.5643, allocations: 139.8 kB / 0.6215 GB, free: 10.54 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02735/0.5917, allocations: 11.34 MB / 0.6326 GB, free: 15.04 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001906/0.5936, allocations: 171 kB / 0.6327 GB, free: 14.88 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002423/0.5939, allocations: 39.98 kB / 0.6328 GB, free: 14.84 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (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 {(27,20)} Notification: Performance of prepare postOptimizeDAE: time 0.0007262/0.5946, allocations: 225.7 kB / 0.633 GB, free: 14.61 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004985/0.5951, allocations: 118.6 kB / 0.6331 GB, free: 14.49 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01529/0.6104, allocations: 4.432 MB / 0.6374 GB, free: 10.04 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-05/0.6105, allocations: 12 kB / 0.6374 GB, free: 10.03 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.071e-06/0.6105, allocations: 0 / 0.6374 GB, free: 10.03 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.074e-05/0.6105, allocations: 11.92 kB / 0.6375 GB, free: 10.02 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01834/0.6289, allocations: 6.074 MB / 0.6434 GB, free: 3.809 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.52e-05/0.6289, allocations: 0 / 0.6434 GB, free: 3.809 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005613/0.6295, allocations: 91.89 kB / 0.6435 GB, free: 3.719 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007405/0.6369, allocations: 2.169 MB / 0.6456 GB, free: 1.543 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001617/0.6371, allocations: 19.98 kB / 0.6456 GB, free: 1.523 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02592/0.663, allocations: 9.962 MB / 0.6553 GB, free: 7.406 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/0.6631, allocations: 0 / 0.6553 GB, free: 7.406 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01687/0.68, allocations: 5.513 MB / 0.6607 GB, free: 1.871 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005175/0.6805, allocations: 215.5 kB / 0.6609 GB, free: 1.641 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003165/0.6808, allocations: 16 kB / 0.6609 GB, free: 1.625 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001379/0.6822, allocations: 107.9 kB / 0.661 GB, free: 1.52 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000741/0.683, allocations: 229.1 kB / 0.6613 GB, free: 1.297 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.987e-05/0.6831, allocations: 24 kB / 0.6613 GB, free: 1.273 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0009893/0.6841, allocations: 0.6226 MB / 0.6619 GB, free: 0.6406 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.51e-07/0.6841, allocations: 0 / 0.6619 GB, free: 0.6406 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001662/0.6858, allocations: 467.5 kB / 0.6623 GB, free: 188 kB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 6 (gENCLS.delta,gENCLS.eq,gENCLS1.delta,gENCLS1.omega,gENCLS1.eq,gENCLS.omega) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (55): * Single equations (assignments): 54 * 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 {(27,20)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01708/0.7028, allocations: 6.077 MB / 0.6683 GB, free: 10.07 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.008055/0.7109, allocations: 2.588 MB / 0.6708 GB, free: 7.473 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.679e-06/0.711, allocations: 0 / 0.6708 GB, free: 7.473 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005757/0.7167, allocations: 1.765 MB / 0.6725 GB, free: 5.691 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001391/0.7181, allocations: 104.2 kB / 0.6726 GB, free: 5.59 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04436/0.7625, allocations: 17.11 MB / 0.6893 GB, free: 4.059 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009449/0.7635, allocations: 1.084 MB / 0.6904 GB, free: 2.941 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0004399/0.764, allocations: 86.91 kB / 0.6905 GB, free: 2.855 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006804/0.7647, allocations: 431.2 kB / 0.6909 GB, free: 2.434 MB / 494.1 MB Notification: Performance of SimCode: time 6.82e-07/0.7647, allocations: 0 / 0.6909 GB, free: 2.434 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07161/0.8363, allocations: 36.82 MB / 0.7269 GB, free: 13.75 MB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002221/0.8366, allocations: 216.2 kB / 0.7271 GB, free: 13.49 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.003/3.839, allocations: 3.5 kB / 0.7271 GB, free: 13.49 MB / 0.5294 GB (rm -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSSE.GENCLS.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Machines.PSSE.GENCLS.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Machines.PSSE.GENCLS.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Machines.PSSE.GENCLS.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Machines_PSSE_GENCLS_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Tests_Machines_PSSE_GENCLS.fmu > OpenIPSL_dev_OpenIPSL.Tests.Machines.PSSE.GENCLS.pipe 2>&1)