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.008688/0.008688, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.349/1.349, allocations: 222.9 MB / 239.4 MB, free: 4.547 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.001297/0.001297, allocations: 188.5 kB / 289.7 MB, free: 2.258 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5118/0.5118, allocations: 91.9 MB / 431.8 MB, free: 9.168 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001424/0.001424, allocations: 84.34 kB / 0.5723 GB, free: 33.59 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1235/0.1249, allocations: 71.28 MB / 0.6419 GB, free: 4.109 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSSE.GENCLS): time 0.006162/0.1311, allocations: 6.196 MB / 0.6479 GB, free: 13.88 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.003596/0.1347, allocations: 1.86 MB / 0.6497 GB, free: 12.02 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006367/0.1354, allocations: 8 kB / 0.6497 GB, free: 12.01 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005788/0.136, allocations: 242 kB / 0.65 GB, free: 11.77 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001465/0.1375, allocations: 0.6437 MB / 0.6506 GB, free: 11.12 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001604/0.1391, allocations: 0.8142 MB / 0.6514 GB, free: 10.32 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001652/0.1407, allocations: 1.514 MB / 0.6529 GB, free: 8.797 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003976/0.1412, allocations: 283.8 kB / 0.6531 GB, free: 8.508 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007494/0.1419, allocations: 0.6147 MB / 0.6537 GB, free: 7.891 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008816/0.1428, allocations: 0.8052 MB / 0.6545 GB, free: 7.082 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001809/0.143, allocations: 116 kB / 0.6546 GB, free: 6.969 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004672/0.1435, allocations: 227.9 kB / 0.6549 GB, free: 6.746 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002476/0.1437, allocations: 306.8 kB / 0.6551 GB, free: 6.445 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005293/0.1443, allocations: 0.6292 MB / 0.6558 GB, free: 5.812 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001549/0.1458, allocations: 1.564 MB / 0.6573 GB, free: 4.242 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.1458, allocations: 0 / 0.6573 GB, free: 4.242 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.233e-06/0.1458, allocations: 0 / 0.6573 GB, free: 4.242 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.924e-05/0.1459, allocations: 4 kB / 0.6573 GB, free: 4.238 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.008134/0.154, allocations: 2.648 MB / 0.6599 GB, free: 1.535 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.083e-05/0.1541, allocations: 8.031 kB / 0.6599 GB, free: 1.527 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001496/0.1542, allocations: 122.5 kB / 0.66 GB, free: 1.398 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004107/0.1583, allocations: 0.6899 MB / 0.6607 GB, free: 0.707 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001372/0.1597, allocations: 0.808 MB / 0.6615 GB, free: 15.84 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003517/0.1601, allocations: 349.2 kB / 0.6618 GB, free: 15.45 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001579/0.1603, allocations: 72 kB / 0.6619 GB, free: 15.38 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002238/0.1625, allocations: 1.145 MB / 0.663 GB, free: 14.22 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.895e-05/0.1625, allocations: 4 kB / 0.663 GB, free: 14.21 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.805e-05/0.1626, allocations: 32 kB / 0.663 GB, free: 14.18 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.544e-05/0.1627, allocations: 16 kB / 0.663 GB, free: 14.17 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002249/0.1649, allocations: 1.081 MB / 0.6641 GB, free: 13.09 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 preOpt removeSimpleEquations (simulation): time 0.006269/0.1712, allocations: 3.591 MB / 0.6676 GB, free: 9.32 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007167/0.1784, allocations: 2.522 MB / 0.6701 GB, free: 6.672 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001718/0.1801, allocations: 0.7821 MB / 0.6708 GB, free: 5.883 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001476/0.1803, allocations: 16.98 kB / 0.6708 GB, free: 5.867 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.402e-05/0.1803, allocations: 47.56 kB / 0.6709 GB, free: 5.812 MB / 478.1 MB Notification: Performance of pre-optimization done (n=97): time 4.017e-06/0.1803, allocations: 0 / 0.6709 GB, free: 5.812 MB / 478.1 MB Notification: Performance of matching and sorting (n=97): time 0.03967/0.22, allocations: 9.391 MB / 0.6801 GB, free: 12.38 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.432e-05/0.2201, allocations: 90.11 kB / 0.6801 GB, free: 12.28 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001378/0.2215, allocations: 0.9048 MB / 0.681 GB, free: 11.35 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002446/0.2218, allocations: 45.7 kB / 0.6811 GB, free: 11.3 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003613/0.2221, allocations: 481.1 kB / 0.6815 GB, free: 10.82 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005113/0.2227, allocations: 364.8 kB / 0.6819 GB, free: 10.46 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004512/0.2231, allocations: 170.9 kB / 0.682 GB, free: 10.29 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000123/0.2233, allocations: 345.9 kB / 0.6824 GB, free: 9.945 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001594/0.2249, allocations: 0.674 MB / 0.683 GB, free: 9.273 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001706/0.2266, allocations: 0.8276 MB / 0.6838 GB, free: 8.395 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003293/0.2299, allocations: 1.532 MB / 0.6853 GB, free: 6.809 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.893e-06/0.2299, allocations: 0 / 0.6853 GB, free: 6.809 MB / 494.1 MB Notification: Performance of matching and sorting (n=129) (initialization): time 0.01548/0.2454, allocations: 4.548 MB / 0.6898 GB, free: 2.25 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.995e-05/0.2455, allocations: 4 kB / 0.6898 GB, free: 2.246 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.757e-05/0.2455, allocations: 8 kB / 0.6898 GB, free: 2.238 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008256/0.2537, allocations: 2.349 MB / 0.6921 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007322/0.2545, allocations: 135.8 kB / 0.6922 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03014/0.2847, allocations: 11.32 MB / 0.7033 GB, free: 4.277 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001612/0.2863, allocations: 171.2 kB / 0.7034 GB, free: 4.109 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002195/0.2866, allocations: 43.97 kB / 0.7035 GB, free: 4.066 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.00059/0.2872, allocations: 230.7 kB / 0.7037 GB, free: 3.832 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003842/0.2875, allocations: 123.2 kB / 0.7038 GB, free: 3.711 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01484/0.3024, allocations: 4.44 MB / 0.7081 GB, free: 15.26 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.967e-05/0.3025, allocations: 16 kB / 0.7082 GB, free: 15.24 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.3025, allocations: 0 / 0.7082 GB, free: 15.24 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.786e-05/0.3025, allocations: 11.92 kB / 0.7082 GB, free: 15.23 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01761/0.3201, allocations: 6.07 MB / 0.7141 GB, free: 9.02 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.304e-05/0.3202, allocations: 0 / 0.7141 GB, free: 9.02 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005244/0.3207, allocations: 99.77 kB / 0.7142 GB, free: 8.922 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007603/0.3283, allocations: 2.158 MB / 0.7163 GB, free: 6.758 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002098/0.3286, allocations: 20 kB / 0.7163 GB, free: 6.738 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02596/0.3545, allocations: 9.956 MB / 0.726 GB, free: 12.63 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.3546, allocations: 0 / 0.726 GB, free: 12.63 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01764/0.3722, allocations: 5.516 MB / 0.7314 GB, free: 7.094 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004949/0.3728, allocations: 220.1 kB / 0.7316 GB, free: 6.859 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003436/0.3731, allocations: 16 kB / 0.7317 GB, free: 6.844 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001335/0.3745, allocations: 111.9 kB / 0.7318 GB, free: 6.734 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007817/0.3753, allocations: 233 kB / 0.732 GB, free: 6.508 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000134/0.3754, allocations: 27.98 kB / 0.732 GB, free: 6.48 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0009918/0.3764, allocations: 0.6304 MB / 0.7326 GB, free: 5.84 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.7e-07/0.3764, allocations: 0 / 0.7326 GB, free: 5.84 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001688/0.3781, allocations: 455.7 kB / 0.7331 GB, free: 5.395 MB / 0.5294 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.0175/0.3956, allocations: 6.078 MB / 0.739 GB, free: 15.28 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.008086/0.4038, allocations: 2.568 MB / 0.7415 GB, free: 12.7 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 5.961e-06/0.4038, allocations: 0 / 0.7415 GB, free: 12.7 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.005949/0.4098, allocations: 1.772 MB / 0.7432 GB, free: 10.91 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001157/0.4109, allocations: 104.2 kB / 0.7433 GB, free: 10.8 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04305/0.454, allocations: 16.25 MB / 0.7592 GB, free: 10.33 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008473/0.4549, allocations: 1.084 MB / 0.7603 GB, free: 9.215 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.000416/0.4553, allocations: 90.95 kB / 0.7603 GB, free: 9.121 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006489/0.456, allocations: 423.3 kB / 0.7607 GB, free: 8.707 MB / 0.5606 GB Notification: Performance of SimCode: time 1.022e-06/0.456, allocations: 4 kB / 0.7607 GB, free: 8.703 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3728/0.8288, allocations: 38.53 MB / 0.7984 GB, free: 104.3 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.23/14.06, allocations: 8.375 kB / 0.7984 GB, free: 104.3 MB / 0.5606 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 & python3 -m fmpy simulate --output-file OpenIPSL_dev_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_dev_OpenIPSL_Tests_Machines_PSSE_GENCLS.fmu > OpenIPSL_dev_OpenIPSL.Tests.Machines.PSSE.GENCLS.pipe 2>&1)