Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Machines.PSSE.GENROU.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.GENROU,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Machines_PSSE_GENROU",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSSE.GENROU,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Machines_PSSE_GENROU",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.007644/0.007644, allocations: 96.7 kB / 15.73 MB, free: 6.047 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.308/1.308, allocations: 222.9 MB / 239.4 MB, free: 4.547 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.001565/0.001565, allocations: 196.4 kB / 289.7 MB, free: 2.258 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4862/0.4862, allocations: 91.9 MB / 431.8 MB, free: 9.172 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001412/0.001412, allocations: 78.31 kB / 0.5722 GB, free: 33.63 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.121/0.1224, allocations: 71.29 MB / 0.6419 GB, free: 4.078 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSSE.GENROU): time 0.006796/0.1293, allocations: 7.262 MB / 0.649 GB, free: 12.78 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.004551/0.1339, allocations: 2.306 MB / 0.6512 GB, free: 10.46 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008479/0.1347, allocations: 16 kB / 0.6512 GB, free: 10.45 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006211/0.1354, allocations: 273.7 kB / 0.6515 GB, free: 10.18 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002344/0.1377, allocations: 1.107 MB / 0.6526 GB, free: 9.07 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001152/0.1389, allocations: 0.5802 MB / 0.6531 GB, free: 8.496 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001995/0.1409, allocations: 1.827 MB / 0.6549 GB, free: 6.664 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004544/0.1414, allocations: 324.4 kB / 0.6552 GB, free: 6.328 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008327/0.1422, allocations: 0.7431 MB / 0.6559 GB, free: 5.582 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000969/0.1432, allocations: 0.9764 MB / 0.6569 GB, free: 4.602 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001924/0.1434, allocations: 148 kB / 0.657 GB, free: 4.457 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006265/0.144, allocations: 379.7 kB / 0.6574 GB, free: 4.086 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002795/0.1443, allocations: 382.5 kB / 0.6578 GB, free: 3.711 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005822/0.1449, allocations: 0.7652 MB / 0.6585 GB, free: 2.941 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001879/0.1468, allocations: 1.93 MB / 0.6604 GB, free: 1.004 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.1468, allocations: 0 / 0.6604 GB, free: 1.004 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.1468, allocations: 0 / 0.6604 GB, free: 1.004 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.962e-05/0.1469, allocations: 0 / 0.6604 GB, free: 1.004 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.01181/0.1587, allocations: 3.28 MB / 0.6636 GB, free: 13.67 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.506e-05/0.1587, allocations: 12.03 kB / 0.6636 GB, free: 13.66 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002065/0.159, allocations: 131 kB / 0.6637 GB, free: 13.52 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00474/0.1637, allocations: 0.7288 MB / 0.6645 GB, free: 12.79 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001923/0.1657, allocations: 0.9705 MB / 0.6654 GB, free: 11.77 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004524/0.1661, allocations: 357.3 kB / 0.6657 GB, free: 11.36 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002347/0.1664, allocations: 99.94 kB / 0.6658 GB, free: 11.26 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002595/0.169, allocations: 1.239 MB / 0.667 GB, free: 10.01 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.201e-05/0.169, allocations: 0 / 0.667 GB, free: 10.01 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001105/0.1691, allocations: 36 kB / 0.6671 GB, free: 9.977 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.089e-05/0.1692, allocations: 20 kB / 0.6671 GB, free: 9.957 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00258/0.1717, allocations: 1.187 MB / 0.6683 GB, free: 8.766 MB / 478.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.007414/0.1792, allocations: 4.159 MB / 0.6723 GB, free: 4.414 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007697/0.1869, allocations: 2.699 MB / 0.675 GB, free: 1.582 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001764/0.1887, allocations: 0.8407 MB / 0.6758 GB, free: 0.7383 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001056/0.1888, allocations: 16.98 kB / 0.6758 GB, free: 0.7227 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.909e-05/0.1888, allocations: 47.56 kB / 0.6758 GB, free: 0.6641 MB / 478.1 MB Notification: Performance of pre-optimization done (n=111): time 2.655e-06/0.1889, allocations: 4 kB / 0.6758 GB, free: 0.6602 MB / 478.1 MB Notification: Performance of matching and sorting (n=111): time 0.04186/0.2307, allocations: 9.832 MB / 0.6854 GB, free: 6.789 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.932e-05/0.2309, allocations: 90.11 kB / 0.6855 GB, free: 6.684 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002249/0.2331, allocations: 1.169 MB / 0.6867 GB, free: 5.504 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003538/0.2335, allocations: 53.7 kB / 0.6867 GB, free: 5.445 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005352/0.234, allocations: 0.5099 MB / 0.6872 GB, free: 4.93 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006556/0.2347, allocations: 428.3 kB / 0.6876 GB, free: 4.508 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007789/0.2355, allocations: 291.5 kB / 0.6879 GB, free: 4.219 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001052/0.2356, allocations: 309.1 kB / 0.6882 GB, free: 3.914 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002067/0.2377, allocations: 0.8824 MB / 0.6891 GB, free: 3.031 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002189/0.2399, allocations: 1.073 MB / 0.6901 GB, free: 1.91 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004085/0.244, allocations: 1.917 MB / 0.692 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.953e-06/0.244, allocations: 0 / 0.692 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of matching and sorting (n=205) (initialization): time 0.01678/0.2608, allocations: 5.15 MB / 0.697 GB, free: 10.79 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.41e-05/0.2609, allocations: 8 kB / 0.697 GB, free: 10.78 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.237e-05/0.2609, allocations: 4 kB / 0.697 GB, free: 10.77 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009414/0.2703, allocations: 2.64 MB / 0.6996 GB, free: 8.129 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001262/0.2716, allocations: 251.6 kB / 0.6998 GB, free: 7.883 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006585/0.2782, allocations: 2.699 MB / 0.7025 GB, free: 5.152 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002159/0.2804, allocations: 207 kB / 0.7027 GB, free: 4.949 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002499/0.2807, allocations: 55.98 kB / 0.7027 GB, free: 4.895 MB / 0.4981 GB 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.0006622/0.2813, allocations: 262.6 kB / 0.703 GB, free: 4.629 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004277/0.2818, allocations: 150.9 kB / 0.7031 GB, free: 4.484 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01576/0.2975, allocations: 4.594 MB / 0.7076 GB, free: 15.86 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.888e-05/0.2976, allocations: 12 kB / 0.7076 GB, free: 15.85 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.055e-05/0.2976, allocations: 4 kB / 0.7076 GB, free: 15.85 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.934e-05/0.2977, allocations: 3.984 kB / 0.7076 GB, free: 15.84 MB / 0.5137 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.01925/0.3169, allocations: 6.424 MB / 0.7139 GB, free: 9.289 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.659e-05/0.317, allocations: 4 kB / 0.7139 GB, free: 9.285 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007438/0.3177, allocations: 111.9 kB / 0.714 GB, free: 9.176 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007973/0.3257, allocations: 2.138 MB / 0.7161 GB, free: 7.035 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002484/0.326, allocations: 23.98 kB / 0.7161 GB, free: 7.012 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02999/0.356, allocations: 10.07 MB / 0.726 GB, free: 12.79 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.722e-06/0.3561, allocations: 3.938 kB / 0.726 GB, free: 12.79 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01903/0.3751, allocations: 5.755 MB / 0.7316 GB, free: 7.004 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005863/0.3758, allocations: 247.8 kB / 0.7318 GB, free: 6.742 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004881/0.3763, allocations: 20 kB / 0.7318 GB, free: 6.723 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001616/0.3779, allocations: 107.9 kB / 0.7319 GB, free: 6.617 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008015/0.3787, allocations: 249.1 kB / 0.7322 GB, free: 6.375 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001245/0.3789, allocations: 28 kB / 0.7322 GB, free: 6.348 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001221/0.3801, allocations: 0.7804 MB / 0.733 GB, free: 5.562 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.5e-07/0.3801, allocations: 0 / 0.733 GB, free: 5.562 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001528/0.3816, allocations: 491.6 kB / 0.7334 GB, free: 5.082 MB / 0.5294 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.01834/0.4, allocations: 6.339 MB / 0.7396 GB, free: 14.7 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.008466/0.4085, allocations: 2.649 MB / 0.7422 GB, free: 12.05 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/0.4085, allocations: 0 / 0.7422 GB, free: 12.05 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.006007/0.4145, allocations: 1.839 MB / 0.744 GB, free: 10.2 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001238/0.4158, allocations: 114.8 kB / 0.7441 GB, free: 10.09 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03996/0.4558, allocations: 17.16 MB / 0.7609 GB, free: 8.699 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006581/0.4565, allocations: 1.139 MB / 0.762 GB, free: 7.531 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0004785/0.457, allocations: 112.5 kB / 0.7621 GB, free: 7.418 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006981/0.4577, allocations: 0.4993 MB / 0.7626 GB, free: 6.918 MB / 0.5606 GB Notification: Performance of SimCode: time 7.92e-07/0.4577, allocations: 0 / 0.7626 GB, free: 6.918 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.326/0.7837, allocations: 38.68 MB / 0.8004 GB, free: 103 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.59/14.38, allocations: 8.047 kB / 0.8004 GB, free: 103 MB / 0.5606 GB (rm -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSSE.GENROU.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Machines.PSSE.GENROU.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Machines.PSSE.GENROU.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Machines.PSSE.GENROU.sim & python3 -m fmpy simulate --output-file OpenIPSL_dev_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_dev_OpenIPSL_Tests_Machines_PSSE_GENROU.fmu > OpenIPSL_dev_OpenIPSL.Tests.Machines.PSSE.GENROU.pipe 2>&1)