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.001096/0.001096, 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.335/1.335, allocations: 222.9 MB / 239.3 MB, free: 4.637 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.001355/0.001355, allocations: 172.5 kB / 289.5 MB, free: 2.367 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5246/0.5246, allocations: 91.91 MB / 431.6 MB, free: 9.293 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001583/0.001583, allocations: 75.88 kB / 0.502 GB, free: 7.664 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3219/0.3235, allocations: 71.25 MB / 0.5716 GB, free: 36.67 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSSE.GENCLS): time 0.005445/0.329, allocations: 6.19 MB / 0.5776 GB, free: 33 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003164/0.3321, allocations: 1.87 MB / 0.5794 GB, free: 31.84 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006624/0.3328, allocations: 8.344 kB / 0.5794 GB, free: 31.84 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005932/0.3334, allocations: 238.9 kB / 0.5797 GB, free: 31.72 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00147/0.3349, allocations: 0.5895 MB / 0.5803 GB, free: 31.32 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001495/0.3364, allocations: 0.8205 MB / 0.5811 GB, free: 30.89 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001282/0.3377, allocations: 1.507 MB / 0.5825 GB, free: 30.15 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003579/0.3381, allocations: 289 kB / 0.5828 GB, free: 30.04 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005484/0.3387, allocations: 0.6097 MB / 0.5834 GB, free: 29.74 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000669/0.3393, allocations: 0.7908 MB / 0.5842 GB, free: 29.38 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001605/0.3395, allocations: 119.9 kB / 0.5843 GB, free: 29.37 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003996/0.3399, allocations: 230.3 kB / 0.5845 GB, free: 29.34 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001808/0.3401, allocations: 305.6 kB / 0.5848 GB, free: 29.14 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003742/0.3405, allocations: 0.6344 MB / 0.5854 GB, free: 28.72 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001089/0.3416, allocations: 1.54 MB / 0.5869 GB, free: 28.02 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.3416, allocations: 1.156 kB / 0.5869 GB, free: 28.02 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.3416, allocations: 0 / 0.5869 GB, free: 28.02 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.827e-05/0.3416, allocations: 0 / 0.5869 GB, free: 28.02 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.008462/0.3501, allocations: 2.615 MB / 0.5895 GB, free: 26.86 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.778e-05/0.3502, allocations: 8.719 kB / 0.5895 GB, free: 26.86 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001551/0.3503, allocations: 124.4 kB / 0.5896 GB, free: 26.77 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004328/0.3547, allocations: 0.6805 MB / 0.5903 GB, free: 26.63 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001195/0.3559, allocations: 0.807 MB / 0.5911 GB, free: 26.07 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003148/0.3562, allocations: 342.9 kB / 0.5914 GB, free: 25.75 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001436/0.3563, allocations: 71.5 kB / 0.5914 GB, free: 25.73 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002212/0.3586, allocations: 1.141 MB / 0.5926 GB, free: 25.3 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.982e-05/0.3586, allocations: 1.531 kB / 0.5926 GB, free: 25.3 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.566e-05/0.3587, allocations: 28.94 kB / 0.5926 GB, free: 25.28 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.912e-05/0.3587, allocations: 20.47 kB / 0.5926 GB, free: 25.27 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002303/0.361, allocations: 1.087 MB / 0.5937 GB, free: 24.91 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.006445/0.3675, allocations: 3.599 MB / 0.5972 GB, free: 22.82 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00779/0.3753, allocations: 2.524 MB / 0.5996 GB, free: 21.8 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001768/0.3771, allocations: 0.78 MB / 0.6004 GB, free: 21.5 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001205/0.3772, allocations: 20.94 kB / 0.6004 GB, free: 21.48 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.471e-05/0.3773, allocations: 40.16 kB / 0.6005 GB, free: 21.44 MB / 430.1 MB Notification: Performance of pre-optimization done (n=97): time 3.036e-06/0.3773, allocations: 4 kB / 0.6005 GB, free: 21.44 MB / 430.1 MB Notification: Performance of matching and sorting (n=97): time 0.04403/0.4213, allocations: 9.395 MB / 0.6096 GB, free: 19.6 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.865e-05/0.4214, allocations: 87.55 kB / 0.6097 GB, free: 19.5 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001181/0.4226, allocations: 0.9007 MB / 0.6106 GB, free: 18.99 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001895/0.4228, allocations: 45.61 kB / 0.6107 GB, free: 18.95 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002362/0.423, allocations: 466.4 kB / 0.6111 GB, free: 18.54 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002783/0.4233, allocations: 345.6 kB / 0.6114 GB, free: 18.23 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003464/0.4237, allocations: 172.9 kB / 0.6116 GB, free: 18.13 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 5.944e-05/0.4237, allocations: 342.5 kB / 0.6119 GB, free: 17.8 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001582/0.4253, allocations: 0.6728 MB / 0.6126 GB, free: 17.46 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001614/0.4269, allocations: 0.8299 MB / 0.6134 GB, free: 16.96 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003064/0.43, allocations: 1.522 MB / 0.6149 GB, free: 16.11 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.993e-06/0.43, allocations: 5.375 kB / 0.6149 GB, free: 16.1 MB / 430.1 MB Notification: Performance of matching and sorting (n=129) (initialization): time 0.01539/0.4454, allocations: 4.544 MB / 0.6193 GB, free: 13.15 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.625e-05/0.4455, allocations: 4 kB / 0.6193 GB, free: 13.15 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.181e-05/0.4455, allocations: 4 kB / 0.6193 GB, free: 13.14 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007326/0.4529, allocations: 2.353 MB / 0.6216 GB, free: 10.79 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007381/0.4536, allocations: 139.8 kB / 0.6218 GB, free: 10.65 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.027/0.4806, allocations: 11.35 MB / 0.6328 GB, free: 15.16 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002201/0.4829, allocations: 167 kB / 0.633 GB, free: 14.99 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000116/0.483, allocations: 35.98 kB / 0.633 GB, free: 14.96 MB / 446.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.000533/0.4835, allocations: 230.7 kB / 0.6332 GB, free: 14.72 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002686/0.4838, allocations: 118.5 kB / 0.6334 GB, free: 14.61 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0158/0.4996, allocations: 4.436 MB / 0.6377 GB, free: 10.15 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.734e-05/0.4997, allocations: 16 kB / 0.6377 GB, free: 10.14 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.536e-06/0.4997, allocations: 0 / 0.6377 GB, free: 10.14 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.077e-05/0.4997, allocations: 11.91 kB / 0.6377 GB, free: 10.12 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01837/0.5181, allocations: 6.074 MB / 0.6437 GB, free: 3.91 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.131e-05/0.5181, allocations: 0 / 0.6437 GB, free: 3.91 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005232/0.5187, allocations: 91.89 kB / 0.6437 GB, free: 3.82 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007855/0.5265, allocations: 2.169 MB / 0.6459 GB, free: 1.645 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001388/0.5267, allocations: 16 kB / 0.6459 GB, free: 1.629 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0267/0.5534, allocations: 9.962 MB / 0.6556 GB, free: 7.512 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.5535, allocations: 0 / 0.6556 GB, free: 7.512 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0187/0.5722, allocations: 5.505 MB / 0.661 GB, free: 1.984 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005763/0.5728, allocations: 215.5 kB / 0.6612 GB, free: 1.754 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003754/0.5732, allocations: 16 kB / 0.6612 GB, free: 1.738 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001461/0.5747, allocations: 107.9 kB / 0.6613 GB, free: 1.633 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000826/0.5755, allocations: 229.1 kB / 0.6615 GB, free: 1.41 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.48e-05/0.5756, allocations: 27.98 kB / 0.6615 GB, free: 1.383 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0009128/0.5765, allocations: 0.6226 MB / 0.6622 GB, free: 0.75 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5765, allocations: 0 / 0.6622 GB, free: 0.75 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001744/0.5783, allocations: 467.5 kB / 0.6626 GB, free: 300 kB / 462.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.01881/0.5971, allocations: 6.077 MB / 0.6685 GB, free: 10.18 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.008932/0.6061, allocations: 2.592 MB / 0.6711 GB, free: 7.578 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.478e-06/0.6061, allocations: 0 / 0.6711 GB, free: 7.578 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006262/0.6124, allocations: 1.76 MB / 0.6728 GB, free: 5.797 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001215/0.6136, allocations: 113.3 kB / 0.6729 GB, free: 5.691 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04556/0.6592, allocations: 16.74 MB / 0.6892 GB, free: 4.543 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000755/0.66, allocations: 1.088 MB / 0.6903 GB, free: 3.422 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0004326/0.6605, allocations: 90.91 kB / 0.6904 GB, free: 3.328 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000595/0.6611, allocations: 427.3 kB / 0.6908 GB, free: 2.91 MB / 494.1 MB Notification: Performance of SimCode: time 7.32e-07/0.6611, allocations: 0 / 0.6908 GB, free: 2.91 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06971/0.7308, allocations: 38.13 MB / 0.728 GB, free: 12.87 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.61/12.34, allocations: 0.875 kB / 0.728 GB, free: 12.87 MB / 0.5294 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)