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.07762/0.07762, allocations: 12.59 MB / 28.22 MB, free: 0.7266 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.001025/0.001025, allocations: 107.4 kB / 31.83 MB, free: 3.875 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.266/1.266, 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.001374/0.001374, allocations: 198.9 kB / 290.7 MB, free: 10.94 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4269/0.4269, allocations: 78.51 MB / 419.3 MB, free: 10.75 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.002592/0.002592, allocations: 131.8 kB / 0.5554 GB, free: 17.81 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1276/0.1302, allocations: 68.12 MB / 0.6219 GB, free: 13.66 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSSE.GENCLS): time 0.006453/0.1367, allocations: 6.212 MB / 0.628 GB, free: 7.414 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003651/0.1404, allocations: 1.826 MB / 0.6298 GB, free: 5.582 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004904/0.1409, allocations: 8 kB / 0.6298 GB, free: 5.574 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005364/0.1414, allocations: 246 kB / 0.63 GB, free: 5.332 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001818/0.1432, allocations: 0.8544 MB / 0.6308 GB, free: 4.477 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00138/0.1446, allocations: 0.6387 MB / 0.6315 GB, free: 3.844 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001864/0.1465, allocations: 1.639 MB / 0.6331 GB, free: 2.199 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004256/0.1469, allocations: 295.7 kB / 0.6333 GB, free: 1.898 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006105/0.1476, allocations: 0.6147 MB / 0.6339 GB, free: 1.281 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008062/0.1484, allocations: 0.7975 MB / 0.6347 GB, free: 492 kB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00015/0.1485, allocations: 120 kB / 0.6348 GB, free: 372 kB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003988/0.1489, allocations: 235.9 kB / 0.6351 GB, free: 136 kB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002623/0.1492, allocations: 310.7 kB / 0.6354 GB, free: 15.83 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005243/0.1497, allocations: 0.6409 MB / 0.636 GB, free: 15.18 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001469/0.1512, allocations: 1.568 MB / 0.6375 GB, free: 13.61 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.1512, allocations: 0 / 0.6375 GB, free: 13.61 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.1512, allocations: 0 / 0.6375 GB, free: 13.61 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.627e-05/0.1513, allocations: 0 / 0.6375 GB, free: 13.61 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.008461/0.1597, allocations: 2.667 MB / 0.6401 GB, free: 10.89 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.931e-05/0.1598, allocations: 11.98 kB / 0.6401 GB, free: 10.88 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001464/0.1599, allocations: 126.5 kB / 0.6402 GB, free: 10.74 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004234/0.1642, allocations: 0.6782 MB / 0.6409 GB, free: 10.06 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001187/0.1654, allocations: 0.8196 MB / 0.6417 GB, free: 9.188 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003682/0.1658, allocations: 345.3 kB / 0.642 GB, free: 8.793 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001504/0.1659, allocations: 75.95 kB / 0.6421 GB, free: 8.719 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002296/0.1682, allocations: 1.141 MB / 0.6432 GB, free: 7.566 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.722e-05/0.1682, allocations: 0 / 0.6432 GB, free: 7.566 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.903e-05/0.1684, allocations: 35.98 kB / 0.6433 GB, free: 7.531 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.831e-05/0.1684, allocations: 20 kB / 0.6433 GB, free: 7.512 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002334/0.1707, allocations: 1.081 MB / 0.6443 GB, free: 6.43 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.006204/0.1769, allocations: 3.587 MB / 0.6478 GB, free: 2.672 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007622/0.1846, allocations: 2.518 MB / 0.6503 GB, free: 24 kB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001667/0.1863, allocations: 0.7855 MB / 0.6511 GB, free: 15.23 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001026/0.1864, allocations: 13 kB / 0.6511 GB, free: 15.21 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.114e-05/0.1864, allocations: 47.5 kB / 0.6511 GB, free: 15.16 MB / 478.1 MB Notification: Performance of pre-optimization done (n=97): time 2.815e-06/0.1864, allocations: 0 / 0.6511 GB, free: 15.16 MB / 478.1 MB Notification: Performance of matching and sorting (n=97): time 0.03972/0.2262, allocations: 9.407 MB / 0.6603 GB, free: 5.719 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.778e-05/0.2263, allocations: 90.05 kB / 0.6604 GB, free: 5.613 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001263/0.2275, allocations: 0.9087 MB / 0.6613 GB, free: 4.684 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001801/0.2277, allocations: 41.7 kB / 0.6613 GB, free: 4.637 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003586/0.2281, allocations: 469.2 kB / 0.6618 GB, free: 4.172 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004891/0.2286, allocations: 364.8 kB / 0.6621 GB, free: 3.812 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003693/0.229, allocations: 174.9 kB / 0.6623 GB, free: 3.633 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001382/0.2291, allocations: 345.9 kB / 0.6626 GB, free: 3.289 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001576/0.2307, allocations: 0.6701 MB / 0.6633 GB, free: 2.621 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001655/0.2324, allocations: 0.8237 MB / 0.6641 GB, free: 1.746 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00317/0.2355, allocations: 1.528 MB / 0.6656 GB, free: 164 kB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.091e-06/0.2356, allocations: 7.938 kB / 0.6656 GB, free: 156 kB / 478.1 MB Notification: Performance of matching and sorting (n=129) (initialization): time 0.01599/0.2516, allocations: 4.544 MB / 0.67 GB, free: 11.59 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.856e-05/0.2516, allocations: 12 kB / 0.67 GB, free: 11.58 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.255e-05/0.2516, allocations: 4 kB / 0.67 GB, free: 11.58 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008129/0.2598, allocations: 2.345 MB / 0.6723 GB, free: 9.23 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007659/0.2606, allocations: 143.7 kB / 0.6725 GB, free: 9.09 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.312/0.5726, allocations: 11.31 MB / 0.6835 GB, free: 50.12 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001661/0.5743, allocations: 164.3 kB / 0.6837 GB, free: 50.12 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001078/0.5744, allocations: 45.08 kB / 0.6837 GB, free: 50.12 MB / 494.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.0004458/0.5748, allocations: 228.6 kB / 0.6839 GB, free: 50.01 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002649/0.5751, allocations: 121.8 kB / 0.684 GB, free: 50.01 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01656/0.5917, allocations: 4.435 MB / 0.6884 GB, free: 49.91 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.73e-05/0.5918, allocations: 17.98 kB / 0.6884 GB, free: 49.91 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.655e-06/0.5918, allocations: 4.594 kB / 0.6884 GB, free: 49.91 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.264e-05/0.5918, allocations: 8.828 kB / 0.6884 GB, free: 49.91 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01889/0.6107, allocations: 6.072 MB / 0.6943 GB, free: 48.32 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.572e-05/0.6108, allocations: 1.125 kB / 0.6943 GB, free: 48.32 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005266/0.6113, allocations: 88.42 kB / 0.6944 GB, free: 48.31 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007755/0.6191, allocations: 2.163 MB / 0.6965 GB, free: 48.02 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002076/0.6193, allocations: 25.69 kB / 0.6965 GB, free: 48 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02539/0.6447, allocations: 9.954 MB / 0.7063 GB, free: 43.46 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.987e-06/0.6448, allocations: 1.312 kB / 0.7063 GB, free: 43.46 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0163/0.6611, allocations: 5.517 MB / 0.7117 GB, free: 41.17 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004219/0.6615, allocations: 225.7 kB / 0.7119 GB, free: 40.97 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001795/0.6617, allocations: 15.97 kB / 0.7119 GB, free: 40.96 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001138/0.6629, allocations: 102.9 kB / 0.712 GB, free: 40.91 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006951/0.6636, allocations: 231.9 kB / 0.7122 GB, free: 40.77 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.728e-05/0.6637, allocations: 23.62 kB / 0.7122 GB, free: 40.77 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0007278/0.6644, allocations: 0.6253 MB / 0.7128 GB, free: 40.4 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.6644, allocations: 0.9375 kB / 0.7128 GB, free: 40.4 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001353/0.6658, allocations: 461 kB / 0.7133 GB, free: 40.34 MB / 494.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.01609/0.6819, allocations: 6.092 MB / 0.7192 GB, free: 35.86 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.007278/0.6892, allocations: 2.564 MB / 0.7217 GB, free: 33.29 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 5.891e-06/0.6892, allocations: 6.344 kB / 0.7217 GB, free: 33.29 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005465/0.6947, allocations: 1.772 MB / 0.7235 GB, free: 31.5 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001064/0.6958, allocations: 100.2 kB / 0.7236 GB, free: 31.4 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03775/0.7336, allocations: 16.24 MB / 0.7394 GB, free: 14.96 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004685/0.7341, allocations: 1.087 MB / 0.7405 GB, free: 13.84 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0004187/0.7345, allocations: 90.97 kB / 0.7406 GB, free: 13.75 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004943/0.735, allocations: 427.3 kB / 0.741 GB, free: 13.33 MB / 494.1 MB Notification: Performance of SimCode: time 1.112e-06/0.735, allocations: 0 / 0.741 GB, free: 13.33 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07414/0.8092, allocations: 38.54 MB / 0.7786 GB, free: 6.836 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.2/14.01, allocations: 17.45 kB / 0.7786 GB, free: 6.82 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)