Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSSE.GENROU.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.GENROU,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSSE_GENROU",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSSE.GENROU,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSSE_GENROU",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.07876/0.07876, 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.001064/0.001064, allocations: 111.4 kB / 31.84 MB, free: 3.879 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.361/1.361, 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.00143/0.001429, allocations: 188.5 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.4443/0.4443, allocations: 78.51 MB / 419.3 MB, free: 11.23 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.002553/0.002553, allocations: 134.7 kB / 0.5554 GB, free: 28.66 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1213/0.1238, allocations: 68.13 MB / 0.6219 GB, free: 15.94 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSSE.GENROU): time 0.007584/0.1315, allocations: 7.305 MB / 0.629 GB, free: 8.605 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.004416/0.1359, allocations: 2.284 MB / 0.6313 GB, free: 6.309 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00104/0.137, allocations: 8 kB / 0.6313 GB, free: 6.301 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007709/0.1378, allocations: 281.7 kB / 0.6315 GB, free: 6.023 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003029/0.1408, allocations: 1.199 MB / 0.6327 GB, free: 4.824 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001192/0.142, allocations: 0.5685 MB / 0.6333 GB, free: 4.262 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002149/0.1442, allocations: 1.963 MB / 0.6352 GB, free: 2.293 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000454/0.1447, allocations: 328.1 kB / 0.6355 GB, free: 1.949 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000869/0.1455, allocations: 0.7509 MB / 0.6362 GB, free: 1.195 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009759/0.1465, allocations: 0.9882 MB / 0.6372 GB, free: 208 kB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000192/0.1467, allocations: 148 kB / 0.6373 GB, free: 60 kB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006135/0.1473, allocations: 375.8 kB / 0.6377 GB, free: 15.69 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002872/0.1476, allocations: 386.4 kB / 0.6381 GB, free: 15.31 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005872/0.1482, allocations: 0.7691 MB / 0.6388 GB, free: 14.54 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0019/0.1501, allocations: 1.937 MB / 0.6407 GB, free: 12.59 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.598e-06/0.1502, allocations: 0 / 0.6407 GB, free: 12.59 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.1502, allocations: 4 kB / 0.6407 GB, free: 12.59 MB / 462.1 MB Notification: Performance of Transformations before backend: time 2.412e-05/0.1502, allocations: 0 / 0.6407 GB, free: 12.59 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.01269/0.1629, allocations: 3.487 MB / 0.6441 GB, free: 9.043 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.096e-05/0.163, allocations: 19.98 kB / 0.6441 GB, free: 9.023 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002742/0.1632, allocations: 134.9 kB / 0.6443 GB, free: 8.883 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004637/0.1679, allocations: 0.7249 MB / 0.645 GB, free: 8.156 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001781/0.1697, allocations: 0.9668 MB / 0.6459 GB, free: 7.137 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003997/0.1701, allocations: 357.2 kB / 0.6463 GB, free: 6.734 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002766/0.1704, allocations: 99.89 kB / 0.6464 GB, free: 6.637 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002734/0.1732, allocations: 1.243 MB / 0.6476 GB, free: 5.379 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.347e-05/0.1732, allocations: 7.875 kB / 0.6476 GB, free: 5.371 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001159/0.1733, allocations: 32 kB / 0.6476 GB, free: 5.34 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.922e-05/0.1733, allocations: 20 kB / 0.6476 GB, free: 5.32 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00273/0.1761, allocations: 1.183 MB / 0.6488 GB, free: 4.141 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.007474/0.1836, allocations: 4.159 MB / 0.6528 GB, free: 15.79 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007861/0.1914, allocations: 2.695 MB / 0.6555 GB, free: 12.96 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001785/0.1933, allocations: 0.8362 MB / 0.6563 GB, free: 12.12 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001294/0.1934, allocations: 20.98 kB / 0.6563 GB, free: 12.1 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.65e-05/0.1934, allocations: 51.48 kB / 0.6564 GB, free: 12.04 MB / 478.1 MB Notification: Performance of pre-optimization done (n=111): time 4.388e-06/0.1935, allocations: 7.984 kB / 0.6564 GB, free: 12.03 MB / 478.1 MB Notification: Performance of matching and sorting (n=111): time 0.04193/0.2354, allocations: 9.832 MB / 0.666 GB, free: 2.16 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.759e-05/0.2355, allocations: 90.11 kB / 0.6661 GB, free: 2.055 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001861/0.2374, allocations: 1.169 MB / 0.6672 GB, free: 0.875 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002758/0.2377, allocations: 49.7 kB / 0.6672 GB, free: 0.8203 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004151/0.2381, allocations: 0.5099 MB / 0.6677 GB, free: 312 kB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005657/0.2387, allocations: 428.5 kB / 0.6681 GB, free: 15.88 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007385/0.2394, allocations: 291.5 kB / 0.6684 GB, free: 15.59 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.867e-05/0.2395, allocations: 305.1 kB / 0.6687 GB, free: 15.29 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002017/0.2415, allocations: 0.8784 MB / 0.6696 GB, free: 14.41 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002119/0.2437, allocations: 1.076 MB / 0.6706 GB, free: 13.29 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004087/0.2478, allocations: 1.921 MB / 0.6725 GB, free: 11.32 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.013e-05/0.2478, allocations: 0 / 0.6725 GB, free: 11.32 MB / 494.1 MB Notification: Performance of matching and sorting (n=205) (initialization): time 0.01692/0.2647, allocations: 5.145 MB / 0.6775 GB, free: 6.164 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.098e-05/0.2648, allocations: 11.98 kB / 0.6775 GB, free: 6.152 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.53e-05/0.2648, allocations: 4.312 kB / 0.6775 GB, free: 6.148 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009413/0.2743, allocations: 2.636 MB / 0.6801 GB, free: 3.512 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001264/0.2755, allocations: 251.6 kB / 0.6804 GB, free: 3.266 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006604/0.2822, allocations: 2.699 MB / 0.683 GB, free: 0.5352 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002119/0.2843, allocations: 207 kB / 0.6832 GB, free: 340 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002232/0.2846, allocations: 55.98 kB / 0.6832 GB, free: 284 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.0006148/0.2852, allocations: 261.6 kB / 0.6835 GB, free: 12 kB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000416/0.2856, allocations: 143.2 kB / 0.6836 GB, free: 15.87 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01572/0.3013, allocations: 4.598 MB / 0.6881 GB, free: 11.25 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-05/0.3014, allocations: 12 kB / 0.6881 GB, free: 11.24 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.748e-06/0.3014, allocations: 0 / 0.6881 GB, free: 11.24 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.671e-05/0.3015, allocations: 11.97 kB / 0.6881 GB, free: 11.23 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.01839/0.3198, allocations: 6.428 MB / 0.6944 GB, free: 4.664 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.27e-05/0.3199, allocations: 0 / 0.6944 GB, free: 4.664 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006981/0.3206, allocations: 115.9 kB / 0.6945 GB, free: 4.551 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007612/0.3282, allocations: 2.142 MB / 0.6966 GB, free: 2.406 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002372/0.3285, allocations: 23.98 kB / 0.6966 GB, free: 2.383 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02641/0.3549, allocations: 10.07 MB / 0.7065 GB, free: 8.176 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.44e-06/0.355, allocations: 7.875 kB / 0.7065 GB, free: 8.168 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01867/0.3736, allocations: 5.751 MB / 0.7121 GB, free: 2.391 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006063/0.3743, allocations: 243.9 kB / 0.7123 GB, free: 2.133 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004945/0.3748, allocations: 19.98 kB / 0.7124 GB, free: 2.113 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001668/0.3765, allocations: 107.9 kB / 0.7125 GB, free: 2.008 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008653/0.3774, allocations: 245.2 kB / 0.7127 GB, free: 1.77 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001686/0.3775, allocations: 31.94 kB / 0.7127 GB, free: 1.738 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001299/0.3789, allocations: 0.7843 MB / 0.7135 GB, free: 0.9492 MB / 0.5137 GB Notification: Performance of sort global known variables: time 3.61e-07/0.3789, allocations: 0 / 0.7135 GB, free: 0.9492 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001849/0.3807, allocations: 0.4917 MB / 0.714 GB, free: 468 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,gENROU.w,gENROU.delta,gENROU.Epd,gENROU.Epq,gENROU.PSIkd,gENROU.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.3174/0.6982, allocations: 6.325 MB / 0.7201 GB, free: 84.84 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.008724/0.707, allocations: 2.642 MB / 0.7227 GB, free: 84.3 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 5.48e-06/0.707, allocations: 4.406 kB / 0.7227 GB, free: 84.3 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.00605/0.7131, allocations: 1.838 MB / 0.7245 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.001118/0.7142, allocations: 115.1 kB / 0.7246 GB, free: 83.62 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03855/0.7528, 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.0004689/0.7533, allocations: 1.145 MB / 0.7425 GB, free: 76.22 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0004375/0.7537, allocations: 113.3 kB / 0.7426 GB, free: 76.19 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005441/0.7543, allocations: 0.5012 MB / 0.7431 GB, free: 75.8 MB / 0.5137 GB Notification: Performance of SimCode: time 9.32e-07/0.7543, allocations: 0 / 0.7431 GB, free: 75.8 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05632/0.8106, allocations: 38.69 MB / 0.7809 GB, free: 38.38 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.83/14.64, allocations: 12.33 kB / 0.7809 GB, free: 38.38 MB / 0.5137 GB (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSSE.GENROU.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSSE.GENROU.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSSE.GENROU.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSSE.GENROU.sim & python3 -m fmpy simulate --output-file OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSSE.GENROU_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_GENROU.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSSE.GENROU.pipe 2>&1)