Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSSE.GENROE.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.GENROE,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSSE_GENROE",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSSE.GENROE,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSSE_GENROE",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.07711/0.07711, allocations: 12.59 MB / 28.22 MB, free: 0.7383 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.001013/0.001013, allocations: 111.4 kB / 31.84 MB, free: 3.887 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.281/1.281, allocations: 205.1 MB / 240.4 MB, free: 12.38 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.001452/0.001452, allocations: 195.7 kB / 290.7 MB, free: 13.4 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4475/0.4475, allocations: 78.52 MB / 419.3 MB, free: 11.26 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.002632/0.002632, allocations: 139.3 kB / 0.5554 GB, free: 28.8 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.133/0.1357, allocations: 68.13 MB / 0.6219 GB, free: 15.95 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSSE.GENROE): time 0.007656/0.1434, allocations: 7.259 MB / 0.629 GB, free: 8.66 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.004689/0.1481, allocations: 2.28 MB / 0.6312 GB, free: 6.367 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007698/0.1489, allocations: 12 kB / 0.6312 GB, free: 6.355 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000654/0.1496, allocations: 277.7 kB / 0.6315 GB, free: 6.082 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00298/0.1526, allocations: 1.204 MB / 0.6327 GB, free: 4.879 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00131/0.1539, allocations: 0.577 MB / 0.6332 GB, free: 4.309 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002187/0.1561, allocations: 1.975 MB / 0.6352 GB, free: 2.328 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004742/0.1566, allocations: 328.1 kB / 0.6355 GB, free: 1.984 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000894/0.1575, allocations: 0.7509 MB / 0.6362 GB, free: 1.23 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001126/0.1586, allocations: 0.9921 MB / 0.6372 GB, free: 240 kB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002312/0.1589, allocations: 148 kB / 0.6373 GB, free: 92 kB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007179/0.1596, allocations: 331.8 kB / 0.6376 GB, free: 15.77 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000353/0.16, allocations: 386.5 kB / 0.638 GB, free: 15.39 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006963/0.1607, allocations: 0.7769 MB / 0.6388 GB, free: 14.61 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002012/0.1627, allocations: 1.914 MB / 0.6406 GB, free: 12.68 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.1627, allocations: 0 / 0.6406 GB, free: 12.68 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.223e-06/0.1627, allocations: 0 / 0.6406 GB, free: 12.68 MB / 462.1 MB Notification: Performance of Transformations before backend: time 2.794e-05/0.1628, allocations: 0 / 0.6406 GB, free: 12.68 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: 202 * Number of variables: 202 Notification: Performance of Generate backend data structure: time 0.01333/0.1761, allocations: 3.596 MB / 0.6441 GB, free: 9.027 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.41e-05/0.1761, allocations: 15.98 kB / 0.6442 GB, free: 9.012 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001742/0.1763, allocations: 134.9 kB / 0.6443 GB, free: 8.871 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004564/0.1809, allocations: 0.7288 MB / 0.645 GB, free: 8.141 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001619/0.1825, allocations: 0.9667 MB / 0.6459 GB, free: 7.121 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003845/0.1829, allocations: 357.2 kB / 0.6463 GB, free: 6.719 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002073/0.1832, allocations: 95.89 kB / 0.6464 GB, free: 6.625 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002558/0.1857, allocations: 1.25 MB / 0.6476 GB, free: 5.359 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.171e-05/0.1858, allocations: 0 / 0.6476 GB, free: 5.359 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001031/0.1859, allocations: 32 kB / 0.6476 GB, free: 5.328 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.018e-05/0.1859, allocations: 23.98 kB / 0.6477 GB, free: 5.305 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002586/0.1885, allocations: 1.183 MB / 0.6488 GB, free: 4.125 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.007492/0.196, allocations: 4.167 MB / 0.6529 GB, free: 15.76 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007856/0.2039, allocations: 2.695 MB / 0.6555 GB, free: 12.93 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001903/0.2058, allocations: 0.8362 MB / 0.6563 GB, free: 12.09 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001146/0.2059, allocations: 20.97 kB / 0.6563 GB, free: 12.07 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.61e-05/0.206, allocations: 43.56 kB / 0.6564 GB, free: 12.02 MB / 478.1 MB Notification: Performance of pre-optimization done (n=111): time 3.467e-06/0.206, allocations: 4 kB / 0.6564 GB, free: 12.02 MB / 478.1 MB Notification: Performance of matching and sorting (n=111): time 0.04121/0.2472, allocations: 9.84 MB / 0.666 GB, free: 2.141 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.482e-05/0.2473, allocations: 94.05 kB / 0.6661 GB, free: 2.031 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001706/0.249, allocations: 1.161 MB / 0.6672 GB, free: 0.8594 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002461/0.2493, allocations: 49.7 kB / 0.6673 GB, free: 0.8047 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003965/0.2497, allocations: 0.5099 MB / 0.6678 GB, free: 296 kB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004609/0.2502, allocations: 436.5 kB / 0.6682 GB, free: 15.86 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005359/0.2507, allocations: 291.5 kB / 0.6685 GB, free: 15.57 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.626e-05/0.2508, allocations: 301.1 kB / 0.6688 GB, free: 15.27 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001954/0.2528, allocations: 0.8823 MB / 0.6696 GB, free: 14.39 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002071/0.2549, allocations: 1.069 MB / 0.6707 GB, free: 13.27 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003882/0.2588, allocations: 1.921 MB / 0.6725 GB, free: 11.31 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.618e-06/0.2588, allocations: 7.938 kB / 0.6725 GB, free: 11.3 MB / 494.1 MB Notification: Performance of matching and sorting (n=205) (initialization): time 0.01668/0.2755, allocations: 5.138 MB / 0.6776 GB, free: 6.148 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.876e-05/0.2755, allocations: 8 kB / 0.6776 GB, free: 6.141 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.387e-05/0.2756, allocations: 4.312 kB / 0.6776 GB, free: 6.137 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009809/0.2854, allocations: 2.667 MB / 0.6802 GB, free: 3.469 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001316/0.2867, allocations: 255.6 kB / 0.6804 GB, free: 3.219 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006511/0.2933, allocations: 2.695 MB / 0.683 GB, free: 0.4922 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002236/0.2955, allocations: 211 kB / 0.6833 GB, free: 292 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001463/0.2957, allocations: 51.98 kB / 0.6833 GB, free: 240 kB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (150): * Single equations (assignments): 149 * 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 {(30,26)} Notification: Performance of prepare postOptimizeDAE: time 0.0005704/0.2963, allocations: 261.6 kB / 0.6835 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003097/0.2966, allocations: 151.1 kB / 0.6837 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01542/0.312, allocations: 4.602 MB / 0.6882 GB, free: 11.19 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.096e-05/0.3121, allocations: 12 kB / 0.6882 GB, free: 11.18 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.246e-06/0.3121, allocations: 0 / 0.6882 GB, free: 11.18 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-05/0.3121, allocations: 3.984 kB / 0.6882 GB, free: 11.18 MB / 0.4981 GB 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 postOpt removeSimpleEquations (simulation): time 0.01812/0.3303, allocations: 6.428 MB / 0.6945 GB, free: 4.617 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.692e-05/0.3303, allocations: 4 kB / 0.6945 GB, free: 4.613 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000719/0.331, allocations: 119.8 kB / 0.6946 GB, free: 4.496 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00761/0.3387, allocations: 2.134 MB / 0.6967 GB, free: 2.359 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000206/0.3389, allocations: 27.98 kB / 0.6967 GB, free: 2.332 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02691/0.3658, allocations: 10.08 MB / 0.7065 GB, free: 8.113 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/0.3659, allocations: 0 / 0.7065 GB, free: 8.113 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01805/0.3839, allocations: 5.747 MB / 0.7122 GB, free: 2.34 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005396/0.3845, allocations: 255.8 kB / 0.7124 GB, free: 2.07 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004312/0.3849, allocations: 20 kB / 0.7124 GB, free: 2.051 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001575/0.3865, allocations: 107.9 kB / 0.7125 GB, free: 1.945 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000805/0.3873, allocations: 241.1 kB / 0.7128 GB, free: 1.711 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001365/0.3875, allocations: 24 kB / 0.7128 GB, free: 1.688 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001225/0.3887, allocations: 0.7882 MB / 0.7136 GB, free: 0.8945 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.81e-07/0.3887, allocations: 0 / 0.7136 GB, free: 0.8945 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001652/0.3904, allocations: 483.7 kB / 0.714 GB, free: 432 kB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 9 (gENCLS.delta,gENCLS.eq,gENROE.w,gENROE.delta,gENROE.Epd,gENROE.Epq,gENROE.PSIkd,gENROE.PSIkq,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 (68): * Single equations (assignments): 67 * 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 {(26,23)} Notification: Performance of Backend phase and start with SimCode phase: time 0.271/0.6614, allocations: 6.329 MB / 0.7202 GB, free: 84.84 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.008748/0.6702, allocations: 2.647 MB / 0.7228 GB, free: 84.29 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 5.03e-06/0.6702, allocations: 3.844 kB / 0.7228 GB, free: 84.29 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0062/0.6764, allocations: 1.836 MB / 0.7246 GB, free: 83.7 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001163/0.6776, allocations: 114 kB / 0.7247 GB, free: 83.61 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03821/0.7158, allocations: 17.15 MB / 0.7414 GB, free: 76.95 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005217/0.7164, allocations: 1.139 MB / 0.7425 GB, free: 76.22 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0004781/0.7169, allocations: 113.1 kB / 0.7427 GB, free: 76.2 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005947/0.7175, allocations: 0.5 MB / 0.7431 GB, free: 75.8 MB / 0.5137 GB Notification: Performance of SimCode: time 1.453e-06/0.7175, allocations: 0 / 0.7431 GB, free: 75.8 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05883/0.7763, allocations: 38.64 MB / 0.7809 GB, free: 38.44 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.65/14.42, allocations: 11.39 kB / 0.7809 GB, free: 38.43 MB / 0.5137 GB (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSSE.GENROE.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSSE.GENROE.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSSE.GENROE.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSSE.GENROE.sim & python3 -m fmpy simulate --output-file OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSSE.GENROE_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_GENROE.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSSE.GENROE.pipe 2>&1)