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.0837/0.0837, allocations: 12.59 MB / 28.22 MB, free: 0.7656 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.001057/0.001057, allocations: 111.4 kB / 31.84 MB, free: 3.891 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.21/1.21, 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.001293/0.001293, allocations: 199.2 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.3983/0.3983, allocations: 78.52 MB / 419.3 MB, free: 11.27 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.002716/0.002717, allocations: 147.2 kB / 0.5554 GB, free: 28.75 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1031/0.1059, allocations: 68.13 MB / 0.6219 GB, free: 15.95 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSSE.GENCLS): time 0.006262/0.1122, allocations: 6.214 MB / 0.628 GB, free: 9.703 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003515/0.1157, allocations: 1.822 MB / 0.6298 GB, free: 7.875 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006774/0.1164, allocations: 8 kB / 0.6298 GB, free: 7.867 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006366/0.1171, allocations: 250 kB / 0.63 GB, free: 7.621 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002199/0.1193, allocations: 0.8508 MB / 0.6308 GB, free: 6.766 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0014/0.1207, allocations: 0.6385 MB / 0.6315 GB, free: 6.137 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002059/0.1228, allocations: 1.639 MB / 0.6331 GB, free: 4.492 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005179/0.1233, allocations: 291.7 kB / 0.6333 GB, free: 4.195 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008179/0.1241, allocations: 0.6147 MB / 0.6339 GB, free: 3.578 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001031/0.1252, allocations: 0.8013 MB / 0.6347 GB, free: 2.773 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002888/0.1255, allocations: 116 kB / 0.6348 GB, free: 2.66 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005296/0.126, allocations: 239.9 kB / 0.6351 GB, free: 2.426 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003162/0.1263, allocations: 306.7 kB / 0.6353 GB, free: 2.125 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006694/0.127, allocations: 0.6409 MB / 0.636 GB, free: 1.48 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001671/0.1287, allocations: 1.568 MB / 0.6375 GB, free: 15.91 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.1287, allocations: 0 / 0.6375 GB, free: 15.91 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.233e-06/0.1287, allocations: 4 kB / 0.6375 GB, free: 15.9 MB / 462.1 MB Notification: Performance of Transformations before backend: time 4.825e-05/0.1288, allocations: 0 / 0.6375 GB, free: 15.9 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.008569/0.1373, allocations: 2.663 MB / 0.6401 GB, free: 13.18 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.24e-05/0.1374, allocations: 15.98 kB / 0.6401 GB, free: 13.17 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001998/0.1376, allocations: 122.5 kB / 0.6402 GB, free: 13.04 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004046/0.1417, allocations: 0.6821 MB / 0.6409 GB, free: 12.36 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001262/0.1429, allocations: 0.8157 MB / 0.6417 GB, free: 11.48 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003337/0.1433, allocations: 349.2 kB / 0.642 GB, free: 11.09 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001741/0.1435, allocations: 75.95 kB / 0.6421 GB, free: 11.01 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002192/0.1457, allocations: 1.141 MB / 0.6432 GB, free: 9.859 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.89e-05/0.1457, allocations: 0 / 0.6432 GB, free: 9.859 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.004e-05/0.1458, allocations: 28 kB / 0.6433 GB, free: 9.832 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.413e-05/0.1458, allocations: 19.94 kB / 0.6433 GB, free: 9.812 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002293/0.1481, allocations: 1.089 MB / 0.6443 GB, free: 8.723 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.006072/0.1542, allocations: 3.579 MB / 0.6478 GB, free: 4.973 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006758/0.161, allocations: 2.521 MB / 0.6503 GB, free: 2.32 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001503/0.1625, allocations: 0.7855 MB / 0.6511 GB, free: 1.527 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001264/0.1626, allocations: 20.92 kB / 0.6511 GB, free: 1.508 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.812e-05/0.1627, allocations: 43.56 kB / 0.6511 GB, free: 1.457 MB / 462.1 MB Notification: Performance of pre-optimization done (n=97): time 2.545e-06/0.1627, allocations: 0 / 0.6511 GB, free: 1.457 MB / 462.1 MB Notification: Performance of matching and sorting (n=97): time 0.03522/0.1979, allocations: 9.415 MB / 0.6603 GB, free: 8.004 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.351e-05/0.198, allocations: 86.11 kB / 0.6604 GB, free: 7.902 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00129/0.1993, allocations: 0.9048 MB / 0.6613 GB, free: 6.977 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001607/0.1995, allocations: 45.7 kB / 0.6613 GB, free: 6.926 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003275/0.1998, allocations: 465.2 kB / 0.6618 GB, free: 6.465 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004004/0.2002, allocations: 364.8 kB / 0.6621 GB, free: 6.105 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003923/0.2006, allocations: 174.9 kB / 0.6623 GB, free: 5.926 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001067/0.2007, allocations: 345.9 kB / 0.6626 GB, free: 5.582 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001509/0.2022, allocations: 0.6779 MB / 0.6633 GB, free: 4.906 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001563/0.2038, allocations: 0.8236 MB / 0.6641 GB, free: 4.031 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00311/0.2069, allocations: 1.524 MB / 0.6656 GB, free: 2.453 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.053e-05/0.207, allocations: 3.938 kB / 0.6656 GB, free: 2.449 MB / 478.1 MB Notification: Performance of matching and sorting (n=129) (initialization): time 0.01484/0.2218, allocations: 4.54 MB / 0.67 GB, free: 13.9 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.216e-05/0.2219, allocations: 8 kB / 0.67 GB, free: 13.89 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.094e-05/0.2219, allocations: 7.984 kB / 0.67 GB, free: 13.88 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007305/0.2292, allocations: 2.349 MB / 0.6723 GB, free: 11.53 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000658/0.2299, allocations: 143.8 kB / 0.6725 GB, free: 11.39 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02691/0.2568, allocations: 11.33 MB / 0.6835 GB, free: 15.9 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001443/0.2583, allocations: 167.3 kB / 0.6837 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001757/0.2585, allocations: 35.98 kB / 0.6837 GB, free: 15.7 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.0004867/0.259, allocations: 225.7 kB / 0.6839 GB, free: 15.47 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003035/0.2593, allocations: 127.2 kB / 0.684 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01356/0.2729, allocations: 4.444 MB / 0.6884 GB, free: 10.89 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.367e-05/0.2729, allocations: 12 kB / 0.6884 GB, free: 10.88 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.2729, allocations: 0 / 0.6884 GB, free: 10.88 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.265e-05/0.2729, allocations: 7.922 kB / 0.6884 GB, free: 10.87 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01764/0.2906, allocations: 6.066 MB / 0.6943 GB, free: 4.656 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.449e-05/0.2906, allocations: 4 kB / 0.6943 GB, free: 4.652 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006824/0.2913, allocations: 91.89 kB / 0.6944 GB, free: 4.562 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009872/0.3012, allocations: 2.165 MB / 0.6965 GB, free: 2.391 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002367/0.3015, allocations: 16 kB / 0.6966 GB, free: 2.375 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03205/0.3336, allocations: 9.957 MB / 0.7063 GB, free: 8.277 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.308e-06/0.3336, allocations: 4 kB / 0.7063 GB, free: 8.273 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01551/0.3491, allocations: 5.516 MB / 0.7117 GB, free: 2.734 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003511/0.3495, allocations: 216.1 kB / 0.7119 GB, free: 2.504 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002261/0.3498, allocations: 16 kB / 0.7119 GB, free: 2.488 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00111/0.3509, allocations: 111.8 kB / 0.712 GB, free: 2.379 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000705/0.3516, allocations: 229.1 kB / 0.7122 GB, free: 2.152 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.4e-05/0.3517, allocations: 27.98 kB / 0.7122 GB, free: 2.125 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0008181/0.3525, allocations: 0.6226 MB / 0.7128 GB, free: 1.492 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3525, allocations: 0 / 0.7128 GB, free: 1.492 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001309/0.3538, allocations: 467.6 kB / 0.7133 GB, free: 1.035 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.2295/0.5833, allocations: 6.068 MB / 0.7192 GB, free: 84.23 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.00689/0.5902, allocations: 2.576 MB / 0.7217 GB, free: 84 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.178e-06/0.5903, allocations: 3.531 kB / 0.7217 GB, free: 84 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.005121/0.5954, allocations: 1.769 MB / 0.7235 GB, free: 83.63 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007857/0.5962, allocations: 104 kB / 0.7236 GB, free: 83.56 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03556/0.6318, allocations: 16.25 MB / 0.7394 GB, free: 77.82 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003846/0.6322, allocations: 1.09 MB / 0.7405 GB, free: 77.09 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0002867/0.6325, allocations: 85.94 kB / 0.7406 GB, free: 77.07 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004023/0.6329, allocations: 426 kB / 0.741 GB, free: 76.72 MB / 0.5137 GB Notification: Performance of SimCode: time 8.01e-07/0.6329, allocations: 0 / 0.741 GB, free: 76.72 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0517/0.6846, allocations: 38.54 MB / 0.7786 GB, free: 40.53 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.53/13.21, allocations: 13.41 kB / 0.7786 GB, free: 40.52 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)