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.001326/0.001326, allocations: 109.4 kB / 18.94 MB, free: 2.949 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.518/1.518, allocations: 230.6 MB / 252.7 MB, free: 8.297 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.001754/0.001754, allocations: 206.1 kB / 309.2 MB, free: 3.219 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.4917/0.4917, allocations: 79.74 MB / 445.4 MB, free: 14.89 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.00268/0.00268, allocations: 91.86 kB / 0.5929 GB, free: 14.04 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.181/0.1836, allocations: 73.29 MB / 0.6645 GB, free: 4.645 MB / 462.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.KundurSMIB.SMIB): time 0.006751/0.1904, allocations: 4.943 MB / 0.6693 GB, free: 15.68 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.00429/0.1947, allocations: 1.665 MB / 0.671 GB, free: 14.01 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006963/0.1954, allocations: 4 kB / 0.671 GB, free: 14 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000517/0.1959, allocations: 154.7 kB / 0.6711 GB, free: 13.85 MB / 478.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.001975/0.1979, allocations: 0.7085 MB / 0.6718 GB, free: 13.14 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009402/0.1988, allocations: 418.1 kB / 0.6722 GB, free: 12.74 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.001539/0.2003, allocations: 1.078 MB / 0.6733 GB, free: 11.66 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00046/0.2008, allocations: 158.7 kB / 0.6734 GB, free: 11.49 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006267/0.2014, allocations: 466.2 kB / 0.6738 GB, free: 11.03 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007181/0.2021, allocations: 0.5641 MB / 0.6744 GB, free: 10.46 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003002/0.2024, allocations: 96 kB / 0.6745 GB, free: 10.37 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005243/0.203, allocations: 247.9 kB / 0.6747 GB, free: 10.13 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002525/0.2032, allocations: 227.1 kB / 0.6749 GB, free: 9.906 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006378/0.2039, allocations: 481.4 kB / 0.6754 GB, free: 9.434 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001779/0.2056, allocations: 1.272 MB / 0.6766 GB, free: 8.156 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.312e-06/0.2056, allocations: 4 kB / 0.6766 GB, free: 8.152 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.2056, allocations: 0 / 0.6766 GB, free: 8.152 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.351e-05/0.2057, allocations: 0 / 0.6766 GB, free: 8.152 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.005892/0.2116, allocations: 1.727 MB / 0.6783 GB, free: 6.391 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.589e-05/0.2116, allocations: 15.98 kB / 0.6783 GB, free: 6.375 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001238/0.2117, allocations: 90.7 kB / 0.6784 GB, free: 6.277 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003497/0.2152, allocations: 0.519 MB / 0.6789 GB, free: 5.758 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00114/0.2164, allocations: 0.5859 MB / 0.6795 GB, free: 5.141 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002232/0.2166, allocations: 189.5 kB / 0.6797 GB, free: 4.926 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001054/0.2167, allocations: 56 kB / 0.6797 GB, free: 4.871 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001515/0.2182, allocations: 0.6544 MB / 0.6804 GB, free: 4.211 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.518e-05/0.2182, allocations: 0 / 0.6804 GB, free: 4.211 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.505e-05/0.2183, allocations: 24 kB / 0.6804 GB, free: 4.188 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.515e-05/0.2183, allocations: 19.94 kB / 0.6804 GB, free: 4.168 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001281/0.2196, allocations: 0.6247 MB / 0.681 GB, free: 3.543 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.004977/0.2246, allocations: 2.589 MB / 0.6836 GB, free: 0.8477 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01211/0.2367, allocations: 2.611 MB / 0.6861 GB, free: 14.23 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009543/0.2376, allocations: 398.2 kB / 0.6865 GB, free: 13.84 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.783e-05/0.2377, allocations: 16.44 kB / 0.6865 GB, free: 13.82 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.661e-05/0.2377, allocations: 43.05 kB / 0.6866 GB, free: 13.77 MB / 494.1 MB Notification: Performance of pre-optimization done (n=57): time 2.474e-06/0.2377, allocations: 0 / 0.6866 GB, free: 13.77 MB / 494.1 MB Notification: Performance of matching and sorting (n=57): time 0.01294/0.2507, allocations: 3.292 MB / 0.6898 GB, free: 10.46 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.759e-05/0.2507, allocations: 55.91 kB / 0.6898 GB, free: 10.39 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001258/0.252, allocations: 0.7738 MB / 0.6906 GB, free: 9.602 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 8.166e-05/0.2521, allocations: 37.7 kB / 0.6906 GB, free: 9.559 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002898/0.2524, allocations: 361.1 kB / 0.691 GB, free: 9.203 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003476/0.2527, allocations: 214.2 kB / 0.6912 GB, free: 8.992 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003322/0.253, allocations: 174.5 kB / 0.6913 GB, free: 8.816 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0002135/0.2532, allocations: 398.7 kB / 0.6917 GB, free: 8.418 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001066/0.2543, allocations: 0.49 MB / 0.6922 GB, free: 7.926 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001202/0.2555, allocations: 0.5992 MB / 0.6928 GB, free: 7.301 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01688/0.2724, allocations: 3.67 MB / 0.6964 GB, free: 3.602 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.682e-06/0.2724, allocations: 4 kB / 0.6964 GB, free: 3.598 MB / 494.1 MB Notification: Performance of matching and sorting (n=114) (initialization): time 0.008307/0.2807, allocations: 2.384 MB / 0.6987 GB, free: 1.195 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.29e-05/0.2807, allocations: 4 kB / 0.6987 GB, free: 1.191 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.278e-05/0.2807, allocations: 4 kB / 0.6987 GB, free: 1.188 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004604/0.2853, allocations: 1.047 MB / 0.6997 GB, free: 136 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.353/0.6384, allocations: 143.2 kB / 0.6999 GB, free: 34.96 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01163/0.65, allocations: 4.977 MB / 0.7047 GB, free: 33.72 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001398/0.6514, allocations: 112.4 kB / 0.7048 GB, free: 33.72 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.628e-05/0.6515, allocations: 33.88 kB / 0.7049 GB, free: 33.72 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.0006288/0.6521, allocations: 211.2 kB / 0.7051 GB, free: 33.61 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000142/0.6523, allocations: 87.36 kB / 0.7051 GB, free: 33.59 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006519/0.6588, allocations: 1.927 MB / 0.707 GB, free: 33.5 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.168e-05/0.6588, allocations: 5.625 kB / 0.707 GB, free: 33.5 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.277e-05/0.6588, allocations: 5.375 kB / 0.707 GB, free: 33.5 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.369e-05/0.6588, allocations: 7.547 kB / 0.707 GB, free: 33.5 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.008665/0.6675, allocations: 2.991 MB / 0.71 GB, free: 32.62 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.508e-06/0.6675, allocations: 0 / 0.71 GB, free: 32.62 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004609/0.668, allocations: 66.12 kB / 0.71 GB, free: 32.62 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003812/0.6718, allocations: 0.9361 MB / 0.7109 GB, free: 32.46 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.74e-05/0.6718, allocations: 15.14 kB / 0.711 GB, free: 32.45 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009001/0.6809, allocations: 4.011 MB / 0.7149 GB, free: 30.17 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.6809, allocations: 0.8125 kB / 0.7149 GB, free: 30.17 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00766/0.6885, allocations: 2.507 MB / 0.7173 GB, free: 29.29 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003472/0.6889, allocations: 103.1 kB / 0.7174 GB, free: 29.23 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001217/0.689, allocations: 11.91 kB / 0.7174 GB, free: 29.22 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008119/0.6898, allocations: 59.27 kB / 0.7175 GB, free: 29.21 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004115/0.6902, allocations: 120.7 kB / 0.7176 GB, free: 29.18 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.275e-05/0.6903, allocations: 14.58 kB / 0.7176 GB, free: 29.18 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0007447/0.691, allocations: 0.5215 MB / 0.7181 GB, free: 28.94 MB / 494.1 MB Notification: Performance of sort global known variables: time 8e-08/0.691, allocations: 0 / 0.7181 GB, free: 28.94 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001207/0.6922, allocations: 300.1 kB / 0.7184 GB, free: 28.91 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.007696/0.6999, allocations: 3.079 MB / 0.7214 GB, free: 27.47 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.004282/0.7042, allocations: 1.497 MB / 0.7229 GB, free: 26.91 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.526e-06/0.7042, allocations: 0 / 0.7229 GB, free: 26.91 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002688/0.7069, allocations: 0.8949 MB / 0.7238 GB, free: 26.55 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006413/0.7075, allocations: 56.75 kB / 0.7238 GB, free: 26.51 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02163/0.7292, allocations: 9.91 MB / 0.7335 GB, free: 21.39 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004117/0.7296, allocations: 0.939 MB / 0.7344 GB, free: 20.59 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0004735/0.73, allocations: 66.27 kB / 0.7345 GB, free: 20.56 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003865/0.7304, allocations: 291.1 kB / 0.7347 GB, free: 20.31 MB / 494.1 MB Notification: Performance of SimCode: time 1.593e-06/0.7304, allocations: 0 / 0.7347 GB, free: 20.31 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06078/0.7912, allocations: 22.34 MB / 0.7566 GB, free: 496 kB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.09/14.88, allocations: 4.062 kB / 0.7566 GB, free: 492 kB / 494.1 MB " [Timeout remaining time 645] (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: 21.085254739999073] Failed to read output from testmodel.py, exit status != 0: 15.000834311998915 15.015602435 14.806919705 Calling exit ...