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.006815/0.006815, allocations: 101 kB / 15.73 MB, free: 6.055 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.436/1.436, allocations: 222.9 MB / 239.4 MB, free: 4.531 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.001419/0.001419, allocations: 180.5 kB / 289.7 MB, free: 2.25 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5136/0.5136, allocations: 91.9 MB / 431.8 MB, free: 9.184 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002205/0.002205, allocations: 81.75 kB / 0.5723 GB, free: 33.66 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1122/0.1145, allocations: 71.28 MB / 0.6419 GB, free: 4.098 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSSE.GENCLS): time 0.006966/0.1215, allocations: 6.192 MB / 0.6479 GB, free: 13.87 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.003828/0.1253, allocations: 1.86 MB / 0.6497 GB, free: 12.01 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004782/0.1258, allocations: 8 kB / 0.6497 GB, free: 12 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005357/0.1264, allocations: 242 kB / 0.65 GB, free: 11.76 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001308/0.1277, allocations: 0.5967 MB / 0.6505 GB, free: 11.16 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001729/0.1294, allocations: 0.8129 MB / 0.6513 GB, free: 10.36 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001694/0.1312, allocations: 1.514 MB / 0.6528 GB, free: 8.836 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004352/0.1316, allocations: 287.8 kB / 0.6531 GB, free: 8.543 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007225/0.1323, allocations: 0.6186 MB / 0.6537 GB, free: 7.922 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009299/0.1333, allocations: 0.7896 MB / 0.6545 GB, free: 7.129 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001748/0.1335, allocations: 116 kB / 0.6546 GB, free: 7.016 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004205/0.1339, allocations: 239.9 kB / 0.6548 GB, free: 6.781 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002593/0.1341, allocations: 298.8 kB / 0.6551 GB, free: 6.488 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005741/0.1347, allocations: 0.6331 MB / 0.6557 GB, free: 5.852 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001702/0.1364, allocations: 1.564 MB / 0.6572 GB, free: 4.281 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.1365, allocations: 0 / 0.6572 GB, free: 4.281 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.1365, allocations: 0 / 0.6572 GB, free: 4.281 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.84e-05/0.1365, allocations: 0 / 0.6572 GB, free: 4.281 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.008536/0.145, allocations: 2.648 MB / 0.6598 GB, free: 1.578 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.769e-05/0.1451, allocations: 19.95 kB / 0.6598 GB, free: 1.559 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001871/0.1453, allocations: 118.5 kB / 0.66 GB, free: 1.434 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004193/0.1495, allocations: 0.686 MB / 0.6606 GB, free: 0.7461 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001342/0.1508, allocations: 0.8196 MB / 0.6614 GB, free: 15.87 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004163/0.1513, allocations: 341.3 kB / 0.6618 GB, free: 15.48 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001579/0.1514, allocations: 75.94 kB / 0.6618 GB, free: 15.41 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002342/0.1538, allocations: 1.141 MB / 0.6629 GB, free: 14.25 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.678e-05/0.1538, allocations: 0 / 0.6629 GB, free: 14.25 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.911e-05/0.1539, allocations: 32 kB / 0.663 GB, free: 14.22 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.735e-05/0.1539, allocations: 16 kB / 0.663 GB, free: 14.21 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002402/0.1564, allocations: 1.089 MB / 0.664 GB, free: 13.12 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.006569/0.1629, allocations: 3.583 MB / 0.6675 GB, free: 9.359 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007534/0.1705, allocations: 2.516 MB / 0.67 GB, free: 6.715 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001699/0.1722, allocations: 0.786 MB / 0.6708 GB, free: 5.922 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000107/0.1723, allocations: 16.98 kB / 0.6708 GB, free: 5.906 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.384e-05/0.1724, allocations: 43.56 kB / 0.6708 GB, free: 5.855 MB / 478.1 MB Notification: Performance of pre-optimization done (n=97): time 4.539e-06/0.1724, allocations: 3.984 kB / 0.6708 GB, free: 5.852 MB / 478.1 MB Notification: Performance of matching and sorting (n=97): time 0.0402/0.2126, allocations: 9.403 MB / 0.68 GB, free: 12.41 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.483e-05/0.2127, allocations: 86.11 kB / 0.6801 GB, free: 12.31 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001342/0.214, allocations: 0.9048 MB / 0.681 GB, free: 11.38 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001592/0.2142, allocations: 41.7 kB / 0.681 GB, free: 11.34 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003932/0.2146, allocations: 477.2 kB / 0.6815 GB, free: 10.86 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003993/0.215, allocations: 356.8 kB / 0.6818 GB, free: 10.51 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003898/0.2154, allocations: 178.9 kB / 0.682 GB, free: 10.33 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001642/0.2156, allocations: 345.9 kB / 0.6823 GB, free: 9.984 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00156/0.2172, allocations: 0.6662 MB / 0.683 GB, free: 9.32 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001696/0.2189, allocations: 0.8336 MB / 0.6838 GB, free: 8.438 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003287/0.2222, allocations: 1.528 MB / 0.6853 GB, free: 6.855 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.504e-06/0.2222, allocations: 7.938 kB / 0.6853 GB, free: 6.848 MB / 494.1 MB Notification: Performance of matching and sorting (n=129) (initialization): time 0.01572/0.2379, allocations: 4.544 MB / 0.6897 GB, free: 2.293 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.475e-05/0.238, allocations: 12.88 kB / 0.6897 GB, free: 2.281 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.449e-05/0.238, allocations: 4 kB / 0.6897 GB, free: 2.277 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008004/0.246, allocations: 2.345 MB / 0.692 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007472/0.2468, allocations: 135.8 kB / 0.6922 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02939/0.2762, allocations: 11.33 MB / 0.7032 GB, free: 4.309 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001537/0.2778, allocations: 163.3 kB / 0.7034 GB, free: 4.148 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001086/0.2779, allocations: 39.98 kB / 0.7034 GB, free: 4.109 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.000474/0.2784, allocations: 234.7 kB / 0.7036 GB, free: 3.871 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000275/0.2787, allocations: 123.2 kB / 0.7038 GB, free: 3.75 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01496/0.2936, allocations: 4.436 MB / 0.7081 GB, free: 15.3 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.948e-05/0.2937, allocations: 8 kB / 0.7081 GB, free: 15.29 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.309e-05/0.2937, allocations: 4 kB / 0.7081 GB, free: 15.29 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.64e-05/0.2937, allocations: 11.91 kB / 0.7081 GB, free: 15.27 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01772/0.3115, allocations: 6.07 MB / 0.714 GB, free: 9.066 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.759e-05/0.3115, allocations: 0 / 0.714 GB, free: 9.066 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005699/0.3121, allocations: 95.89 kB / 0.7141 GB, free: 8.973 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007539/0.3196, allocations: 2.165 MB / 0.7162 GB, free: 6.801 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001578/0.3198, allocations: 23.94 kB / 0.7163 GB, free: 6.777 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02534/0.3452, allocations: 9.948 MB / 0.726 GB, free: 12.68 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.258e-06/0.3452, allocations: 7.875 kB / 0.726 GB, free: 12.67 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01747/0.3627, allocations: 5.512 MB / 0.7314 GB, free: 7.137 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004058/0.3631, allocations: 228.1 kB / 0.7316 GB, free: 6.895 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002534/0.3634, allocations: 16 kB / 0.7316 GB, free: 6.879 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001261/0.3647, allocations: 99.88 kB / 0.7317 GB, free: 6.781 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007718/0.3655, allocations: 237.1 kB / 0.7319 GB, free: 6.551 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.188e-05/0.3656, allocations: 23.98 kB / 0.732 GB, free: 6.527 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0009509/0.3665, allocations: 0.6187 MB / 0.7326 GB, free: 5.898 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3665, allocations: 0 / 0.7326 GB, free: 5.898 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001548/0.3681, allocations: 463.7 kB / 0.733 GB, free: 5.445 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.01778/0.3859, allocations: 6.086 MB / 0.7389 GB, free: 15.32 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.008163/0.3941, allocations: 2.568 MB / 0.7414 GB, free: 12.75 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.188e-06/0.3941, allocations: 4 kB / 0.7415 GB, free: 12.75 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.005874/0.4, allocations: 1.772 MB / 0.7432 GB, free: 10.95 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001047/0.4011, allocations: 105.3 kB / 0.7433 GB, free: 10.85 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04493/0.446, allocations: 16.25 MB / 0.7592 GB, free: 10.37 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009429/0.447, allocations: 1.084 MB / 0.7602 GB, free: 9.254 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0004396/0.4475, allocations: 86.97 kB / 0.7603 GB, free: 9.164 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006846/0.4482, allocations: 427.3 kB / 0.7607 GB, free: 8.746 MB / 0.5606 GB Notification: Performance of SimCode: time 6.61e-07/0.4482, allocations: 0 / 0.7607 GB, free: 8.746 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.347/0.7952, allocations: 38.53 MB / 0.7983 GB, free: 104.2 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.85/14.64, allocations: 14.67 kB / 0.7983 GB, free: 104.2 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)