Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_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.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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_OpenIPSL_Tests_Machines_PSSE_GENCLS",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSSE.GENCLS,fileNamePrefix="OpenIPSL_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.001153/0.001153, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.356/1.356, allocations: 222.9 MB / 239.3 MB, free: 4.578 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.001413/0.001413, allocations: 192.5 kB / 289.6 MB, free: 2.316 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.449/0.449, allocations: 78.53 MB / 418.2 MB, free: 3.148 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001612/0.001612, allocations: 79.88 kB / 497.6 MB, free: 6.27 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1214/0.123, allocations: 68.18 MB / 0.5525 GB, free: 2.055 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSSE.GENCLS): time 0.2034/0.3265, allocations: 6.167 MB / 0.5585 GB, free: 35.97 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003232/0.3298, allocations: 1.856 MB / 0.5603 GB, free: 35.44 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007309/0.3305, allocations: 10.81 kB / 0.5603 GB, free: 35.44 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006141/0.3312, allocations: 242.7 kB / 0.5605 GB, free: 35.43 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00188/0.3331, allocations: 0.7969 MB / 0.5613 GB, free: 35.26 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001219/0.3343, allocations: 0.6452 MB / 0.562 GB, free: 35.18 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001583/0.3359, allocations: 1.627 MB / 0.5635 GB, free: 35.01 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003826/0.3363, allocations: 284.5 kB / 0.5638 GB, free: 34.96 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006106/0.3369, allocations: 0.6101 MB / 0.5644 GB, free: 34.81 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006791/0.3376, allocations: 0.7992 MB / 0.5652 GB, free: 34.61 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000171/0.3378, allocations: 115.9 kB / 0.5653 GB, free: 34.61 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00045/0.3383, allocations: 241.9 kB / 0.5655 GB, free: 34.6 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001922/0.3385, allocations: 310.3 kB / 0.5658 GB, free: 34.53 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004261/0.3389, allocations: 0.6362 MB / 0.5665 GB, free: 34.3 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00114/0.34, allocations: 1.546 MB / 0.568 GB, free: 33.94 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.3401, allocations: 0 / 0.568 GB, free: 33.94 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.3401, allocations: 0 / 0.568 GB, free: 33.94 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.953e-05/0.3401, allocations: 0 / 0.568 GB, free: 33.94 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.008319/0.3484, allocations: 2.632 MB / 0.5705 GB, free: 33.07 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.578e-05/0.3485, allocations: 12.41 kB / 0.5705 GB, free: 33.07 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000133/0.3486, allocations: 121 kB / 0.5707 GB, free: 33.03 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004145/0.3528, allocations: 0.6774 MB / 0.5713 GB, free: 32.95 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001032/0.3538, allocations: 0.8118 MB / 0.5721 GB, free: 32.55 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002795/0.3541, allocations: 343.2 kB / 0.5724 GB, free: 32.27 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000131/0.3542, allocations: 72.16 kB / 0.5725 GB, free: 32.27 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002048/0.3563, allocations: 1.145 MB / 0.5736 GB, free: 32.18 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.766e-05/0.3563, allocations: 4.969 kB / 0.5736 GB, free: 32.17 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.496e-05/0.3564, allocations: 28.81 kB / 0.5737 GB, free: 32.17 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.184e-05/0.3564, allocations: 18.38 kB / 0.5737 GB, free: 32.17 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002158/0.3586, allocations: 1.085 MB / 0.5747 GB, free: 32.16 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.005635/0.3642, allocations: 3.598 MB / 0.5783 GB, free: 30.82 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007244/0.3715, allocations: 2.525 MB / 0.5807 GB, free: 29.82 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001707/0.3732, allocations: 0.782 MB / 0.5815 GB, free: 29.52 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001214/0.3734, allocations: 16.36 kB / 0.5815 GB, free: 29.51 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.144e-05/0.3734, allocations: 43.81 kB / 0.5815 GB, free: 29.46 MB / 430.1 MB Notification: Performance of pre-optimization done (n=97): time 4.839e-06/0.3734, allocations: 0 / 0.5815 GB, free: 29.46 MB / 430.1 MB Notification: Performance of matching and sorting (n=97): time 0.04179/0.4152, allocations: 9.395 MB / 0.5907 GB, free: 28 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.477e-05/0.4153, allocations: 88.42 kB / 0.5908 GB, free: 27.9 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001296/0.4166, allocations: 0.9093 MB / 0.5917 GB, free: 27.51 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002033/0.4168, allocations: 42.14 kB / 0.5917 GB, free: 27.47 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002766/0.4171, allocations: 471 kB / 0.5922 GB, free: 27.1 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003321/0.4175, allocations: 343.3 kB / 0.5925 GB, free: 26.82 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003809/0.4178, allocations: 171.7 kB / 0.5927 GB, free: 26.74 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 7.654e-05/0.4179, allocations: 347.7 kB / 0.593 GB, free: 26.41 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00162/0.4196, allocations: 0.6698 MB / 0.5937 GB, free: 26.18 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001729/0.4213, allocations: 0.8255 MB / 0.5945 GB, free: 25.8 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00324/0.4245, allocations: 1.531 MB / 0.596 GB, free: 25.07 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.298e-06/0.4246, allocations: 6.312 kB / 0.596 GB, free: 25.07 MB / 430.1 MB Notification: Performance of matching and sorting (n=129) (initialization): time 0.01682/0.4414, allocations: 4.534 MB / 0.6004 GB, free: 24.06 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.684e-05/0.4415, allocations: 10.42 kB / 0.6004 GB, free: 24.05 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.549e-05/0.4415, allocations: 4.219 kB / 0.6004 GB, free: 24.05 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008273/0.4498, allocations: 2.343 MB / 0.6027 GB, free: 23.41 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007313/0.4506, allocations: 144.1 kB / 0.6028 GB, free: 23.37 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0278/0.4784, allocations: 11.34 MB / 0.6139 GB, free: 15.71 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001632/0.48, allocations: 159.1 kB / 0.6141 GB, free: 15.56 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.376e-05/0.4801, allocations: 39.94 kB / 0.6141 GB, free: 15.52 MB / 430.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.0003819/0.4805, allocations: 237.6 kB / 0.6143 GB, free: 15.28 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002234/0.4808, allocations: 118.5 kB / 0.6144 GB, free: 15.16 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01431/0.4951, allocations: 4.43 MB / 0.6188 GB, free: 10.71 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.611e-05/0.4951, allocations: 8 kB / 0.6188 GB, free: 10.7 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.4951, allocations: 8 kB / 0.6188 GB, free: 10.7 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.038e-05/0.4952, allocations: 7.922 kB / 0.6188 GB, free: 10.69 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01627/0.5114, allocations: 6.078 MB / 0.6247 GB, free: 4.477 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.601e-05/0.5115, allocations: 0 / 0.6247 GB, free: 4.477 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005176/0.512, allocations: 95.83 kB / 0.6248 GB, free: 4.383 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007156/0.5192, allocations: 2.168 MB / 0.6269 GB, free: 2.211 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001644/0.5194, allocations: 19.98 kB / 0.6269 GB, free: 2.191 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02536/0.5448, allocations: 9.949 MB / 0.6367 GB, free: 8.086 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/0.5448, allocations: 4 kB / 0.6367 GB, free: 8.082 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01786/0.5627, allocations: 5.506 MB / 0.642 GB, free: 2.551 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004537/0.5632, allocations: 208.1 kB / 0.6422 GB, free: 2.328 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002072/0.5634, allocations: 23.94 kB / 0.6423 GB, free: 2.305 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00122/0.5646, allocations: 103.9 kB / 0.6424 GB, free: 2.203 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000735/0.5654, allocations: 233.1 kB / 0.6426 GB, free: 1.977 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.321e-05/0.5654, allocations: 20 kB / 0.6426 GB, free: 1.957 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.000818/0.5663, allocations: 0.6279 MB / 0.6432 GB, free: 1.32 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.91e-07/0.5663, allocations: 0 / 0.6432 GB, free: 1.32 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001407/0.5677, allocations: 463.5 kB / 0.6437 GB, free: 0.8672 MB / 446.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.01811/0.5858, allocations: 6.087 MB / 0.6496 GB, free: 10.75 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.008673/0.5945, allocations: 2.587 MB / 0.6521 GB, free: 8.152 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.158e-06/0.5945, allocations: 3.938 kB / 0.6521 GB, free: 8.148 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006355/0.6009, allocations: 1.759 MB / 0.6538 GB, free: 6.379 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001176/0.6021, allocations: 100.2 kB / 0.6539 GB, free: 6.281 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04578/0.6479, allocations: 16.75 MB / 0.6703 GB, free: 5.176 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006622/0.6486, allocations: 1.087 MB / 0.6714 GB, free: 4.055 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0004049/0.649, allocations: 91.33 kB / 0.6714 GB, free: 3.965 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005605/0.6496, allocations: 423.8 kB / 0.6719 GB, free: 3.551 MB / 478.1 MB Notification: Performance of SimCode: time 7.11e-07/0.6496, allocations: 4 kB / 0.6719 GB, free: 3.547 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0675/0.7171, allocations: 38.11 MB / 0.7091 GB, free: 13.68 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.59/12.31, allocations: 27.31 kB / 0.7091 GB, free: 13.67 MB / 0.5137 GB (rm -f OpenIPSL_OpenIPSL.Tests.Machines.PSSE.GENCLS.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Machines.PSSE.GENCLS.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Machines.PSSE.GENCLS.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Machines.PSSE.GENCLS.sim & python3 -m fmpy simulate --output-file OpenIPSL_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_OpenIPSL_Tests_Machines_PSSE_GENCLS.fmu > OpenIPSL_OpenIPSL.Tests.Machines.PSSE.GENCLS.pipe 2>&1)