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.008142/0.008142, allocations: 97.05 kB / 15.73 MB, free: 5.547 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.48/1.48, allocations: 222.9 MB / 239.4 MB, free: 4.562 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.001536/0.001536, allocations: 196.4 kB / 289.7 MB, free: 2.273 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5219/0.5219, allocations: 91.9 MB / 431.8 MB, free: 9.176 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002197/0.002197, allocations: 83.2 kB / 0.5722 GB, free: 33.7 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1139/0.1161, allocations: 71.29 MB / 0.6419 GB, free: 4.113 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSSE.GENROU): time 0.008055/0.1242, allocations: 7.262 MB / 0.649 GB, free: 12.82 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.004752/0.129, allocations: 2.31 MB / 0.6512 GB, free: 10.5 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008037/0.1299, allocations: 8 kB / 0.6512 GB, free: 10.49 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006883/0.1306, allocations: 277.7 kB / 0.6515 GB, free: 10.21 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002637/0.1332, allocations: 1.057 MB / 0.6525 GB, free: 9.152 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001286/0.1345, allocations: 0.5647 MB / 0.6531 GB, free: 8.594 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.002488/0.137, allocations: 1.829 MB / 0.6549 GB, free: 6.762 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005548/0.1376, allocations: 336.3 kB / 0.6552 GB, free: 6.414 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001041/0.1387, allocations: 0.7432 MB / 0.6559 GB, free: 5.668 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001172/0.1398, allocations: 0.9764 MB / 0.6569 GB, free: 4.688 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002249/0.1401, allocations: 148 kB / 0.657 GB, free: 4.543 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007173/0.1408, allocations: 375.7 kB / 0.6574 GB, free: 4.176 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000348/0.1412, allocations: 382.5 kB / 0.6577 GB, free: 3.801 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007204/0.1419, allocations: 0.7652 MB / 0.6585 GB, free: 3.031 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002373/0.1443, allocations: 1.93 MB / 0.6604 GB, free: 1.094 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.03e-06/0.1443, allocations: 3.938 kB / 0.6604 GB, free: 1.09 MB / 462.1 MB Notification: Performance of FrontEnd: time 5.952e-06/0.1443, allocations: 0 / 0.6604 GB, free: 1.09 MB / 462.1 MB Notification: Performance of Transformations before backend: time 2.337e-05/0.1443, allocations: 7.938 kB / 0.6604 GB, free: 1.082 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.01136/0.1557, allocations: 3.269 MB / 0.6636 GB, free: 13.76 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.329e-05/0.1558, allocations: 8.031 kB / 0.6636 GB, free: 13.75 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001803/0.1559, allocations: 142.9 kB / 0.6637 GB, free: 13.6 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00459/0.1605, allocations: 0.7366 MB / 0.6644 GB, free: 12.86 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00157/0.1621, allocations: 0.9667 MB / 0.6654 GB, free: 11.84 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003908/0.1625, allocations: 353.3 kB / 0.6657 GB, free: 11.44 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002004/0.1627, allocations: 91.94 kB / 0.6658 GB, free: 11.35 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002509/0.1653, allocations: 1.239 MB / 0.667 GB, free: 10.1 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.764e-05/0.1653, allocations: 0 / 0.667 GB, free: 10.1 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001041/0.1654, allocations: 28 kB / 0.667 GB, free: 10.07 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.861e-05/0.1654, allocations: 20 kB / 0.667 GB, free: 10.05 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002546/0.168, allocations: 1.187 MB / 0.6682 GB, free: 8.863 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.007418/0.1754, allocations: 4.171 MB / 0.6723 GB, free: 4.5 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007845/0.1833, allocations: 2.695 MB / 0.6749 GB, free: 1.672 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001747/0.185, allocations: 0.8446 MB / 0.6757 GB, free: 0.8242 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001309/0.1852, allocations: 20.92 kB / 0.6758 GB, free: 0.8047 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.625e-05/0.1852, allocations: 43.56 kB / 0.6758 GB, free: 0.75 MB / 478.1 MB Notification: Performance of pre-optimization done (n=111): time 3.226e-06/0.1852, allocations: 4 kB / 0.6758 GB, free: 0.7461 MB / 478.1 MB Notification: Performance of matching and sorting (n=111): time 0.0414/0.2266, allocations: 9.836 MB / 0.6854 GB, free: 6.875 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.381e-05/0.2268, allocations: 90.11 kB / 0.6855 GB, free: 6.77 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001757/0.2285, allocations: 1.165 MB / 0.6866 GB, free: 5.594 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002546/0.2288, allocations: 45.7 kB / 0.6867 GB, free: 5.543 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004382/0.2292, allocations: 0.5138 MB / 0.6872 GB, free: 5.023 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004729/0.2297, allocations: 436.3 kB / 0.6876 GB, free: 4.594 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005545/0.2303, allocations: 291.5 kB / 0.6879 GB, free: 4.305 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000119/0.2304, allocations: 301.1 kB / 0.6882 GB, free: 4.008 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001944/0.2323, allocations: 0.8784 MB / 0.689 GB, free: 3.129 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002121/0.2345, allocations: 1.073 MB / 0.6901 GB, free: 2.008 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004031/0.2385, allocations: 1.921 MB / 0.6919 GB, free: 48 kB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.055e-06/0.2386, allocations: 4 kB / 0.6919 GB, free: 44 kB / 494.1 MB Notification: Performance of matching and sorting (n=205) (initialization): time 0.01635/0.2549, allocations: 5.142 MB / 0.697 GB, free: 10.88 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.863e-05/0.255, allocations: 11.94 kB / 0.697 GB, free: 10.87 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.352e-05/0.255, allocations: 4.312 kB / 0.697 GB, free: 10.87 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009141/0.2641, allocations: 2.636 MB / 0.6995 GB, free: 8.227 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001281/0.2654, allocations: 251.6 kB / 0.6998 GB, free: 7.98 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006338/0.2718, allocations: 2.691 MB / 0.7024 GB, free: 5.258 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002008/0.2738, allocations: 211 kB / 0.7026 GB, free: 5.051 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001384/0.274, allocations: 59.92 kB / 0.7027 GB, free: 4.992 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.0005278/0.2745, allocations: 262.6 kB / 0.7029 GB, free: 4.727 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003492/0.2749, allocations: 143 kB / 0.7031 GB, free: 4.586 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01531/0.2902, allocations: 4.606 MB / 0.7076 GB, free: 15.95 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.043e-05/0.2903, allocations: 12 kB / 0.7076 GB, free: 15.94 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.496e-06/0.2903, allocations: 0 / 0.7076 GB, free: 15.94 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.349e-05/0.2903, allocations: 7.969 kB / 0.7076 GB, free: 15.93 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.01814/0.3084, allocations: 6.424 MB / 0.7139 GB, free: 9.379 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.189e-05/0.3085, allocations: 0 / 0.7139 GB, free: 9.379 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000711/0.3092, allocations: 115.8 kB / 0.714 GB, free: 9.266 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007367/0.3166, allocations: 2.146 MB / 0.7161 GB, free: 7.117 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000181/0.3168, allocations: 23.98 kB / 0.7161 GB, free: 7.094 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0256/0.3424, allocations: 10.07 MB / 0.7259 GB, free: 12.87 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.956e-06/0.3424, allocations: 0 / 0.7259 GB, free: 12.87 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01789/0.3603, allocations: 5.747 MB / 0.7315 GB, free: 7.098 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004979/0.3609, allocations: 247.9 kB / 0.7318 GB, free: 6.836 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000228/0.3611, allocations: 23.98 kB / 0.7318 GB, free: 6.812 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001369/0.3625, allocations: 107.9 kB / 0.7319 GB, free: 6.707 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007513/0.3633, allocations: 237.1 kB / 0.7321 GB, free: 6.477 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.497e-05/0.3634, allocations: 28 kB / 0.7321 GB, free: 6.449 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0011/0.3645, allocations: 0.7843 MB / 0.7329 GB, free: 5.66 MB / 0.5294 GB Notification: Performance of sort global known variables: time 3e-07/0.3645, allocations: 0 / 0.7329 GB, free: 5.66 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001373/0.3658, allocations: 495.6 kB / 0.7334 GB, free: 5.176 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.0184/0.3843, allocations: 6.347 MB / 0.7396 GB, free: 14.79 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.008406/0.3927, allocations: 2.648 MB / 0.7422 GB, free: 12.14 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 5.2e-06/0.3927, allocations: 0 / 0.7422 GB, free: 12.14 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.005998/0.3988, allocations: 1.831 MB / 0.744 GB, free: 10.3 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001159/0.3999, allocations: 117.8 kB / 0.7441 GB, free: 10.18 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04104/0.441, allocations: 17.15 MB / 0.7608 GB, free: 8.801 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008301/0.4419, allocations: 1.139 MB / 0.7619 GB, free: 7.633 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0005224/0.4424, allocations: 116.5 kB / 0.762 GB, free: 7.516 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007241/0.4431, allocations: 0.4915 MB / 0.7625 GB, free: 7.023 MB / 0.5606 GB Notification: Performance of SimCode: time 8.12e-07/0.4432, allocations: 0 / 0.7625 GB, free: 7.023 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3537/0.7969, allocations: 38.7 MB / 0.8003 GB, free: 103.7 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.07/14.87, allocations: 0 / 0.8003 GB, free: 103.7 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)