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.07468/0.07468, allocations: 12.59 MB / 28.22 MB, free: 0.7656 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.001137/0.001137, allocations: 111.4 kB / 31.84 MB, free: 3.891 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.257/1.257, allocations: 205.1 MB / 240.4 MB, free: 12.36 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.001371/0.001371, allocations: 187.4 kB / 290.7 MB, free: 13.39 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4157/0.4157, allocations: 78.52 MB / 419.3 MB, free: 11.25 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.003602/0.003602, allocations: 143.7 kB / 0.5554 GB, free: 28.7 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1016/0.1052, allocations: 68.13 MB / 0.6219 GB, free: 15.95 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSSE.GENROU): time 0.008153/0.1134, allocations: 7.309 MB / 0.629 GB, free: 8.613 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.004483/0.1179, allocations: 2.272 MB / 0.6313 GB, free: 6.328 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005637/0.1185, allocations: 12 kB / 0.6313 GB, free: 6.316 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006305/0.1192, allocations: 277.7 kB / 0.6315 GB, free: 6.043 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00255/0.1217, allocations: 1.139 MB / 0.6327 GB, free: 4.902 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00117/0.1229, allocations: 0.5804 MB / 0.6332 GB, free: 4.328 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002109/0.125, allocations: 1.967 MB / 0.6351 GB, free: 2.355 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004439/0.1255, allocations: 320.2 kB / 0.6354 GB, free: 2.02 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007871/0.1263, allocations: 0.751 MB / 0.6362 GB, free: 1.266 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001134/0.1274, allocations: 0.992 MB / 0.6371 GB, free: 276 kB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002181/0.1276, allocations: 148 kB / 0.6373 GB, free: 128 kB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000652/0.1283, allocations: 379.7 kB / 0.6377 GB, free: 15.75 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003352/0.1286, allocations: 378.5 kB / 0.638 GB, free: 15.38 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006885/0.1293, allocations: 0.7769 MB / 0.6388 GB, free: 14.6 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002067/0.1314, allocations: 1.926 MB / 0.6407 GB, free: 12.67 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.1314, allocations: 0 / 0.6407 GB, free: 12.67 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.422e-06/0.1314, allocations: 0 / 0.6407 GB, free: 12.67 MB / 462.1 MB Notification: Performance of Transformations before backend: time 2.144e-05/0.1315, allocations: 0 / 0.6407 GB, free: 12.67 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.01252/0.144, allocations: 3.495 MB / 0.6441 GB, free: 9.113 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.69e-05/0.1441, allocations: 15.97 kB / 0.6441 GB, free: 9.098 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001682/0.1442, allocations: 138.8 kB / 0.6442 GB, free: 8.953 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004444/0.1487, allocations: 0.7288 MB / 0.6449 GB, free: 8.223 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001534/0.1502, allocations: 0.959 MB / 0.6459 GB, free: 7.211 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004272/0.1507, allocations: 361.2 kB / 0.6462 GB, free: 6.805 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001936/0.1509, allocations: 99.89 kB / 0.6463 GB, free: 6.707 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002625/0.1535, allocations: 1.239 MB / 0.6475 GB, free: 5.453 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.058e-05/0.1535, allocations: 0 / 0.6475 GB, free: 5.453 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001004/0.1537, allocations: 32 kB / 0.6475 GB, free: 5.422 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.168e-05/0.1537, allocations: 20 kB / 0.6476 GB, free: 5.402 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002688/0.1564, allocations: 1.187 MB / 0.6487 GB, free: 4.219 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.007421/0.1638, allocations: 4.163 MB / 0.6528 GB, free: 15.86 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008266/0.1721, allocations: 2.691 MB / 0.6554 GB, free: 13.04 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001787/0.1739, allocations: 0.8479 MB / 0.6562 GB, free: 12.18 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001242/0.174, allocations: 20.98 kB / 0.6563 GB, free: 12.16 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.507e-05/0.1741, allocations: 47.5 kB / 0.6563 GB, free: 12.11 MB / 478.1 MB Notification: Performance of pre-optimization done (n=111): time 2.555e-06/0.1741, allocations: 0 / 0.6563 GB, free: 12.11 MB / 478.1 MB Notification: Performance of matching and sorting (n=111): time 0.04247/0.2165, allocations: 9.836 MB / 0.6659 GB, free: 2.234 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.109e-05/0.2166, allocations: 90.11 kB / 0.666 GB, free: 2.129 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001765/0.2184, allocations: 1.169 MB / 0.6671 GB, free: 0.9492 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001539/0.2186, allocations: 45.7 kB / 0.6672 GB, free: 0.8984 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004487/0.219, allocations: 0.5138 MB / 0.6677 GB, free: 388 kB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000467/0.2195, allocations: 424.5 kB / 0.6681 GB, free: 15.96 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005864/0.2201, allocations: 295.5 kB / 0.6684 GB, free: 15.66 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001157/0.2202, allocations: 305.1 kB / 0.6687 GB, free: 15.36 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002032/0.2223, allocations: 0.8784 MB / 0.6695 GB, free: 14.48 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002198/0.2245, allocations: 1.073 MB / 0.6706 GB, free: 13.37 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004189/0.2287, allocations: 1.921 MB / 0.6724 GB, free: 11.4 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.35e-06/0.2287, allocations: 0 / 0.6724 GB, free: 11.4 MB / 494.1 MB Notification: Performance of matching and sorting (n=205) (initialization): time 0.01737/0.2461, allocations: 5.153 MB / 0.6775 GB, free: 6.234 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.587e-05/0.2461, allocations: 8 kB / 0.6775 GB, free: 6.227 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.121e-05/0.2462, allocations: 0 / 0.6775 GB, free: 6.227 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009908/0.2561, allocations: 2.64 MB / 0.6801 GB, free: 3.586 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001251/0.2573, allocations: 251.6 kB / 0.6803 GB, free: 3.34 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006714/0.2641, allocations: 2.703 MB / 0.6829 GB, free: 0.6055 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001912/0.266, allocations: 207 kB / 0.6831 GB, free: 412 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001747/0.2662, allocations: 55.98 kB / 0.6832 GB, free: 356 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.0005213/0.2667, allocations: 257.6 kB / 0.6834 GB, free: 88 kB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003425/0.2671, allocations: 143.2 kB / 0.6836 GB, free: 15.94 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01617/0.2832, allocations: 4.606 MB / 0.6881 GB, free: 11.32 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.599e-05/0.2833, allocations: 16 kB / 0.6881 GB, free: 11.3 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.132e-06/0.2833, allocations: 3.938 kB / 0.6881 GB, free: 11.3 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.669e-05/0.2833, allocations: 7.969 kB / 0.6881 GB, free: 11.29 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.01842/0.3017, allocations: 6.428 MB / 0.6944 GB, free: 4.727 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.842e-06/0.3018, allocations: 0 / 0.6944 GB, free: 4.727 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006283/0.3024, allocations: 111.8 kB / 0.6945 GB, free: 4.617 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007983/0.3104, allocations: 2.138 MB / 0.6966 GB, free: 2.477 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001435/0.3106, allocations: 27.98 kB / 0.6966 GB, free: 2.449 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02733/0.3379, allocations: 10.07 MB / 0.7064 GB, free: 8.242 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.053e-06/0.3379, allocations: 0 / 0.7064 GB, free: 8.242 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01858/0.3565, allocations: 5.755 MB / 0.712 GB, free: 2.461 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004217/0.357, allocations: 247.9 kB / 0.7123 GB, free: 2.199 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002175/0.3572, allocations: 20 kB / 0.7123 GB, free: 2.18 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00136/0.3586, allocations: 111.9 kB / 0.7124 GB, free: 2.07 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000705/0.3593, allocations: 237.1 kB / 0.7126 GB, free: 1.84 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.598e-05/0.3594, allocations: 31.98 kB / 0.7127 GB, free: 1.809 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001128/0.3605, allocations: 0.7804 MB / 0.7134 GB, free: 1.023 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.6e-07/0.3605, allocations: 0 / 0.7134 GB, free: 1.023 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001234/0.3618, allocations: 0.4917 MB / 0.7139 GB, free: 0.5312 MB / 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.2171/0.5789, allocations: 6.336 MB / 0.7201 GB, free: 84.51 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.008041/0.587, allocations: 2.636 MB / 0.7227 GB, free: 84.01 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.856e-06/0.587, allocations: 1.547 kB / 0.7227 GB, free: 84.01 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.005625/0.5926, allocations: 1.838 MB / 0.7245 GB, free: 83.41 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009191/0.5935, allocations: 115.4 kB / 0.7246 GB, free: 83.32 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03355/0.6271, allocations: 17.16 MB / 0.7413 GB, free: 76.64 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003712/0.6275, allocations: 1.132 MB / 0.7424 GB, free: 75.91 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0003149/0.6278, allocations: 118.2 kB / 0.7426 GB, free: 75.89 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004813/0.6283, allocations: 0.4959 MB / 0.743 GB, free: 75.5 MB / 0.5137 GB Notification: Performance of SimCode: time 6.21e-07/0.6283, allocations: 0 / 0.743 GB, free: 75.5 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05643/0.6848, allocations: 38.69 MB / 0.7808 GB, free: 38.05 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.3/13.98, allocations: 9.953 kB / 0.7808 GB, free: 38.05 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)