Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSSE.GENCLS.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.Machines.PSSE.GENCLS,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSSE_GENCLS",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSSE.GENCLS,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSSE_GENCLS",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.07898/0.07898, allocations: 12.59 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.001186/0.001186, allocations: 111.4 kB / 31.83 MB, free: 3.879 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.295/1.295, allocations: 205.1 MB / 240.4 MB, free: 12.36 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.001402/0.001402, allocations: 188.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.4056/0.4056, allocations: 78.51 MB / 419.3 MB, free: 11.23 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.003689/0.003689, allocations: 140.5 kB / 0.5554 GB, free: 28.86 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1065/0.1102, allocations: 68.13 MB / 0.6219 GB, free: 15.92 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSSE.GENCLS): time 0.006955/0.1172, allocations: 6.222 MB / 0.628 GB, free: 9.664 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.00314/0.1204, allocations: 1.826 MB / 0.6298 GB, free: 7.832 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002934/0.1207, allocations: 8 kB / 0.6298 GB, free: 7.824 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004649/0.1212, allocations: 238 kB / 0.63 GB, free: 7.59 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00161/0.1228, allocations: 0.7958 MB / 0.6308 GB, free: 6.793 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001246/0.1241, allocations: 0.6444 MB / 0.6314 GB, free: 6.156 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001715/0.1258, allocations: 1.65 MB / 0.633 GB, free: 4.5 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003934/0.1262, allocations: 287.7 kB / 0.6333 GB, free: 4.207 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006384/0.1268, allocations: 0.6147 MB / 0.6339 GB, free: 3.59 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009093/0.1277, allocations: 0.8014 MB / 0.6347 GB, free: 2.785 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001748/0.1279, allocations: 116 kB / 0.6348 GB, free: 2.672 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004109/0.1283, allocations: 235.9 kB / 0.635 GB, free: 2.441 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002718/0.1286, allocations: 306.7 kB / 0.6353 GB, free: 2.141 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005677/0.1292, allocations: 0.637 MB / 0.6359 GB, free: 1.5 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00158/0.1308, allocations: 1.568 MB / 0.6375 GB, free: 15.93 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.1308, allocations: 0 / 0.6375 GB, free: 15.93 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.1308, allocations: 0 / 0.6375 GB, free: 15.93 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.678e-05/0.1308, allocations: 4 kB / 0.6375 GB, free: 15.92 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: 179 * Number of variables: 179 Notification: Performance of Generate backend data structure: time 0.008249/0.1391, allocations: 2.667 MB / 0.6401 GB, free: 13.2 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.93e-05/0.1391, allocations: 15.98 kB / 0.6401 GB, free: 13.18 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001533/0.1393, allocations: 122.5 kB / 0.6402 GB, free: 13.05 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004068/0.1434, allocations: 0.6821 MB / 0.6409 GB, free: 12.37 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001186/0.1446, allocations: 0.8196 MB / 0.6417 GB, free: 11.5 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003789/0.145, allocations: 345.3 kB / 0.642 GB, free: 11.1 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001397/0.1451, allocations: 75.95 kB / 0.6421 GB, free: 11.03 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002327/0.1474, allocations: 1.137 MB / 0.6432 GB, free: 9.879 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.078e-05/0.1475, allocations: 4 kB / 0.6432 GB, free: 9.875 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.903e-05/0.1476, allocations: 31.94 kB / 0.6432 GB, free: 9.844 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.636e-05/0.1476, allocations: 16 kB / 0.6432 GB, free: 9.828 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002403/0.15, allocations: 1.089 MB / 0.6443 GB, free: 8.738 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.006403/0.1564, allocations: 3.579 MB / 0.6478 GB, free: 4.988 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007773/0.1642, allocations: 2.525 MB / 0.6503 GB, free: 2.332 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001696/0.1659, allocations: 0.7815 MB / 0.651 GB, free: 1.543 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001196/0.166, allocations: 20.97 kB / 0.651 GB, free: 1.523 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.356e-05/0.1661, allocations: 47.56 kB / 0.6511 GB, free: 1.469 MB / 462.1 MB Notification: Performance of pre-optimization done (n=97): time 2.775e-06/0.1661, allocations: 0 / 0.6511 GB, free: 1.469 MB / 462.1 MB Notification: Performance of matching and sorting (n=97): time 0.04003/0.2061, allocations: 9.399 MB / 0.6603 GB, free: 8.027 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.328e-05/0.2062, allocations: 90.09 kB / 0.6603 GB, free: 7.922 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001277/0.2075, allocations: 0.9048 MB / 0.6612 GB, free: 6.996 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001279/0.2076, allocations: 45.7 kB / 0.6613 GB, free: 6.945 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003733/0.208, allocations: 477.2 kB / 0.6617 GB, free: 6.473 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003591/0.2084, allocations: 352.9 kB / 0.6621 GB, free: 6.125 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003819/0.2088, allocations: 178.9 kB / 0.6622 GB, free: 5.941 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001519/0.2089, allocations: 341.9 kB / 0.6626 GB, free: 5.602 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00163/0.2106, allocations: 0.6702 MB / 0.6632 GB, free: 4.934 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001802/0.2124, allocations: 0.8353 MB / 0.664 GB, free: 4.047 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00335/0.2157, allocations: 1.517 MB / 0.6655 GB, free: 2.477 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.661e-06/0.2158, allocations: 3.938 kB / 0.6655 GB, free: 2.473 MB / 478.1 MB Notification: Performance of matching and sorting (n=129) (initialization): time 0.01633/0.2321, allocations: 4.548 MB / 0.67 GB, free: 13.91 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.607e-05/0.2322, allocations: 8 kB / 0.67 GB, free: 13.91 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.762e-05/0.2322, allocations: 7.984 kB / 0.67 GB, free: 13.9 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008244/0.2404, allocations: 2.341 MB / 0.6723 GB, free: 11.55 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006846/0.2411, allocations: 139.8 kB / 0.6724 GB, free: 11.41 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02963/0.2708, allocations: 11.34 MB / 0.6835 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001496/0.2723, allocations: 167.3 kB / 0.6836 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000101/0.2724, allocations: 32 kB / 0.6837 GB, free: 15.72 MB / 0.4981 GB 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.0004417/0.2729, allocations: 233.6 kB / 0.6839 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002662/0.2731, allocations: 119.2 kB / 0.684 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01546/0.2886, allocations: 4.44 MB / 0.6883 GB, free: 10.91 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.174e-05/0.2887, allocations: 12 kB / 0.6883 GB, free: 10.9 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.2887, allocations: 4 kB / 0.6884 GB, free: 10.9 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.542e-05/0.2887, allocations: 7.922 kB / 0.6884 GB, free: 10.89 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01762/0.3063, allocations: 6.07 MB / 0.6943 GB, free: 4.672 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.93e-06/0.3063, allocations: 0 / 0.6943 GB, free: 4.672 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004547/0.3068, allocations: 91.89 kB / 0.6944 GB, free: 4.582 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00754/0.3143, allocations: 2.162 MB / 0.6965 GB, free: 2.414 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.258e-05/0.3145, allocations: 19.98 kB / 0.6965 GB, free: 2.395 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02639/0.3408, allocations: 9.957 MB / 0.7062 GB, free: 8.297 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.3409, allocations: 0 / 0.7062 GB, free: 8.297 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01769/0.3586, allocations: 5.524 MB / 0.7116 GB, free: 2.75 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003446/0.3589, allocations: 216.1 kB / 0.7118 GB, free: 2.52 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001524/0.3591, allocations: 20 kB / 0.7118 GB, free: 2.5 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001139/0.3603, allocations: 99.89 kB / 0.7119 GB, free: 2.402 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006877/0.3609, allocations: 233.1 kB / 0.7122 GB, free: 2.172 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.823e-05/0.361, allocations: 24 kB / 0.7122 GB, free: 2.148 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0008232/0.3619, allocations: 0.6226 MB / 0.7128 GB, free: 1.516 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3619, allocations: 0 / 0.7128 GB, free: 1.516 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001202/0.3631, allocations: 471.6 kB / 0.7132 GB, free: 1.055 MB / 0.5137 GB 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.2484/0.6115, allocations: 6.075 MB / 0.7192 GB, free: 84.01 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.008505/0.6201, allocations: 2.568 MB / 0.7217 GB, free: 83.78 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.588e-06/0.6201, allocations: 0 / 0.7217 GB, free: 83.78 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.005834/0.6259, allocations: 1.779 MB / 0.7234 GB, free: 83.39 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008899/0.6269, allocations: 100.2 kB / 0.7235 GB, free: 83.32 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03926/0.6661, allocations: 16.24 MB / 0.7394 GB, free: 77.6 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004492/0.6666, allocations: 1.082 MB / 0.7404 GB, free: 76.86 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0002823/0.6669, allocations: 91.92 kB / 0.7405 GB, free: 76.81 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004137/0.6673, allocations: 427.8 kB / 0.7409 GB, free: 76.45 MB / 0.5137 GB Notification: Performance of SimCode: time 6.02e-07/0.6673, allocations: 0 / 0.7409 GB, free: 76.45 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0601/0.7274, allocations: 38.54 MB / 0.7786 GB, free: 40.26 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.8/13.52, allocations: 17.47 kB / 0.7786 GB, free: 40.24 MB / 0.5137 GB (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSSE.GENCLS.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSSE.GENCLS.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSSE.GENCLS.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSSE.GENCLS.sim & python3 -m fmpy simulate --output-file OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSSE.GENCLS_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSSE_GENCLS.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSSE.GENCLS.pipe 2>&1)