Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.KundurSMIB.SMIB.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001485/0.001485, allocations: 106.1 kB / 16.45 MB, free: 6.453 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.556/1.556, allocations: 230.6 MB / 249.8 MB, free: 9.211 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001597/0.001597, allocations: 219.2 kB / 306 MB, free: 4.289 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4749/0.4749, allocations: 79.71 MB / 441.8 MB, free: 15.95 MB / 318.1 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Examples.KundurSMIB.SMIB,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_KundurSMIB_SMIB",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.KundurSMIB.SMIB,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_KundurSMIB_SMIB",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: OpenIPSL requested package Complex of version 4.0.0. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenIPSL requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002325/0.002325, allocations: 79.88 kB / 0.5878 GB, free: 1.422 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1468/0.1491, allocations: 73.26 MB / 0.6593 GB, free: 8.066 MB / 462.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.KundurSMIB.SMIB): time 0.006164/0.1553, allocations: 4.929 MB / 0.6642 GB, free: 3.109 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.003449/0.1587, allocations: 1.654 MB / 0.6658 GB, free: 1.449 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003852/0.1591, allocations: 8 kB / 0.6658 GB, free: 1.441 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000444/0.1595, allocations: 162.6 kB / 0.6659 GB, free: 1.281 MB / 462.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/Electrical/Branches/PSAT/TwoWindingTransformer.mo:44:3-44:83:writable] Warning: In relation transformer.m <> 1.0, <> on Real numbers is only allowed inside functions. Notification: Performance of NFTyping.typeBindings: time 0.0016/0.1611, allocations: 0.6877 MB / 0.6666 GB, free: 0.5898 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008433/0.162, allocations: 419.8 kB / 0.667 GB, free: 188 kB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001526/0.1635, allocations: 1.082 MB / 0.6681 GB, free: 15.1 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003014/0.1638, allocations: 154 kB / 0.6682 GB, free: 14.94 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005947/0.1644, allocations: 466.2 kB / 0.6687 GB, free: 14.48 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006834/0.1651, allocations: 0.5602 MB / 0.6692 GB, free: 13.92 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001506/0.1652, allocations: 100 kB / 0.6693 GB, free: 13.82 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004994/0.1657, allocations: 251.9 kB / 0.6695 GB, free: 13.57 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000215/0.166, allocations: 231 kB / 0.6698 GB, free: 13.35 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004404/0.1664, allocations: 477.4 kB / 0.6702 GB, free: 12.88 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001492/0.1679, allocations: 1.272 MB / 0.6715 GB, free: 11.6 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.069e-06/0.1679, allocations: 0 / 0.6715 GB, free: 11.6 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.1679, allocations: 0 / 0.6715 GB, free: 11.6 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.956e-05/0.1679, allocations: 0 / 0.6715 GB, free: 11.6 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 121 * Number of variables: 121 Notification: Performance of Generate backend data structure: time 0.005791/0.1737, allocations: 1.799 MB / 0.6732 GB, free: 9.746 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.54e-05/0.1738, allocations: 8.031 kB / 0.6732 GB, free: 9.738 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001277/0.1739, allocations: 94.64 kB / 0.6733 GB, free: 9.637 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003476/0.1774, allocations: 0.5229 MB / 0.6738 GB, free: 9.113 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001049/0.1784, allocations: 0.6554 MB / 0.6745 GB, free: 8.414 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002006/0.1786, allocations: 150.1 kB / 0.6746 GB, free: 8.25 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001179/0.1787, allocations: 48 kB / 0.6747 GB, free: 8.203 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001422/0.1801, allocations: 0.6545 MB / 0.6753 GB, free: 7.543 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.453e-05/0.1802, allocations: 4 kB / 0.6753 GB, free: 7.539 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.612e-05/0.1802, allocations: 16 kB / 0.6753 GB, free: 7.523 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.456e-05/0.1802, allocations: 15.94 kB / 0.6753 GB, free: 7.508 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001342/0.1816, allocations: 0.6247 MB / 0.6759 GB, free: 6.879 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.004904/0.1865, allocations: 2.624 MB / 0.6785 GB, free: 4.137 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01293/0.1994, allocations: 2.77 MB / 0.6812 GB, free: 1.32 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001054/0.2005, allocations: 406.3 kB / 0.6816 GB, free: 0.918 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.457e-05/0.2006, allocations: 8.562 kB / 0.6816 GB, free: 0.9102 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.924e-05/0.2006, allocations: 39.12 kB / 0.6816 GB, free: 0.8633 MB / 478.1 MB Notification: Performance of pre-optimization done (n=57): time 2.334e-06/0.2006, allocations: 0 / 0.6816 GB, free: 0.8633 MB / 478.1 MB Notification: Performance of matching and sorting (n=57): time 0.01376/0.2144, allocations: 3.52 MB / 0.6851 GB, free: 13.27 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.301e-05/0.2144, allocations: 59.97 kB / 0.6851 GB, free: 13.2 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00123/0.2157, allocations: 0.7661 MB / 0.6859 GB, free: 12.42 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001104/0.2158, allocations: 37.7 kB / 0.6859 GB, free: 12.38 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000311/0.2161, allocations: 357.1 kB / 0.6863 GB, free: 12.03 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002603/0.2163, allocations: 222.2 kB / 0.6865 GB, free: 11.81 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003415/0.2167, allocations: 170.5 kB / 0.6866 GB, free: 11.64 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0002235/0.2169, allocations: 402.7 kB / 0.687 GB, free: 11.23 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001069/0.218, allocations: 0.49 MB / 0.6875 GB, free: 10.75 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001176/0.2191, allocations: 0.6031 MB / 0.6881 GB, free: 10.12 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01721/0.2364, allocations: 3.658 MB / 0.6917 GB, free: 6.434 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.131e-05/0.2364, allocations: 11.88 kB / 0.6917 GB, free: 6.422 MB / 494.1 MB Notification: Performance of matching and sorting (n=114) (initialization): time 0.007881/0.2442, allocations: 2.384 MB / 0.694 GB, free: 4.023 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.974e-05/0.2443, allocations: 7.984 kB / 0.694 GB, free: 4.016 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.509e-05/0.2443, allocations: 4 kB / 0.694 GB, free: 4.012 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004511/0.2488, allocations: 1.046 MB / 0.695 GB, free: 2.957 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008927/0.2497, allocations: 151.8 kB / 0.6952 GB, free: 2.809 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3352/0.5849, allocations: 5.07 MB / 0.7001 GB, free: 34.77 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001422/0.5863, allocations: 110.6 kB / 0.7002 GB, free: 34.77 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001078/0.5864, allocations: 31.31 kB / 0.7003 GB, free: 34.77 MB / 494.1 MB Warning: Assuming fixed start value for the following 2 variables: G1.machine.w:VARIABLE(flow=false start = 1.0 fixed = true ) \"Rotor speed [pu]\" type: Real G1.machine.delta:VARIABLE(flow=false start = G1.machine.delta0 unit = \"rad\" fixed = true ) \"Rotor angle\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (93): * Single equations (assignments): 90 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(7,13,59.2%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00055/0.587, allocations: 209.5 kB / 0.7005 GB, free: 34.66 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001877/0.5872, allocations: 93.38 kB / 0.7005 GB, free: 34.66 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006787/0.594, allocations: 1.924 MB / 0.7024 GB, free: 34.57 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.634e-05/0.594, allocations: 6.438 kB / 0.7024 GB, free: 34.57 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.385e-05/0.594, allocations: 3.594 kB / 0.7024 GB, free: 34.57 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.11e-05/0.594, allocations: 7.672 kB / 0.7024 GB, free: 34.57 MB / 494.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 postOpt removeSimpleEquations (simulation): time 0.008211/0.6022, allocations: 3.028 MB / 0.7054 GB, free: 34.09 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.496e-06/0.6022, allocations: 0.75 kB / 0.7054 GB, free: 34.09 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000507/0.6027, allocations: 66.02 kB / 0.7055 GB, free: 34.09 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003652/0.6064, allocations: 0.9334 MB / 0.7064 GB, free: 34.07 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.863e-05/0.6065, allocations: 15.62 kB / 0.7064 GB, free: 34.07 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008464/0.615, allocations: 4.112 MB / 0.7104 GB, free: 31.86 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.409e-06/0.615, allocations: 1.828 kB / 0.7104 GB, free: 31.86 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007656/0.6226, allocations: 2.507 MB / 0.7129 GB, free: 30.98 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000354/0.623, allocations: 178.5 kB / 0.713 GB, free: 30.82 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001252/0.6231, allocations: 12.45 kB / 0.713 GB, free: 30.81 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007434/0.6238, allocations: 53.92 kB / 0.7131 GB, free: 30.8 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004045/0.6242, allocations: 116.6 kB / 0.7132 GB, free: 30.78 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.538e-05/0.6243, allocations: 18.12 kB / 0.7132 GB, free: 30.77 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0007359/0.625, allocations: 0.5206 MB / 0.7137 GB, free: 30.53 MB / 494.1 MB Notification: Performance of sort global known variables: time 8e-08/0.625, allocations: 1.344 kB / 0.7137 GB, free: 30.53 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001054/0.6261, allocations: 298.2 kB / 0.714 GB, free: 30.5 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (G1.machine.delta,G1.machine.w,G1.machine.e1q,G1.machine.e1d,G1.machine.e2q,G1.machine.e2d) * 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 (40): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(9,9,48.1%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.007496/0.6336, allocations: 3.08 MB / 0.717 GB, free: 29.07 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.004564/0.6381, allocations: 1.652 MB / 0.7186 GB, free: 28.31 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.599e-06/0.6382, allocations: 0 / 0.7186 GB, free: 28.31 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00279/0.6409, allocations: 1.037 MB / 0.7196 GB, free: 27.78 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007463/0.6417, allocations: 62.19 kB / 0.7197 GB, free: 27.73 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02161/0.6633, allocations: 9.917 MB / 0.7294 GB, free: 22.92 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003277/0.6636, allocations: 0.9433 MB / 0.7303 GB, free: 22.11 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0003395/0.664, allocations: 64.45 kB / 0.7304 GB, free: 22.08 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003506/0.6643, allocations: 290.8 kB / 0.7306 GB, free: 21.83 MB / 494.1 MB Notification: Performance of SimCode: time 1.613e-06/0.6643, allocations: 0 / 0.7306 GB, free: 21.83 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05519/0.7195, allocations: 21.78 MB / 0.7519 GB, free: 2.859 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.29/13.01, allocations: 2.234 kB / 0.7519 GB, free: 2.859 MB / 494.1 MB " [Timeout remaining time 647] (rm -f OpenIPSL_OpenIPSL.Examples.KundurSMIB.SMIB.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.KundurSMIB.SMIB.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.KundurSMIB.SMIB.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.KundurSMIB.SMIB.sim & python3 -m fmpy simulate --output-file OpenIPSL_OpenIPSL.Examples.KundurSMIB.SMIB_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0001 OpenIPSL_OpenIPSL_Examples_KundurSMIB_SMIB.fmu > OpenIPSL_OpenIPSL.Examples.KundurSMIB.SMIB.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 19.023540446010884] Failed to read output from testmodel.py, exit status != 0: 13.10752693899849 13.13129675 12.958719992 Calling exit ...